Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: unable to handle page fault for address: crypto_aead_decrypt #2194

Closed
EvgeniiMekhanik opened this issue Aug 5, 2024 · 1 comment
Closed

Comments

@EvgeniiMekhanik
Copy link
Contributor

tempesta login: [17163.018229] BUG: unable to handle page fault for address: ffff9f9ca67b1418
[17163.019445] #PF: supervisor read access in kernel mode
[17163.020314] #PF: error_code(0x0000) - not-present page
[17163.021183] PGD 3d0a01067 P4D 3d0a01067 PUD 120d87063 PMD 1242c3063 PTE 0
[17163.022267] Oops: 0000 [#1] SMP PTI
[17163.022891] CPU: 17 PID: 0 Comm: swapper/17 Tainted: G        W  OE     5.10.35+ #4
[17163.024089] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.15.0-1 04/01/2014
[17163.025373] RIP: 0010:crypto_aead_decrypt+0x1b/0x80
[17163.026184] Code: 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 0f 1f 44 00 00 55 48 89 e5 41 56 41 55 41 54 49 89 fc 53 48 8b 5f 20 44 8b 6f 34 <4c> 8b 73 10 4c 89 f7 e8 49 e4 ff ff f6 03 01 75 37 8b 43 f8 41 39
[17163.029154] RSP: 0018:ffffbc62c04c0920 EFLAGS: 00010282
[17163.030028] RAX: ffff9f9ca67b1408 RBX: ffff9f9ca67b1408 RCX: 0000000000000000
[17163.031200] RDX: 0000000000002055 RSI: 0000000000000060 RDI: ffff9f9cbd171850
[17163.032358] RBP: ffffbc62c04c0940 R08: 0000000000000001 R09: 0000000000000000
[17163.033513] R10: ffffe7c004f00402 R11: 000000000000248c R12: ffff9f9cbd171850
[17163.034754] R13: 0000000000000266 R14: ffff9f9d30ab5c48 R15: ffff9f9cbd171908
[17163.035925] FS:  0000000000000000(0000) GS:ffff9f9fefa40000(0000) knlGS:0000000000000000
[17163.037233] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17163.038163] CR2: ffff9f9ca67b1418 CR3: 0000000126170002 CR4: 0000000000770ee0
[17163.039220] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[17163.040277] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[17163.041474] PKRU: 55555554
[17163.041976] Call Trace:
[17163.042432]  <IRQ>
[17163.042867]  simd_aead_decrypt+0xa8/0xc0 [crypto_simd]
[17163.043772]  crypto_aead_decrypt+0x46/0x80
[17163.044525]  ttls_decrypt+0x26e/0x770 [tempesta_tls]
[17163.045385]  ttls_recv+0xc0/0xbf0 [tempesta_tls]
[17163.046214]  ss_skb_process+0xf5/0x140 [tempesta_fw]
[17163.047039]  ? ttls_handle_alert+0x40/0x40 [tempesta_tls]
[17163.047949]  tfw_tls_connection_recv+0xd4/0x430 [tempesta_fw]
[17163.048917]  ss_tcp_process_data+0x20a/0x4b0 [tempesta_fw]
[17163.049832]  ss_tcp_data_ready+0x57/0x140 [tempesta_fw]
[17163.050697]  tcp_data_ready+0x2b/0xd0
[17163.051315]  tcp_data_queue+0x805/0xe50
[17163.051958]  tcp_rcv_established+0x254/0x910
[17163.052762]  tcp_v4_do_rcv+0x140/0x200
[17163.053473]  tcp_v4_rcv+0xcd0/0xe20
[17163.054097]  ? tdb_htrie_lookup+0x5a/0xb0 [tempesta_db]
[17163.054943]  ip_protocol_deliver_rcu+0x44/0x230
[17163.055694]  ip_local_deliver_finish+0x48/0x60
[17163.056427]  ip_local_deliver+0x70/0x110
[17163.057175]  ? ip_rcv_finish_core.constprop.0+0x172/0x470
[17163.058234]  ip_rcv_finish+0x87/0xa0
[17163.058900]  ip_rcv+0xce/0xe0
[17163.060402]  ? ip_rcv_finish_core.constprop.0+0x470/0x470
@EvgeniiMekhanik EvgeniiMekhanik added this to the 0.8 - Beta milestone Aug 5, 2024
@kingluo kingluo changed the title Kernel bug BUG: unable to handle page fault for address: crypto_aead_decrypt Aug 7, 2024
@biathlon3 biathlon3 self-assigned this Aug 7, 2024
@EvgeniiMekhanik
Copy link
Contributor Author

The problem was in memory corruption in hpack, which corrupt memory in random place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants