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

Environment
qemu-arm64
qemu-x86_64

[   26.961326] ==================================================================
[   26.961411] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   26.961411] 
[   26.961505] Out-of-bounds read at 0x00000000fb28135e (105B right of kfence-#131):
[   26.961565]  test_kmalloc_aligned_oob_read+0x238/0x468
[   26.961632]  kunit_try_run_case+0x170/0x3f0
[   26.961679]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.961723]  kthread+0x328/0x630
[   26.961763]  ret_from_fork+0x10/0x20
[   26.961803] 
[   26.961827] kfence-#131: 0x00000000335d23dc-0x00000000a7df097e, size=73, cache=kmalloc-96
[   26.961827] 
[   26.961880] allocated by task 323 on cpu 0 at 26.961088s (0.000788s ago):
[   26.961951]  test_alloc+0x29c/0x628
[   26.961991]  test_kmalloc_aligned_oob_read+0x100/0x468
[   26.962035]  kunit_try_run_case+0x170/0x3f0
[   26.962075]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.962118]  kthread+0x328/0x630
[   26.962154]  ret_from_fork+0x10/0x20
[   26.962193] 
[   26.962240] CPU: 0 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   26.962319] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.962350] Hardware name: linux,dummy-virt (DT)
[   26.962386] ==================================================================

[   22.542114] ==================================================================
[   22.542545] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   22.542545] 
[   22.542935] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#126):
[   22.543296]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   22.543539]  kunit_try_run_case+0x1a5/0x480
[   22.543763]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.543990]  kthread+0x337/0x6f0
[   22.544139]  ret_from_fork+0x116/0x1d0
[   22.544275]  ret_from_fork_asm+0x1a/0x30
[   22.544430] 
[   22.544520] kfence-#126: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   22.544520] 
[   22.545316] allocated by task 342 on cpu 1 at 22.541888s (0.003425s ago):
[   22.545591]  test_alloc+0x364/0x10f0
[   22.545721]  test_kmalloc_aligned_oob_read+0x105/0x560
[   22.546053]  kunit_try_run_case+0x1a5/0x480
[   22.546244]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.546473]  kthread+0x337/0x6f0
[   22.546642]  ret_from_fork+0x116/0x1d0
[   22.546813]  ret_from_fork_asm+0x1a/0x30
[   22.546954] 
[   22.547072] CPU: 1 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   22.547538] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.547684] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   22.548059] ==================================================================