Hay
Date
July 9, 2025, 12:11 a.m.

Environment
qemu-arm64
qemu-x86_64

[   24.260807] ==================================================================
[   24.260900] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   24.260900] 
[   24.260965] Corrupted memory at 0x00000000daa75484 [ ! ] (in kfence-#97):
[   24.261107]  test_corruption+0x284/0x378
[   24.261154]  kunit_try_run_case+0x170/0x3f0
[   24.261200]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.261246]  kthread+0x328/0x630
[   24.261285]  ret_from_fork+0x10/0x20
[   24.261327] 
[   24.261351] kfence-#97: 0x000000009b7f58ef-0x00000000905227e2, size=32, cache=kmalloc-32
[   24.261351] 
[   24.261420] allocated by task 312 on cpu 1 at 24.260529s (0.000887s ago):
[   24.261484]  test_alloc+0x29c/0x628
[   24.261526]  test_corruption+0x198/0x378
[   24.261567]  kunit_try_run_case+0x170/0x3f0
[   24.261608]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.261653]  kthread+0x328/0x630
[   24.261689]  ret_from_fork+0x10/0x20
[   24.261727] 
[   24.261752] freed by task 312 on cpu 1 at 24.260636s (0.001112s ago):
[   24.261815]  test_corruption+0x284/0x378
[   24.261856]  kunit_try_run_case+0x170/0x3f0
[   24.261896]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.261942]  kthread+0x328/0x630
[   24.261978]  ret_from_fork+0x10/0x20
[   24.262019] 
[   24.262061] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   24.262139] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.262169] Hardware name: linux,dummy-virt (DT)
[   24.262204] ==================================================================
[   24.156699] ==================================================================
[   24.156795] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   24.156795] 
[   24.156863] Corrupted memory at 0x0000000031e45208 [ ! . . . . . . . . . . . . . . . ] (in kfence-#96):
[   24.157191]  test_corruption+0x278/0x378
[   24.157240]  kunit_try_run_case+0x170/0x3f0
[   24.157288]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.157333]  kthread+0x328/0x630
[   24.157377]  ret_from_fork+0x10/0x20
[   24.157436] 
[   24.157461] kfence-#96: 0x00000000fd3ee8c3-0x000000002fcb8cc9, size=32, cache=kmalloc-32
[   24.157461] 
[   24.157519] allocated by task 312 on cpu 1 at 24.156491s (0.001025s ago):
[   24.157585]  test_alloc+0x29c/0x628
[   24.157627]  test_corruption+0xdc/0x378
[   24.157668]  kunit_try_run_case+0x170/0x3f0
[   24.157711]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.157757]  kthread+0x328/0x630
[   24.157793]  ret_from_fork+0x10/0x20
[   24.157834] 
[   24.157858] freed by task 312 on cpu 1 at 24.156604s (0.001250s ago):
[   24.157923]  test_corruption+0x278/0x378
[   24.157964]  kunit_try_run_case+0x170/0x3f0
[   24.158005]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.158049]  kthread+0x328/0x630
[   24.158086]  ret_from_fork+0x10/0x20
[   24.158126] 
[   24.158174] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   24.158254] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.158284] Hardware name: linux,dummy-virt (DT)
[   24.158321] ==================================================================
[   24.468670] ==================================================================
[   24.468771] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   24.468771] 
[   24.468837] Corrupted memory at 0x000000006e61604c [ ! . . . . . . . . . . . . . . . ] (in kfence-#99):
[   24.469159]  test_corruption+0x120/0x378
[   24.469206]  kunit_try_run_case+0x170/0x3f0
[   24.469255]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.469302]  kthread+0x328/0x630
[   24.469345]  ret_from_fork+0x10/0x20
[   24.469392] 
[   24.469431] kfence-#99: 0x00000000f73a05a7-0x00000000091248ed, size=32, cache=test
[   24.469431] 
[   24.469489] allocated by task 314 on cpu 1 at 24.468515s (0.000970s ago):
[   24.469553]  test_alloc+0x230/0x628
[   24.469595]  test_corruption+0xdc/0x378
[   24.469635]  kunit_try_run_case+0x170/0x3f0
[   24.469678]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.469723]  kthread+0x328/0x630
[   24.469760]  ret_from_fork+0x10/0x20
[   24.469801] 
[   24.469826] freed by task 314 on cpu 1 at 24.468579s (0.001243s ago):
[   24.469889]  test_corruption+0x120/0x378
[   24.469929]  kunit_try_run_case+0x170/0x3f0
[   24.469971]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.470015]  kthread+0x328/0x630
[   24.470053]  ret_from_fork+0x10/0x20
[   24.470093] 
[   24.470138] CPU: 1 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   24.470222] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.470259] Hardware name: linux,dummy-virt (DT)
[   24.470293] ==================================================================
[   24.572685] ==================================================================
[   24.572775] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   24.572775] 
[   24.572839] Corrupted memory at 0x00000000307c5e5e [ ! ] (in kfence-#100):
[   24.572957]  test_corruption+0x1d8/0x378
[   24.573004]  kunit_try_run_case+0x170/0x3f0
[   24.573049]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.573102]  kthread+0x328/0x630
[   24.573141]  ret_from_fork+0x10/0x20
[   24.573183] 
[   24.573207] kfence-#100: 0x00000000c514062e-0x00000000203c452d, size=32, cache=test
[   24.573207] 
[   24.573262] allocated by task 314 on cpu 1 at 24.572543s (0.000715s ago):
[   24.573324]  test_alloc+0x230/0x628
[   24.573367]  test_corruption+0x198/0x378
[   24.573419]  kunit_try_run_case+0x170/0x3f0
[   24.573461]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.573506]  kthread+0x328/0x630
[   24.573543]  ret_from_fork+0x10/0x20
[   24.573582] 
[   24.573605] freed by task 314 on cpu 1 at 24.572599s (0.001002s ago):
[   24.573668]  test_corruption+0x1d8/0x378
[   24.573710]  kunit_try_run_case+0x170/0x3f0
[   24.573749]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.573793]  kthread+0x328/0x630
[   24.573829]  ret_from_fork+0x10/0x20
[   24.573869] 
[   24.573911] CPU: 1 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   24.573989] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.574020] Hardware name: linux,dummy-virt (DT)
[   24.574053] ==================================================================

