Hay
Date
June 26, 2025, 11:12 a.m.

Environment
qemu-arm64

[   17.987502] ==================================================================
[   17.987553] BUG: KFENCE: memory corruption in kmalloc_oob_in_memset+0x160/0x2d0
[   17.987553] 
[   17.987610] Corrupted memory at 0x00000000661a9bfe [ ! ! ! ! ! ! ! ! ] (in kfence-#55):
[   17.990798]  kmalloc_oob_in_memset+0x160/0x2d0
[   17.990850]  kunit_try_run_case+0x170/0x3f0
[   17.990902]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   17.990946]  kthread+0x328/0x630
[   17.990984]  ret_from_fork+0x10/0x20
[   17.991021] 
[   17.991041] kfence-#55: 0x00000000f473c568-0x0000000033a18902, size=120, cache=kmalloc-128
[   17.991041] 
[   17.992909] allocated by task 172 on cpu 0 at 17.979646s (0.011448s ago):
[   17.993002]  kmalloc_oob_in_memset+0xb0/0x2d0
[   17.993045]  kunit_try_run_case+0x170/0x3f0
[   17.994029]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   17.994098]  kthread+0x328/0x630
[   17.994134]  ret_from_fork+0x10/0x20
[   17.994169] 
[   17.994793] freed by task 172 on cpu 0 at 17.987439s (0.007342s ago):
[   17.994882]  kmalloc_oob_in_memset+0x160/0x2d0
[   17.994923]  kunit_try_run_case+0x170/0x3f0
[   17.996050]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   17.996396]  kthread+0x328/0x630
[   17.996673]  ret_from_fork+0x10/0x20
[   17.997603] 
[   17.997689] CPU: 0 UID: 0 PID: 172 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT 
[   17.997968] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.997996] Hardware name: linux,dummy-virt (DT)
[   17.998028] ==================================================================