Hay
Date
July 1, 2025, 11:08 a.m.

Environment
qemu-arm64

[   18.394570] ==================================================================
[   18.394686] BUG: KFENCE: memory corruption in kmalloc_oob_in_memset+0x160/0x2d0
[   18.394686] 
[   18.394756] Corrupted memory at 0x000000007f135f66 [ ! ! ! ! ! ! ! ! . . . . . . . . ] (in kfence-#61):
[   18.397498]  kmalloc_oob_in_memset+0x160/0x2d0
[   18.397561]  kunit_try_run_case+0x170/0x3f0
[   18.397765]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.397874]  kthread+0x328/0x630
[   18.397979]  ret_from_fork+0x10/0x20
[   18.398160] 
[   18.398676] kfence-#61: 0x00000000784ff9be-0x000000003a35dfd4, size=120, cache=kmalloc-128
[   18.398676] 
[   18.398973] allocated by task 171 on cpu 1 at 18.393103s (0.005795s ago):
[   18.399388]  kmalloc_oob_in_memset+0xb0/0x2d0
[   18.399481]  kunit_try_run_case+0x170/0x3f0
[   18.399525]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.399572]  kthread+0x328/0x630
[   18.399637]  ret_from_fork+0x10/0x20
[   18.399718] 
[   18.400145] freed by task 171 on cpu 1 at 18.393988s (0.005925s ago):
[   18.400370]  kmalloc_oob_in_memset+0x160/0x2d0
[   18.400508]  kunit_try_run_case+0x170/0x3f0
[   18.400637]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.400753]  kthread+0x328/0x630
[   18.400852]  ret_from_fork+0x10/0x20
[   18.401010] 
[   18.401506] CPU: 1 UID: 0 PID: 171 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   18.401606] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.401636] Hardware name: linux,dummy-virt (DT)
[   18.401677] ==================================================================