Hay
Date
July 15, 2025, 2:09 p.m.

Environment
qemu-x86_64

[   10.459775] ==================================================================
[   10.460783] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x288/0x520
[   10.460783] 
[   10.461218] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . ] (in kfence-#32):
[   10.461898]  kmalloc_track_caller_oob_right+0x288/0x520
[   10.462225]  kunit_try_run_case+0x1a5/0x480
[   10.462544]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   10.462735]  kthread+0x337/0x6f0
[   10.463143]  ret_from_fork+0x41/0x80
[   10.463338]  ret_from_fork_asm+0x1a/0x30
[   10.463563] 
[   10.463789] kfence-#32: 0x(____ptrval____)-0x(____ptrval____), size=120, cache=kmalloc-128
[   10.463789] 
[   10.464489] allocated by task 161 on cpu 0 at 10.457896s (0.006525s ago):
[   10.464975]  kmalloc_track_caller_oob_right+0x19a/0x520
[   10.465222]  kunit_try_run_case+0x1a5/0x480
[   10.465410]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   10.465616]  kthread+0x337/0x6f0
[   10.465895]  ret_from_fork+0x41/0x80
[   10.466066]  ret_from_fork_asm+0x1a/0x30
[   10.466270] 
[   10.466479] freed by task 161 on cpu 0 at 10.459313s (0.007084s ago):
[   10.467037]  kmalloc_track_caller_oob_right+0x288/0x520
[   10.467251]  kunit_try_run_case+0x1a5/0x480
[   10.467430]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   10.467641]  kthread+0x337/0x6f0
[   10.467808]  ret_from_fork+0x41/0x80
[   10.468069]  ret_from_fork_asm+0x1a/0x30
[   10.468255] 
[   10.468391] CPU: 0 UID: 0 PID: 161 Comm: kunit_try_catch Tainted: G    B            N  6.15.7-rc1 #1 PREEMPT(voluntary) 
[   10.468919] Tainted: [B]=BAD_PAGE, [N]=TEST
[   10.469094] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   10.469463] ==================================================================