Hay
Date
July 9, 2025, 2:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   22.108559] ==================================================================
[   22.108653] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   22.108653] 
[   22.108718] Corrupted memory at 0x000000007e92fa71 [ ! ] (in kfence-#96):
[   22.108848]  test_corruption+0x284/0x378
[   22.108897]  kunit_try_run_case+0x170/0x3f0
[   22.108940]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.108987]  kthread+0x328/0x630
[   22.109027]  ret_from_fork+0x10/0x20
[   22.109067] 
[   22.109107] kfence-#96: 0x00000000880d4a1a-0x000000002344d83a, size=32, cache=kmalloc-32
[   22.109107] 
[   22.109163] allocated by task 311 on cpu 0 at 22.108247s (0.000912s ago):
[   22.109227]  test_alloc+0x29c/0x628
[   22.109267]  test_corruption+0x198/0x378
[   22.109309]  kunit_try_run_case+0x170/0x3f0
[   22.109348]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.109393]  kthread+0x328/0x630
[   22.109428]  ret_from_fork+0x10/0x20
[   22.109469] 
[   22.109492] freed by task 311 on cpu 0 at 22.108388s (0.001100s ago):
[   22.109554]  test_corruption+0x284/0x378
[   22.109618]  kunit_try_run_case+0x170/0x3f0
[   22.109661]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.109706]  kthread+0x328/0x630
[   22.109741]  ret_from_fork+0x10/0x20
[   22.109782] 
[   22.109826] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc5 #1 PREEMPT 
[   22.109908] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   22.109940] Hardware name: linux,dummy-virt (DT)
[   22.109974] ==================================================================
[   22.314237] ==================================================================
[   22.314328] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   22.314328] 
[   22.314392] Corrupted memory at 0x000000004000af77 [ ! ] (in kfence-#98):
[   22.314507]  test_corruption+0x1d8/0x378
[   22.314555]  kunit_try_run_case+0x170/0x3f0
[   22.314599]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.314645]  kthread+0x328/0x630
[   22.314683]  ret_from_fork+0x10/0x20
[   22.314725] 
[   22.314748] kfence-#98: 0x000000002468c895-0x00000000cf0394e3, size=32, cache=test
[   22.314748] 
[   22.314802] allocated by task 313 on cpu 0 at 22.314077s (0.000721s ago):
[   22.314865]  test_alloc+0x230/0x628
[   22.314906]  test_corruption+0x198/0x378
[   22.314946]  kunit_try_run_case+0x170/0x3f0
[   22.314986]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.315030]  kthread+0x328/0x630
[   22.315066]  ret_from_fork+0x10/0x20
[   22.315122] 
[   22.315146] freed by task 313 on cpu 0 at 22.314151s (0.000991s ago):
[   22.315210]  test_corruption+0x1d8/0x378
[   22.315252]  kunit_try_run_case+0x170/0x3f0
[   22.315295]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.315339]  kthread+0x328/0x630
[   22.315375]  ret_from_fork+0x10/0x20
[   22.315415] 
[   22.315456] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc5 #1 PREEMPT 
[   22.315540] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   22.315571] Hardware name: linux,dummy-virt (DT)
[   22.315605] ==================================================================
[   22.210171] ==================================================================
[   22.210264] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   22.210264] 
[   22.210329] Corrupted memory at 0x00000000ba1ef7fb [ ! . . . . . . . . . . . . . . . ] (in kfence-#97):
[   22.210638]  test_corruption+0x120/0x378
[   22.210686]  kunit_try_run_case+0x170/0x3f0
[   22.210731]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.210777]  kthread+0x328/0x630
[   22.210816]  ret_from_fork+0x10/0x20
[   22.210857] 
[   22.210880] kfence-#97: 0x00000000cfc0537b-0x000000000e6bb1b3, size=32, cache=test
[   22.210880] 
[   22.210937] allocated by task 313 on cpu 0 at 22.210010s (0.000923s ago):
[   22.210999]  test_alloc+0x230/0x628
[   22.211041]  test_corruption+0xdc/0x378
[   22.211093]  kunit_try_run_case+0x170/0x3f0
[   22.211134]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.211179]  kthread+0x328/0x630
[   22.211215]  ret_from_fork+0x10/0x20
[   22.211253] 
[   22.211276] freed by task 313 on cpu 0 at 22.210075s (0.001197s ago):
[   22.211338]  test_corruption+0x120/0x378
[   22.211377]  kunit_try_run_case+0x170/0x3f0
[   22.211419]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.211463]  kthread+0x328/0x630
[   22.211498]  ret_from_fork+0x10/0x20
[   22.211536] 
[   22.211580] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc5 #1 PREEMPT 
[   22.211663] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   22.211693] Hardware name: linux,dummy-virt (DT)
[   22.211727] ==================================================================
[   22.002270] ==================================================================
[   22.002364] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   22.002364] 
[   22.002427] Corrupted memory at 0x0000000069d86c61 [ ! . . . . . . . . . . . . . . . ] (in kfence-#95):
[   22.002734]  test_corruption+0x278/0x378
[   22.002782]  kunit_try_run_case+0x170/0x3f0
[   22.002826]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.002871]  kthread+0x328/0x630
[   22.002912]  ret_from_fork+0x10/0x20
[   22.002953] 
[   22.002976] kfence-#95: 0x000000004577645f-0x0000000059d184a1, size=32, cache=kmalloc-32
[   22.002976] 
[   22.003034] allocated by task 311 on cpu 0 at 22.002062s (0.000968s ago):
[   22.003110]  test_alloc+0x29c/0x628
[   22.003152]  test_corruption+0xdc/0x378
[   22.003193]  kunit_try_run_case+0x170/0x3f0
[   22.003233]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.003278]  kthread+0x328/0x630
[   22.003313]  ret_from_fork+0x10/0x20
[   22.003353] 
[   22.003376] freed by task 311 on cpu 0 at 22.002181s (0.001191s ago):
[   22.003435]  test_corruption+0x278/0x378
[   22.003475]  kunit_try_run_case+0x170/0x3f0
[   22.003514]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.003557]  kthread+0x328/0x630
[   22.003594]  ret_from_fork+0x10/0x20
[   22.003633] 
[   22.003677] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc5 #1 PREEMPT 
[   22.003760] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   22.003791] Hardware name: linux,dummy-virt (DT)
[   22.003826] ==================================================================

