Hay
Date
July 22, 2025, 5:13 a.m.

Environment
qemu-arm64

[   30.341393] ==================================================================
[   30.341623] BUG: KFENCE: memory corruption in kmalloc_oob_in_memset+0x160/0x2d0
[   30.341623] 
[   30.342013] Corrupted memory at 0x00000000de715e1e [ ! ! ! ! ! ! ! ! . . . . . . . . ] (in kfence-#90):
[   30.345298]  kmalloc_oob_in_memset+0x160/0x2d0
[   30.345505]  kunit_try_run_case+0x170/0x3f0
[   30.345762]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.345909]  kthread+0x328/0x630
[   30.345996]  ret_from_fork+0x10/0x20
[   30.346077] 
[   30.346991] kfence-#90: 0x0000000095db6084-0x00000000c9aaf235, size=120, cache=kmalloc-128
[   30.346991] 
[   30.347651] allocated by task 201 on cpu 1 at 30.339432s (0.007826s ago):
[   30.347991]  kmalloc_oob_in_memset+0xb0/0x2d0
[   30.348443]  kunit_try_run_case+0x170/0x3f0
[   30.348528]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.348954]  kthread+0x328/0x630
[   30.349000]  ret_from_fork+0x10/0x20
[   30.349655] 
[   30.350038] freed by task 201 on cpu 1 at 30.340122s (0.009709s ago):
[   30.350461]  kmalloc_oob_in_memset+0x160/0x2d0
[   30.350586]  kunit_try_run_case+0x170/0x3f0
[   30.350711]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.350858]  kthread+0x328/0x630
[   30.350896]  ret_from_fork+0x10/0x20
[   30.351023] 
[   30.351488] CPU: 1 UID: 0 PID: 201 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250722 #1 PREEMPT 
[   30.351834] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   30.351990] Hardware name: linux,dummy-virt (DT)
[   30.352210] ==================================================================