Hay
Date
June 3, 2025, 7:38 a.m.

Environment
qemu-x86_64
x86

[   13.611243] ==================================================================
[   13.612878] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x288/0x520
[   13.612878] 
[   13.613794] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#50):
[   13.616227]  kmalloc_track_caller_oob_right+0x288/0x520
[   13.616941]  kunit_try_run_case+0x1a5/0x480
[   13.617204]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   13.618201]  kthread+0x337/0x6f0
[   13.618495]  ret_from_fork+0x116/0x1d0
[   13.618671]  ret_from_fork_asm+0x1a/0x30
[   13.619314] 
[   13.620215] kfence-#50: 0x(____ptrval____)-0x(____ptrval____), size=120, cache=kmalloc-128
[   13.620215] 
[   13.621269] allocated by task 159 on cpu 1 at 13.607371s (0.013768s ago):
[   13.622501]  kmalloc_track_caller_oob_right+0x19a/0x520
[   13.623026]  kunit_try_run_case+0x1a5/0x480
[   13.623233]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   13.623913]  kthread+0x337/0x6f0
[   13.624431]  ret_from_fork+0x116/0x1d0
[   13.624801]  ret_from_fork_asm+0x1a/0x30
[   13.625487] 
[   13.625907] freed by task 159 on cpu 1 at 13.610447s (0.015305s ago):
[   13.626485]  kmalloc_track_caller_oob_right+0x288/0x520
[   13.626841]  kunit_try_run_case+0x1a5/0x480
[   13.627151]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   13.628380]  kthread+0x337/0x6f0
[   13.628770]  ret_from_fork+0x116/0x1d0
[   13.629234]  ret_from_fork_asm+0x1a/0x30
[   13.629838] 
[   13.630362] CPU: 1 UID: 0 PID: 159 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250603 #1 PREEMPT(voluntary) 
[   13.631681] Tainted: [B]=BAD_PAGE, [N]=TEST
[   13.632030] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   13.632342] ==================================================================

[   18.919441] ==================================================================
[   18.942890] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x288/0x520
[   18.942890] 
[   18.952460] Corrupted memory at 0x000000001d2caf2f [ ! . . . . . . . ] (in kfence-#64):
[   18.960485]  kmalloc_track_caller_oob_right+0x288/0x520
[   18.965721]  kunit_try_run_case+0x1a2/0x480
[   18.969913]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   18.975312]  kthread+0x334/0x6f0
[   18.978544]  ret_from_fork+0x113/0x1d0
[   18.982297]  ret_from_fork_asm+0x1a/0x30
[   18.986224] 
[   18.987723] kfence-#64: 0x0000000091d7e03f-0x00000000ce7b19cf, size=120, cache=kmalloc-128
[   18.987723] 
[   18.997464] allocated by task 182 on cpu 1 at 18.919382s (0.078082s ago):
[   19.004251]  kmalloc_track_caller_oob_right+0x19a/0x520
[   19.009486]  kunit_try_run_case+0x1a2/0x480
[   19.013670]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   19.019071]  kthread+0x334/0x6f0
[   19.022302]  ret_from_fork+0x113/0x1d0
[   19.026055]  ret_from_fork_asm+0x1a/0x30
[   19.029981] 
[   19.031479] freed by task 182 on cpu 1 at 18.919436s (0.112043s ago):
[   19.037922]  kmalloc_track_caller_oob_right+0x288/0x520
[   19.043153]  kunit_try_run_case+0x1a2/0x480
[   19.047341]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   19.052775]  kthread+0x334/0x6f0
[   19.056008]  ret_from_fork+0x113/0x1d0
[   19.059761]  ret_from_fork_asm+0x1a/0x30
[   19.063687] 
[   19.065187] CPU: 1 UID: 0 PID: 182 Comm: kunit_try_catch Tainted: G S  B            N  6.15.0-next-20250603 #1 PREEMPT(voluntary) 
[   19.076928] Tainted: [S]=CPU_OUT_OF_SPEC, [B]=BAD_PAGE, [N]=TEST
[   19.082933] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS 2.7 12/07/2021
[   19.090325] ==================================================================