Hay
Date
July 5, 2025, 11:11 p.m.

Environment
qemu-x86_64

[   12.868718] ==================================================================
[   12.870264] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x288/0x520
[   12.870264] 
[   12.870728] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . ] (in kfence-#39):
[   12.871867]  kmalloc_track_caller_oob_right+0x288/0x520
[   12.872296]  kunit_try_run_case+0x1a5/0x480
[   12.872634]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   12.873014]  kthread+0x337/0x6f0
[   12.873384]  ret_from_fork+0x116/0x1d0
[   12.873566]  ret_from_fork_asm+0x1a/0x30
[   12.873934] 
[   12.874479] kfence-#39: 0x(____ptrval____)-0x(____ptrval____), size=120, cache=kmalloc-128
[   12.874479] 
[   12.875327] allocated by task 160 on cpu 1 at 12.866628s (0.008628s ago):
[   12.875905]  kmalloc_track_caller_oob_right+0x19a/0x520
[   12.876267]  kunit_try_run_case+0x1a5/0x480
[   12.876534]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   12.876821]  kthread+0x337/0x6f0
[   12.877017]  ret_from_fork+0x116/0x1d0
[   12.877579]  ret_from_fork_asm+0x1a/0x30
[   12.877880] 
[   12.878449] freed by task 160 on cpu 1 at 12.868087s (0.010124s ago):
[   12.878828]  kmalloc_track_caller_oob_right+0x288/0x520
[   12.879381]  kunit_try_run_case+0x1a5/0x480
[   12.879774]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   12.880271]  kthread+0x337/0x6f0
[   12.880575]  ret_from_fork+0x116/0x1d0
[   12.880782]  ret_from_fork_asm+0x1a/0x30
[   12.881044] 
[   12.881505] CPU: 1 UID: 0 PID: 160 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   12.882198] Tainted: [B]=BAD_PAGE, [N]=TEST
[   12.882563] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   12.883192] ==================================================================