Hay
Date
May 12, 2025, 6:12 p.m.

Environment
qemu-x86_64

[   11.813453] ==================================================================
[   11.816098] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x289/0x530
[   11.816098] 
[   11.816759] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . ] (in kfence-#25):
[   11.818201]  kmalloc_track_caller_oob_right+0x289/0x530
[   11.818688]  kunit_try_run_case+0x1a6/0x480
[   11.819182]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   11.819738]  kthread+0x324/0x6e0
[   11.819989]  ret_from_fork+0x41/0x80
[   11.820392]  ret_from_fork_asm+0x1a/0x30
[   11.820550] 
[   11.820773] kfence-#25: 0x(____ptrval____)-0x(____ptrval____), size=120, cache=kmalloc-128
[   11.820773] 
[   11.821234] allocated by task 150 on cpu 0 at 11.810365s (0.010810s ago):
[   11.821787]  kmalloc_track_caller_oob_right+0x19b/0x530
[   11.822043]  kunit_try_run_case+0x1a6/0x480
[   11.822616]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   11.822906]  kthread+0x324/0x6e0
[   11.823053]  ret_from_fork+0x41/0x80
[   11.823370]  ret_from_fork_asm+0x1a/0x30
[   11.823574] 
[   11.823775] freed by task 150 on cpu 0 at 11.811929s (0.011773s ago):
[   11.824067]  kmalloc_track_caller_oob_right+0x289/0x530
[   11.824381]  kunit_try_run_case+0x1a6/0x480
[   11.824753]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   11.825208]  kthread+0x324/0x6e0
[   11.825396]  ret_from_fork+0x41/0x80
[   11.825575]  ret_from_fork_asm+0x1a/0x30
[   11.825786] 
[   11.825945] CPU: 0 UID: 0 PID: 150 Comm: kunit_try_catch Tainted: G    B            N 6.14.7-rc1 #1
[   11.826476] Tainted: [B]=BAD_PAGE, [N]=TEST
[   11.826758] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   11.827325] ==================================================================