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

Environment
qemu-x86_64

[   12.223162] ==================================================================
[   12.224195] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x288/0x520
[   12.224195] 
[   12.224675] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#32):
[   12.225688]  kmalloc_track_caller_oob_right+0x288/0x520
[   12.225948]  kunit_try_run_case+0x1a5/0x480
[   12.226141]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   12.226402]  kthread+0x337/0x6f0
[   12.226569]  ret_from_fork+0x116/0x1d0
[   12.226751]  ret_from_fork_asm+0x1a/0x30
[   12.226972] 
[   12.227219] kfence-#32: 0x(____ptrval____)-0x(____ptrval____), size=120, cache=kmalloc-128
[   12.227219] 
[   12.227779] allocated by task 159 on cpu 1 at 12.221126s (0.006580s ago):
[   12.228199]  kmalloc_track_caller_oob_right+0x19a/0x520
[   12.228464]  kunit_try_run_case+0x1a5/0x480
[   12.228772]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   12.228996]  kthread+0x337/0x6f0
[   12.229167]  ret_from_fork+0x116/0x1d0
[   12.229347]  ret_from_fork_asm+0x1a/0x30
[   12.229615] 
[   12.229851] freed by task 159 on cpu 1 at 12.222730s (0.007052s ago):
[   12.230122]  kmalloc_track_caller_oob_right+0x288/0x520
[   12.230390]  kunit_try_run_case+0x1a5/0x480
[   12.230616]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   12.230938]  kthread+0x337/0x6f0
[   12.231101]  ret_from_fork+0x116/0x1d0
[   12.231290]  ret_from_fork_asm+0x1a/0x30
[   12.231547] 
[   12.231714] CPU: 1 UID: 0 PID: 159 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   12.232137] Tainted: [B]=BAD_PAGE, [N]=TEST
[   12.232338] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   12.232729] ==================================================================