Hay
Date
July 22, 2025, 2:40 p.m.

Environment
qemu-arm64
qemu-x86_64

[   28.091378] ==================================================================
[   28.091470] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   28.091470] 
[   28.091566] Out-of-bounds read at 0x0000000006dfdc9c (105B right of kfence-#151):
[   28.091628]  test_kmalloc_aligned_oob_read+0x238/0x468
[   28.091676]  kunit_try_run_case+0x170/0x3f0
[   28.091723]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.091765]  kthread+0x328/0x630
[   28.091806]  ret_from_fork+0x10/0x20
[   28.091847] 
[   28.091873] kfence-#151: 0x000000003dc99ad7-0x0000000049ba7188, size=73, cache=kmalloc-96
[   28.091873] 
[   28.091925] allocated by task 325 on cpu 0 at 28.091120s (0.000801s ago):
[   28.091995]  test_alloc+0x29c/0x628
[   28.092035]  test_kmalloc_aligned_oob_read+0x100/0x468
[   28.092079]  kunit_try_run_case+0x170/0x3f0
[   28.092120]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.092161]  kthread+0x328/0x630
[   28.092199]  ret_from_fork+0x10/0x20
[   28.092239] 
[   28.092299] CPU: 0 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G    B            N  6.15.8-rc1 #1 PREEMPT 
[   28.092376] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.092406] Hardware name: linux,dummy-virt (DT)
[   28.092441] ==================================================================

[   21.656216] ==================================================================
[   21.656831] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   21.656831] 
[   21.657294] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#124):
[   21.657825]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   21.658009]  kunit_try_run_case+0x1a5/0x480
[   21.658157]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.658446]  kthread+0x337/0x6f0
[   21.658621]  ret_from_fork+0x41/0x80
[   21.658810]  ret_from_fork_asm+0x1a/0x30
[   21.659014] 
[   21.659116] kfence-#124: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   21.659116] 
[   21.659508] allocated by task 343 on cpu 1 at 21.655991s (0.003515s ago):
[   21.659795]  test_alloc+0x364/0x10f0
[   21.659988]  test_kmalloc_aligned_oob_read+0x105/0x560
[   21.660209]  kunit_try_run_case+0x1a5/0x480
[   21.660364]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.660539]  kthread+0x337/0x6f0
[   21.660708]  ret_from_fork+0x41/0x80
[   21.660988]  ret_from_fork_asm+0x1a/0x30
[   21.661196] 
[   21.661348] CPU: 1 UID: 0 PID: 343 Comm: kunit_try_catch Tainted: G    B            N  6.15.8-rc1 #1 PREEMPT(voluntary) 
[   21.662524] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.662735] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   21.663146] ==================================================================