[   18.674589] ==================================================================
[   18.675039] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   18.675039] 
[   18.675375] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#78):
[   18.676179]  test_corruption+0x2d2/0x3e0
[   18.676406]  kunit_try_run_case+0x1a5/0x480
[   18.676623]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.676865]  kthread+0x337/0x6f0
[   18.677084]  ret_from_fork+0x116/0x1d0
[   18.677281]  ret_from_fork_asm+0x1a/0x30
[   18.677499] 
[   18.677573] kfence-#78: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.677573] 
[   18.678146] allocated by task 328 on cpu 0 at 18.674328s (0.003815s ago):
[   18.678480]  test_alloc+0x364/0x10f0
[   18.678667]  test_corruption+0xe6/0x3e0
[   18.678888]  kunit_try_run_case+0x1a5/0x480
[   18.679135]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.679328]  kthread+0x337/0x6f0
[   18.679519]  ret_from_fork+0x116/0x1d0
[   18.679726]  ret_from_fork_asm+0x1a/0x30
[   18.679876] 
[   18.679957] freed by task 328 on cpu 0 at 18.674433s (0.005523s ago):
[   18.680204]  test_corruption+0x2d2/0x3e0
[   18.680469]  kunit_try_run_case+0x1a5/0x480
[   18.680654]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.680826]  kthread+0x337/0x6f0
[   18.680968]  ret_from_fork+0x116/0x1d0
[   18.681160]  ret_from_fork_asm+0x1a/0x30
[   18.681442] 
[   18.681597] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   18.682130] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.682347] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.682718] ==================================================================
[   18.882423] ==================================================================
[   18.882861] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   18.882861] 
[   18.883221] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#80):
[   18.884153]  test_corruption+0x131/0x3e0
[   18.884569]  kunit_try_run_case+0x1a5/0x480
[   18.884847]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.885192]  kthread+0x337/0x6f0
[   18.885382]  ret_from_fork+0x116/0x1d0
[   18.885547]  ret_from_fork_asm+0x1a/0x30
[   18.885737] 
[   18.885822] kfence-#80: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.885822] 
[   18.886203] allocated by task 330 on cpu 1 at 18.882294s (0.003907s ago):
[   18.886496]  test_alloc+0x2a6/0x10f0
[   18.886655]  test_corruption+0xe6/0x3e0
[   18.886846]  kunit_try_run_case+0x1a5/0x480
[   18.887564]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.887779]  kthread+0x337/0x6f0
[   18.888153]  ret_from_fork+0x116/0x1d0
[   18.888429]  ret_from_fork_asm+0x1a/0x30
[   18.888613] 
[   18.888840] freed by task 330 on cpu 1 at 18.882347s (0.006491s ago):
[   18.889191]  test_corruption+0x131/0x3e0
[   18.889451]  kunit_try_run_case+0x1a5/0x480
[   18.889731]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.890053]  kthread+0x337/0x6f0
[   18.890295]  ret_from_fork+0x116/0x1d0
[   18.890558]  ret_from_fork_asm+0x1a/0x30
[   18.890721] 
[   18.890911] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   18.891530] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.891800] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.892243] ==================================================================
[   18.778469] ==================================================================
[   18.778865] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   18.778865] 
[   18.779332] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#79):
[   18.779774]  test_corruption+0x2df/0x3e0
[   18.780000]  kunit_try_run_case+0x1a5/0x480
[   18.780200]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.780374]  kthread+0x337/0x6f0
[   18.780566]  ret_from_fork+0x116/0x1d0
[   18.780822]  ret_from_fork_asm+0x1a/0x30
[   18.781047] 
[   18.781146] kfence-#79: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.781146] 
[   18.781595] allocated by task 328 on cpu 0 at 18.778214s (0.003379s ago):
[   18.781917]  test_alloc+0x364/0x10f0
[   18.782056]  test_corruption+0x1cb/0x3e0
[   18.782245]  kunit_try_run_case+0x1a5/0x480
[   18.782563]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.782799]  kthread+0x337/0x6f0
[   18.782983]  ret_from_fork+0x116/0x1d0
[   18.783188]  ret_from_fork_asm+0x1a/0x30
[   18.783418] 
[   18.783502] freed by task 328 on cpu 0 at 18.778310s (0.005190s ago):
[   18.783811]  test_corruption+0x2df/0x3e0
[   18.783970]  kunit_try_run_case+0x1a5/0x480
[   18.784112]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.784411]  kthread+0x337/0x6f0
[   18.784687]  ret_from_fork+0x116/0x1d0
[   18.784994]  ret_from_fork_asm+0x1a/0x30
[   18.785132] 
[   18.785224] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   18.785832] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.786080] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.786631] ==================================================================
[   18.986464] ==================================================================
[   18.986846] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   18.986846] 
[   18.987210] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#81):
[   18.987592]  test_corruption+0x216/0x3e0
[   18.987774]  kunit_try_run_case+0x1a5/0x480
[   18.988006]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.988215]  kthread+0x337/0x6f0
[   18.988339]  ret_from_fork+0x116/0x1d0
[   18.988532]  ret_from_fork_asm+0x1a/0x30
[   18.988825] 
[   18.988899] kfence-#81: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.988899] 
[   18.989255] allocated by task 330 on cpu 1 at 18.986332s (0.002921s ago):
[   18.989595]  test_alloc+0x2a6/0x10f0
[   18.989772]  test_corruption+0x1cb/0x3e0
[   18.989960]  kunit_try_run_case+0x1a5/0x480
[   18.990136]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.990395]  kthread+0x337/0x6f0
[   18.990570]  ret_from_fork+0x116/0x1d0
[   18.990747]  ret_from_fork_asm+0x1a/0x30
[   18.990887] 
[   18.990967] freed by task 330 on cpu 1 at 18.986393s (0.004572s ago):
[   18.991243]  test_corruption+0x216/0x3e0
[   18.991435]  kunit_try_run_case+0x1a5/0x480
[   18.991627]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.991802]  kthread+0x337/0x6f0
[   18.991922]  ret_from_fork+0x116/0x1d0
[   18.992574]  ret_from_fork_asm+0x1a/0x30
[   18.992786] 
[   18.992910] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   18.993905] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.994139] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.994720] ==================================================================