Hay
Date
July 6, 2025, 11:09 p.m.

Environment
qemu-x86_64
x86

[   12.640438] ==================================================================
[   12.641718] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x288/0x520
[   12.641718] 
[   12.642214] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#44):
[   12.643884]  kmalloc_track_caller_oob_right+0x288/0x520
[   12.644363]  kunit_try_run_case+0x1a5/0x480
[   12.644724]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   12.645266]  kthread+0x337/0x6f0
[   12.645444]  ret_from_fork+0x116/0x1d0
[   12.645900]  ret_from_fork_asm+0x1a/0x30
[   12.646439] 
[   12.646965] kfence-#44: 0x(____ptrval____)-0x(____ptrval____), size=120, cache=kmalloc-128
[   12.646965] 
[   12.647802] allocated by task 160 on cpu 0 at 12.638212s (0.009460s ago):
[   12.648445]  kmalloc_track_caller_oob_right+0x19a/0x520
[   12.648770]  kunit_try_run_case+0x1a5/0x480
[   12.649262]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   12.649466]  kthread+0x337/0x6f0
[   12.649764]  ret_from_fork+0x116/0x1d0
[   12.650000]  ret_from_fork_asm+0x1a/0x30
[   12.650332] 
[   12.651121] freed by task 160 on cpu 0 at 12.639943s (0.010606s ago):
[   12.651489]  kmalloc_track_caller_oob_right+0x288/0x520
[   12.651975]  kunit_try_run_case+0x1a5/0x480
[   12.652232]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   12.652470]  kthread+0x337/0x6f0
[   12.652984]  ret_from_fork+0x116/0x1d0
[   12.653316]  ret_from_fork_asm+0x1a/0x30
[   12.653837] 
[   12.654064] CPU: 0 UID: 0 PID: 160 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   12.655129] Tainted: [B]=BAD_PAGE, [N]=TEST
[   12.655401] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   12.656100] ==================================================================

[   15.806860] ==================================================================
[   15.830316] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x288/0x520
[   15.830316] 
[   15.839912] Corrupted memory at 0x0000000012ef1a8f [ ! . . . . . . . . . . . . . . . ] (in kfence-#70):
[   15.849373]  kmalloc_track_caller_oob_right+0x288/0x520
[   15.854636]  kunit_try_run_case+0x1a2/0x480
[   15.858830]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   15.864229]  kthread+0x334/0x6f0
[   15.867463]  ret_from_fork+0x113/0x1d0
[   15.871214]  ret_from_fork_asm+0x1a/0x30
[   15.875141] 
[   15.876641] kfence-#70: 0x000000004a7c7daf-0x0000000007811704, size=120, cache=kmalloc-128
[   15.876641] 
[   15.886419] allocated by task 183 on cpu 1 at 15.806815s (0.079604s ago):
[   15.893210]  kmalloc_track_caller_oob_right+0x19a/0x520
[   15.898436]  kunit_try_run_case+0x1a2/0x480
[   15.902622]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   15.908020]  kthread+0x334/0x6f0
[   15.911255]  ret_from_fork+0x113/0x1d0
[   15.915008]  ret_from_fork_asm+0x1a/0x30
[   15.918942] 
[   15.920441] freed by task 183 on cpu 1 at 15.806855s (0.113585s ago):
[   15.926882]  kmalloc_track_caller_oob_right+0x288/0x520
[   15.932113]  kunit_try_run_case+0x1a2/0x480
[   15.936299]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   15.941701]  kthread+0x334/0x6f0
[   15.944932]  ret_from_fork+0x113/0x1d0
[   15.948687]  ret_from_fork_asm+0x1a/0x30
[   15.952620] 
[   15.954121] CPU: 1 UID: 0 PID: 183 Comm: kunit_try_catch Tainted: G S  B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   15.964996] Tainted: [S]=CPU_OUT_OF_SPEC, [B]=BAD_PAGE, [N]=TEST
[   15.971003] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS 2.7 12/07/2021
[   15.978422] ==================================================================