Hay
Date
July 5, 2025, 11:09 a.m.

Environment
qemu-arm64

[   18.541691] ==================================================================
[   18.542381] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x224/0x488
[   18.542381] 
[   18.542596] Corrupted memory at 0x0000000095df37af [ ! . . . . . . . ] (in kfence-#73):
[   18.547573]  kmalloc_track_caller_oob_right+0x224/0x488
[   18.547672]  kunit_try_run_case+0x170/0x3f0
[   18.547742]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.547837]  kthread+0x328/0x630
[   18.547918]  ret_from_fork+0x10/0x20
[   18.547995] 
[   18.548716] kfence-#73: 0x00000000001a1b76-0x0000000098a0fb03, size=120, cache=kmalloc-128
[   18.548716] 
[   18.549667] allocated by task 143 on cpu 0 at 18.538985s (0.009979s ago):
[   18.550423]  kmalloc_track_caller_oob_right+0x184/0x488
[   18.550675]  kunit_try_run_case+0x170/0x3f0
[   18.550795]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.550935]  kthread+0x328/0x630
[   18.551014]  ret_from_fork+0x10/0x20
[   18.551199] 
[   18.551411] freed by task 143 on cpu 0 at 18.540737s (0.010539s ago):
[   18.551574]  kmalloc_track_caller_oob_right+0x224/0x488
[   18.551672]  kunit_try_run_case+0x170/0x3f0
[   18.551763]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.551893]  kthread+0x328/0x630
[   18.551969]  ret_from_fork+0x10/0x20
[   18.552080] 
[   18.552187] CPU: 0 UID: 0 PID: 143 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   18.552372] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.552427] Hardware name: linux,dummy-virt (DT)
[   18.552489] ==================================================================