Hay
Date
July 9, 2025, 1:08 p.m.

Environment
qemu-arm64

[   29.320026] ==================================================================
[   29.320105] BUG: KFENCE: memory corruption in kmalloc_oob_in_memset+0x160/0x2d0
[   29.320105] 
[   29.320163] Corrupted memory at 0x00000000e52bc929 [ ! ! ! ! ! ! ! ! ] (in kfence-#92):
[   29.323150]  kmalloc_oob_in_memset+0x160/0x2d0
[   29.323200]  kunit_try_run_case+0x170/0x3f0
[   29.323646]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.323702]  kthread+0x328/0x630
[   29.323738]  ret_from_fork+0x10/0x20
[   29.323836] 
[   29.324024] kfence-#92: 0x0000000098005bf0-0x00000000aa59b270, size=120, cache=kmalloc-128
[   29.324024] 
[   29.325388] allocated by task 202 on cpu 0 at 29.318788s (0.005750s ago):
[   29.326360]  kmalloc_oob_in_memset+0xb0/0x2d0
[   29.326726]  kunit_try_run_case+0x170/0x3f0
[   29.327454]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.327508]  kthread+0x328/0x630
[   29.327774]  ret_from_fork+0x10/0x20
[   29.327974] 
[   29.329024] freed by task 202 on cpu 0 at 29.319462s (0.008556s ago):
[   29.329814]  kmalloc_oob_in_memset+0x160/0x2d0
[   29.330082]  kunit_try_run_case+0x170/0x3f0
[   29.330574]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.330672]  kthread+0x328/0x630
[   29.330705]  ret_from_fork+0x10/0x20
[   29.331442] 
[   29.331973] CPU: 0 UID: 0 PID: 202 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250709 #1 PREEMPT 
[   29.332474] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.332888] Hardware name: linux,dummy-virt (DT)
[   29.333152] ==================================================================