Hay
Date
July 12, 2025, 11:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   28.160840] ==================================================================
[   28.160921] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   28.160921] 
[   28.161014] Out-of-bounds read at 0x000000006b59401d (105B right of kfence-#158):
[   28.161075]  test_kmalloc_aligned_oob_read+0x238/0x468
[   28.161127]  kunit_try_run_case+0x170/0x3f0
[   28.161188]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.161234]  kthread+0x328/0x630
[   28.161276]  ret_from_fork+0x10/0x20
[   28.161317] 
[   28.161342] kfence-#158: 0x00000000a9a8d6f2-0x00000000654845a3, size=73, cache=kmalloc-96
[   28.161342] 
[   28.161398] allocated by task 323 on cpu 1 at 28.160624s (0.000770s ago):
[   28.161468]  test_alloc+0x29c/0x628
[   28.161509]  test_kmalloc_aligned_oob_read+0x100/0x468
[   28.161554]  kunit_try_run_case+0x170/0x3f0
[   28.161596]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.161640]  kthread+0x328/0x630
[   28.161676]  ret_from_fork+0x10/0x20
[   28.161717] 
[   28.161762] CPU: 1 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   28.161842] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.161872] Hardware name: linux,dummy-virt (DT)
[   28.161908] ==================================================================

[   25.312538] ==================================================================
[   25.312895] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   25.312895] 
[   25.313229] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#142):
[   25.313486]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   25.313664]  kunit_try_run_case+0x1a5/0x480
[   25.313817]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.314021]  kthread+0x337/0x6f0
[   25.314199]  ret_from_fork+0x116/0x1d0
[   25.314427]  ret_from_fork_asm+0x1a/0x30
[   25.314588] 
[   25.314664] kfence-#142: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   25.314664] 
[   25.314952] allocated by task 340 on cpu 0 at 25.312321s (0.002629s ago):
[   25.315181]  test_alloc+0x364/0x10f0
[   25.315380]  test_kmalloc_aligned_oob_read+0x105/0x560
[   25.315631]  kunit_try_run_case+0x1a5/0x480
[   25.316234]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.316776]  kthread+0x337/0x6f0
[   25.316965]  ret_from_fork+0x116/0x1d0
[   25.317159]  ret_from_fork_asm+0x1a/0x30
[   25.317398] 
[   25.317525] CPU: 0 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   25.317847] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.317983] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.318389] ==================================================================