Hay
Date
June 20, 2025, 12:38 p.m.

Environment
qemu-arm64

[   31.203139] ==================================================================
[   31.203307] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x224/0x488
[   31.203307] 
[   31.203470] Corrupted memory at 0x000000006c1886f8 [ ! . . . . . . . ] (in kfence-#83):
[   31.211277]  kmalloc_track_caller_oob_right+0x224/0x488
[   31.211548]  kunit_try_run_case+0x170/0x3f0
[   31.211655]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.211763]  kthread+0x328/0x630
[   31.211891]  ret_from_fork+0x10/0x20
[   31.211983] 
[   31.212054] kfence-#83: 0x00000000bdca6165-0x00000000d78515b9, size=120, cache=kmalloc-128
[   31.212054] 
[   31.212213] allocated by task 153 on cpu 1 at 31.196353s (0.015852s ago):
[   31.212920]  kmalloc_track_caller_oob_right+0x184/0x488
[   31.213039]  kunit_try_run_case+0x170/0x3f0
[   31.213134]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.213629]  kthread+0x328/0x630
[   31.213851]  ret_from_fork+0x10/0x20
[   31.214021] 
[   31.215197] freed by task 153 on cpu 1 at 31.202678s (0.011803s ago):
[   31.215492]  kmalloc_track_caller_oob_right+0x224/0x488
[   31.215819]  kunit_try_run_case+0x170/0x3f0
[   31.216473]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.216684]  kthread+0x328/0x630
[   31.216771]  ret_from_fork+0x10/0x20
[   31.217209] 
[   31.217304] CPU: 1 UID: 0 PID: 153 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT 
[   31.217480] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.217527] Hardware name: linux,dummy-virt (DT)
[   31.217581] ==================================================================