Hay
Date
July 8, 2025, 4:38 p.m.

Environment
qemu-x86_64

[   11.367351] ==================================================================
[   11.368946] BUG: KFENCE: memory corruption in kmalloc_oob_memset_4+0x187/0x330
[   11.368946] 
[   11.369714] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#39):
[   11.371183]  kmalloc_oob_memset_4+0x187/0x330
[   11.371353]  kunit_try_run_case+0x1a5/0x480
[   11.371501]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   11.371688]  kthread+0x337/0x6f0
[   11.371811]  ret_from_fork+0x41/0x80
[   11.372291]  ret_from_fork_asm+0x1a/0x30
[   11.372691] 
[   11.373034] kfence-#39: 0x(____ptrval____)-0x(____ptrval____), size=120, cache=kmalloc-128
[   11.373034] 
[   11.374916] allocated by task 194 on cpu 1 at 11.365244s (0.009599s ago):
[   11.376156]  kmalloc_oob_memset_4+0xac/0x330
[   11.376620]  kunit_try_run_case+0x1a5/0x480
[   11.377121]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   11.377699]  kthread+0x337/0x6f0
[   11.378028]  ret_from_fork+0x41/0x80
[   11.378175]  ret_from_fork_asm+0x1a/0x30
[   11.378402] 
[   11.378603] freed by task 194 on cpu 1 at 11.366794s (0.011733s ago):
[   11.379175]  kmalloc_oob_memset_4+0x187/0x330
[   11.379857]  kunit_try_run_case+0x1a5/0x480
[   11.380334]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   11.381061]  kthread+0x337/0x6f0
[   11.381304]  ret_from_fork+0x41/0x80
[   11.381477]  ret_from_fork_asm+0x1a/0x30
[   11.382140] 
[   11.382569] CPU: 1 UID: 0 PID: 194 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT(voluntary) 
[   11.383671] Tainted: [B]=BAD_PAGE, [N]=TEST
[   11.384228] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   11.384632] ==================================================================