Hay
Date
June 17, 2025, 6:35 a.m.

Environment
qemu-x86_64

[   16.877982] ==================================================================
[   16.879982] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x288/0x520
[   16.879982] 
[   16.880925] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . ] (in kfence-#54):
[   16.882767]  kmalloc_track_caller_oob_right+0x288/0x520
[   16.883244]  kunit_try_run_case+0x1a5/0x480
[   16.883729]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.884212]  kthread+0x337/0x6f0
[   16.884575]  ret_from_fork+0x116/0x1d0
[   16.884945]  ret_from_fork_asm+0x1a/0x30
[   16.885441] 
[   16.886000] kfence-#54: 0x(____ptrval____)-0x(____ptrval____), size=120, cache=kmalloc-128
[   16.886000] 
[   16.887104] allocated by task 169 on cpu 0 at 16.874505s (0.012481s ago):
[   16.888073]  kmalloc_track_caller_oob_right+0x19a/0x520
[   16.888693]  kunit_try_run_case+0x1a5/0x480
[   16.889114]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.889946]  kthread+0x337/0x6f0
[   16.890394]  ret_from_fork+0x116/0x1d0
[   16.891009]  ret_from_fork_asm+0x1a/0x30
[   16.891711] 
[   16.892164] freed by task 169 on cpu 0 at 16.877267s (0.014728s ago):
[   16.892809]  kmalloc_track_caller_oob_right+0x288/0x520
[   16.893311]  kunit_try_run_case+0x1a5/0x480
[   16.893649]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.894186]  kthread+0x337/0x6f0
[   16.894505]  ret_from_fork+0x116/0x1d0
[   16.894890]  ret_from_fork_asm+0x1a/0x30
[   16.895342] 
[   16.895676] CPU: 0 UID: 0 PID: 169 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250617 #1 PREEMPT(voluntary) 
[   16.896629] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.897017] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.897743] ==================================================================