Hay
Date
May 23, 2025, 11:07 p.m.

Environment
qemu-x86_64

[   12.113115] ==================================================================
[   12.114607] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x288/0x520
[   12.114607] 
[   12.114989] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . ] (in kfence-#31):
[   12.116180]  kmalloc_track_caller_oob_right+0x288/0x520
[   12.116867]  kunit_try_run_case+0x1a5/0x480
[   12.117457]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   12.117974]  kthread+0x337/0x6f0
[   12.118138]  ret_from_fork+0x41/0x80
[   12.118273]  ret_from_fork_asm+0x1a/0x30
[   12.118452] 
[   12.118764] kfence-#31: 0x(____ptrval____)-0x(____ptrval____), size=120, cache=kmalloc-128
[   12.118764] 
[   12.119818] allocated by task 161 on cpu 1 at 12.111485s (0.008276s ago):
[   12.120565]  kmalloc_track_caller_oob_right+0x19a/0x520
[   12.121080]  kunit_try_run_case+0x1a5/0x480
[   12.121351]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   12.121750]  kthread+0x337/0x6f0
[   12.122090]  ret_from_fork+0x41/0x80
[   12.122436]  ret_from_fork_asm+0x1a/0x30
[   12.122629] 
[   12.122814] freed by task 161 on cpu 1 at 12.112643s (0.010099s ago):
[   12.123098]  kmalloc_track_caller_oob_right+0x288/0x520
[   12.123579]  kunit_try_run_case+0x1a5/0x480
[   12.123773]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   12.124105]  kthread+0x337/0x6f0
[   12.124323]  ret_from_fork+0x41/0x80
[   12.124531]  ret_from_fork_asm+0x1a/0x30
[   12.124728] 
[   12.124876] CPU: 1 UID: 0 PID: 161 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7 #1 PREEMPT(voluntary) 
[   12.125371] Tainted: [B]=BAD_PAGE, [N]=TEST
[   12.125566] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   12.126015] ==================================================================