Hay
Date
July 3, 2025, 6:13 p.m.

Environment
qemu-arm64

[   16.467662] ==================================================================
[   16.468097] BUG: KFENCE: out-of-bounds read in kmalloc_oob_left+0x160/0x320
[   16.468097] 
[   16.468301] Out-of-bounds read at 0x000000007d74479f (1B left of kfence-#50):
[   16.468529]  kmalloc_oob_left+0x160/0x320
[   16.469000]  kunit_try_run_case+0x170/0x3f0
[   16.469146]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   16.469190]  kthread+0x328/0x630
[   16.469223]  ret_from_fork+0x10/0x20
[   16.469281] 
[   16.469822] kfence-#50: 0x00000000057e9ca4-0x00000000f53e5de2, size=15, cache=kmalloc-16
[   16.469822] 
[   16.470416] allocated by task 138 on cpu 0 at 16.466020s (0.004171s ago):
[   16.471740]  kmalloc_oob_left+0xb8/0x320
[   16.471929]  kunit_try_run_case+0x170/0x3f0
[   16.471988]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   16.472088]  kthread+0x328/0x630
[   16.472642]  ret_from_fork+0x10/0x20
[   16.472966] 
[   16.473044] CPU: 0 UID: 0 PID: 138 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   16.473238] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.473264] Hardware name: linux,dummy-virt (DT)
[   16.473301] ==================================================================