Hay
Date
July 8, 2025, 11:10 a.m.

Environment
qemu-x86_64

[   22.813391] ==================================================================
[   22.814422] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x288/0x520
[   22.814422] 
[   22.814873] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . ] (in kfence-#52):
[   22.815710]  kmalloc_track_caller_oob_right+0x288/0x520
[   22.816042]  kunit_try_run_case+0x1a5/0x480
[   22.816556]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.816859]  kthread+0x337/0x6f0
[   22.817013]  ret_from_fork+0x116/0x1d0
[   22.817209]  ret_from_fork_asm+0x1a/0x30
[   22.817412] 
[   22.817631] kfence-#52: 0x(____ptrval____)-0x(____ptrval____), size=120, cache=kmalloc-128
[   22.817631] 
[   22.818846] allocated by task 190 on cpu 0 at 22.811146s (0.007637s ago):
[   22.819421]  kmalloc_track_caller_oob_right+0x19a/0x520
[   22.819695]  kunit_try_run_case+0x1a5/0x480
[   22.819993]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.820265]  kthread+0x337/0x6f0
[   22.820493]  ret_from_fork+0x116/0x1d0
[   22.820767]  ret_from_fork_asm+0x1a/0x30
[   22.821159] 
[   22.821471] freed by task 190 on cpu 0 at 22.812879s (0.008435s ago):
[   22.821789]  kmalloc_track_caller_oob_right+0x288/0x520
[   22.822129]  kunit_try_run_case+0x1a5/0x480
[   22.822322]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.822559]  kthread+0x337/0x6f0
[   22.822702]  ret_from_fork+0x116/0x1d0
[   22.823098]  ret_from_fork_asm+0x1a/0x30
[   22.823357] 
[   22.823500] CPU: 0 UID: 0 PID: 190 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250708 #1 PREEMPT(voluntary) 
[   22.824201] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.824365] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   22.824710] ==================================================================