Hay
Date
July 3, 2025, 6:13 p.m.

Environment
qemu-x86_64

[   10.914831] ==================================================================
[   10.915939] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x288/0x520
[   10.915939] 
[   10.916364] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#32):
[   10.917229]  kmalloc_track_caller_oob_right+0x288/0x520
[   10.917549]  kunit_try_run_case+0x1a5/0x480
[   10.917710]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   10.917946]  kthread+0x337/0x6f0
[   10.918130]  ret_from_fork+0x116/0x1d0
[   10.918326]  ret_from_fork_asm+0x1a/0x30
[   10.918557] 
[   10.918915] kfence-#32: 0x(____ptrval____)-0x(____ptrval____), size=120, cache=kmalloc-128
[   10.918915] 
[   10.919658] allocated by task 160 on cpu 0 at 10.913167s (0.006430s ago):
[   10.920063]  kmalloc_track_caller_oob_right+0x19a/0x520
[   10.920436]  kunit_try_run_case+0x1a5/0x480
[   10.920617]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   10.920835]  kthread+0x337/0x6f0
[   10.920986]  ret_from_fork+0x116/0x1d0
[   10.921179]  ret_from_fork_asm+0x1a/0x30
[   10.921389] 
[   10.921671] freed by task 160 on cpu 0 at 10.914355s (0.007242s ago):
[   10.921960]  kmalloc_track_caller_oob_right+0x288/0x520
[   10.922202]  kunit_try_run_case+0x1a5/0x480
[   10.922399]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   10.922645]  kthread+0x337/0x6f0
[   10.922797]  ret_from_fork+0x116/0x1d0
[   10.922981]  ret_from_fork_asm+0x1a/0x30
[   10.923200] 
[   10.923329] CPU: 0 UID: 0 PID: 160 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   10.923984] Tainted: [B]=BAD_PAGE, [N]=TEST
[   10.924183] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   10.924633] ==================================================================