Hay
Date
June 17, 2025, 3:40 p.m.

Environment
qemu-x86_64

[   17.925638] ==================================================================
[   17.927413] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x288/0x520
[   17.927413] 
[   17.928754] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#62):
[   17.929684]  kmalloc_track_caller_oob_right+0x288/0x520
[   17.930081]  kunit_try_run_case+0x1a5/0x480
[   17.931835]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.932982]  kthread+0x337/0x6f0
[   17.933624]  ret_from_fork+0x41/0x80
[   17.934343]  ret_from_fork_asm+0x1a/0x30
[   17.934690] 
[   17.934934] kfence-#62: 0x(____ptrval____)-0x(____ptrval____), size=120, cache=kmalloc-128
[   17.934934] 
[   17.936051] allocated by task 162 on cpu 1 at 17.924457s (0.011587s ago):
[   17.937073]  kmalloc_track_caller_oob_right+0x19a/0x520
[   17.937646]  kunit_try_run_case+0x1a5/0x480
[   17.937990]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.939002]  kthread+0x337/0x6f0
[   17.939607]  ret_from_fork+0x41/0x80
[   17.940007]  ret_from_fork_asm+0x1a/0x30
[   17.940663] 
[   17.940913] freed by task 162 on cpu 1 at 17.925498s (0.015409s ago):
[   17.941846]  kmalloc_track_caller_oob_right+0x288/0x520
[   17.942544]  kunit_try_run_case+0x1a5/0x480
[   17.943129]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.943656]  kthread+0x337/0x6f0
[   17.944347]  ret_from_fork+0x41/0x80
[   17.944512]  ret_from_fork_asm+0x1a/0x30
[   17.944675] 
[   17.944789] CPU: 1 UID: 0 PID: 162 Comm: kunit_try_catch Tainted: G    B            N  6.15.3-rc1 #1 PREEMPT(voluntary) 
[   17.945615] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.946463] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.947208] ==================================================================