Hay
Date
June 23, 2025, 1:39 p.m.

Environment
qemu-arm64

[   24.676200] ==================================================================
[   24.676507] BUG: KFENCE: memory corruption in kmalloc_oob_in_memset+0x160/0x2d0
[   24.676507] 
[   24.677059] Corrupted memory at 0x00000000cf850dbf [ ! ! ! ! ! ! ! ! . . . . . . . . ] (in kfence-#81):
[   24.678517]  kmalloc_oob_in_memset+0x160/0x2d0
[   24.678989]  kunit_try_run_case+0x170/0x3f0
[   24.679427]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.679542]  kthread+0x328/0x630
[   24.679645]  ret_from_fork+0x10/0x20
[   24.680174] 
[   24.680234] kfence-#81: 0x000000007120a54b-0x00000000366a8a1d, size=120, cache=kmalloc-128
[   24.680234] 
[   24.680725] allocated by task 172 on cpu 0 at 24.670509s (0.010206s ago):
[   24.681612]  kmalloc_oob_in_memset+0xb0/0x2d0
[   24.681759]  kunit_try_run_case+0x170/0x3f0
[   24.682449]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.682758]  kthread+0x328/0x630
[   24.682871]  ret_from_fork+0x10/0x20
[   24.683079] 
[   24.683134] freed by task 172 on cpu 0 at 24.675799s (0.007325s ago):
[   24.683446]  kmalloc_oob_in_memset+0x160/0x2d0
[   24.683584]  kunit_try_run_case+0x170/0x3f0
[   24.683673]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.684220]  kthread+0x328/0x630
[   24.684341]  ret_from_fork+0x10/0x20
[   24.684846] 
[   24.684924] CPU: 0 UID: 0 PID: 172 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc1 #1 PREEMPT 
[   24.685382] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.685640] Hardware name: linux,dummy-virt (DT)
[   24.686112] ==================================================================