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

Environment
qemu-arm64
qemu-x86_64

[   26.843580] ==================================================================
[   26.843690] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   26.843690] 
[   26.843791] Out-of-bounds read at 0x000000002ed57d7f (105B right of kfence-#149):
[   26.843867]  test_kmalloc_aligned_oob_read+0x238/0x468
[   26.843918]  kunit_try_run_case+0x170/0x3f0
[   26.843963]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.844007]  kthread+0x328/0x630
[   26.844046]  ret_from_fork+0x10/0x20
[   26.844086] 
[   26.844112] kfence-#149: 0x0000000055c98b75-0x0000000054e0861d, size=73, cache=kmalloc-96
[   26.844112] 
[   26.844165] allocated by task 324 on cpu 0 at 26.843288s (0.000873s ago):
[   26.844236]  test_alloc+0x29c/0x628
[   26.844278]  test_kmalloc_aligned_oob_read+0x100/0x468
[   26.844321]  kunit_try_run_case+0x170/0x3f0
[   26.844361]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.844405]  kthread+0x328/0x630
[   26.844439]  ret_from_fork+0x10/0x20
[   26.844478] 
[   26.844530] CPU: 0 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   26.844612] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.844642] Hardware name: linux,dummy-virt (DT)
[   26.844677] ==================================================================

[   24.303512] ==================================================================
[   24.304034] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   24.304034] 
[   24.304394] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#132):
[   24.304726]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   24.304974]  kunit_try_run_case+0x1a5/0x480
[   24.305208]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.305417]  kthread+0x337/0x6f0
[   24.305543]  ret_from_fork+0x116/0x1d0
[   24.305734]  ret_from_fork_asm+0x1a/0x30
[   24.305996] 
[   24.306097] kfence-#132: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   24.306097] 
[   24.306454] allocated by task 340 on cpu 1 at 24.303288s (0.003163s ago):
[   24.306825]  test_alloc+0x364/0x10f0
[   24.307021]  test_kmalloc_aligned_oob_read+0x105/0x560
[   24.307243]  kunit_try_run_case+0x1a5/0x480
[   24.307389]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.307634]  kthread+0x337/0x6f0
[   24.307798]  ret_from_fork+0x116/0x1d0
[   24.307985]  ret_from_fork_asm+0x1a/0x30
[   24.308174] 
[   24.308269] CPU: 1 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   24.308716] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.308945] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   24.309635] ==================================================================