[   18.895443] ==================================================================
[   18.895903] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   18.895903] 
[   18.896188] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#80):
[   18.896592]  test_corruption+0x2df/0x3e0
[   18.896819]  kunit_try_run_case+0x1a5/0x480
[   18.896978]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.897282]  kthread+0x337/0x6f0
[   18.897408]  ret_from_fork+0x116/0x1d0
[   18.897558]  ret_from_fork_asm+0x1a/0x30
[   18.897787] 
[   18.897886] kfence-#80: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.897886] 
[   18.898282] allocated by task 328 on cpu 1 at 18.895179s (0.003101s ago):
[   18.898614]  test_alloc+0x364/0x10f0
[   18.898829]  test_corruption+0x1cb/0x3e0
[   18.898982]  kunit_try_run_case+0x1a5/0x480
[   18.899190]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.899368]  kthread+0x337/0x6f0
[   18.899489]  ret_from_fork+0x116/0x1d0
[   18.899692]  ret_from_fork_asm+0x1a/0x30
[   18.899896] 
[   18.899992] freed by task 328 on cpu 1 at 18.895282s (0.004707s ago):
[   18.900366]  test_corruption+0x2df/0x3e0
[   18.900504]  kunit_try_run_case+0x1a5/0x480
[   18.900710]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.901190]  kthread+0x337/0x6f0
[   18.901322]  ret_from_fork+0x116/0x1d0
[   18.901487]  ret_from_fork_asm+0x1a/0x30
[   18.901636] 
[   18.901733] CPU: 1 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   18.902062] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.902221] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.902619] ==================================================================
[   18.791379] ==================================================================
[   18.791822] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   18.791822] 
[   18.792230] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#79):
[   18.793114]  test_corruption+0x2d2/0x3e0
[   18.793269]  kunit_try_run_case+0x1a5/0x480
[   18.793535]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.793819]  kthread+0x337/0x6f0
[   18.794002]  ret_from_fork+0x116/0x1d0
[   18.794201]  ret_from_fork_asm+0x1a/0x30
[   18.794347] 
[   18.794443] kfence-#79: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.794443] 
[   18.794904] allocated by task 328 on cpu 1 at 18.791132s (0.003770s ago):
[   18.795129]  test_alloc+0x364/0x10f0
[   18.795276]  test_corruption+0xe6/0x3e0
[   18.795472]  kunit_try_run_case+0x1a5/0x480
[   18.795695]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.795964]  kthread+0x337/0x6f0
[   18.796157]  ret_from_fork+0x116/0x1d0
[   18.796332]  ret_from_fork_asm+0x1a/0x30
[   18.796482] 
[   18.796580] freed by task 328 on cpu 1 at 18.791208s (0.005370s ago):
[   18.796879]  test_corruption+0x2d2/0x3e0
[   18.797053]  kunit_try_run_case+0x1a5/0x480
[   18.797203]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.797406]  kthread+0x337/0x6f0
[   18.797575]  ret_from_fork+0x116/0x1d0
[   18.797775]  ret_from_fork_asm+0x1a/0x30
[   18.797976] 
[   18.798077] CPU: 1 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   18.798456] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.798672] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.799244] ==================================================================
[   18.999305] ==================================================================
[   18.999724] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   18.999724] 
[   19.000168] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#81):
[   19.000741]  test_corruption+0x131/0x3e0
[   19.000891]  kunit_try_run_case+0x1a5/0x480
[   19.001234]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.001502]  kthread+0x337/0x6f0
[   19.001676]  ret_from_fork+0x116/0x1d0
[   19.001812]  ret_from_fork_asm+0x1a/0x30
[   19.002025] 
[   19.002127] kfence-#81: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.002127] 
[   19.002450] allocated by task 330 on cpu 1 at 18.999167s (0.003280s ago):
[   19.002790]  test_alloc+0x2a6/0x10f0
[   19.002984]  test_corruption+0xe6/0x3e0
[   19.003133]  kunit_try_run_case+0x1a5/0x480
[   19.003340]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.003535]  kthread+0x337/0x6f0
[   19.003716]  ret_from_fork+0x116/0x1d0
[   19.003909]  ret_from_fork_asm+0x1a/0x30
[   19.004431] 
[   19.004540] freed by task 330 on cpu 1 at 18.999227s (0.005311s ago):
[   19.004989]  test_corruption+0x131/0x3e0
[   19.005490]  kunit_try_run_case+0x1a5/0x480
[   19.005698]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.006054]  kthread+0x337/0x6f0
[   19.006428]  ret_from_fork+0x116/0x1d0
[   19.006617]  ret_from_fork_asm+0x1a/0x30
[   19.006801] 
[   19.007069] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.007710] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.007947] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.008488] ==================================================================
[   19.415246] ==================================================================
[   19.415671] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   19.415671] 
[   19.416023] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#85):
[   19.416799]  test_corruption+0x216/0x3e0
[   19.417009]  kunit_try_run_case+0x1a5/0x480
[   19.417216]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.417434]  kthread+0x337/0x6f0
[   19.417628]  ret_from_fork+0x116/0x1d0
[   19.417814]  ret_from_fork_asm+0x1a/0x30
[   19.418482] 
[   19.418562] kfence-#85: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.418562] 
[   19.419161] allocated by task 330 on cpu 1 at 19.415126s (0.004032s ago):
[   19.419627]  test_alloc+0x2a6/0x10f0
[   19.419938]  test_corruption+0x1cb/0x3e0
[   19.420131]  kunit_try_run_case+0x1a5/0x480
[   19.420455]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.420776]  kthread+0x337/0x6f0
[   19.420967]  ret_from_fork+0x116/0x1d0
[   19.421143]  ret_from_fork_asm+0x1a/0x30
[   19.421328] 
[   19.421407] freed by task 330 on cpu 1 at 19.415165s (0.006240s ago):
[   19.421704]  test_corruption+0x216/0x3e0
[   19.422194]  kunit_try_run_case+0x1a5/0x480
[   19.422372]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.422661]  kthread+0x337/0x6f0
[   19.422792]  ret_from_fork+0x116/0x1d0
[   19.422935]  ret_from_fork_asm+0x1a/0x30
[   19.423197] 
[   19.423530] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.424163] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.424342] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.424624] ==================================================================