Hay
Date
July 5, 2025, 11:11 p.m.

Environment
qemu-arm64
qemu-x86_64

[   24.308562] ==================================================================
[   24.308660] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   24.308660] 
[   24.308834] Corrupted memory at 0x000000009255a7a3 [ ! ] (in kfence-#102):
[   24.308954]  test_corruption+0x1d8/0x378
[   24.309003]  kunit_try_run_case+0x170/0x3f0
[   24.309044]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.309090]  kthread+0x328/0x630
[   24.309128]  ret_from_fork+0x10/0x20
[   24.309182] 
[   24.309206] kfence-#102: 0x000000000823a8ad-0x00000000dd714a73, size=32, cache=test
[   24.309206] 
[   24.309259] allocated by task 313 on cpu 1 at 24.308418s (0.000837s ago):
[   24.309319]  test_alloc+0x230/0x628
[   24.309360]  test_corruption+0x198/0x378
[   24.309400]  kunit_try_run_case+0x170/0x3f0
[   24.309438]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.309482]  kthread+0x328/0x630
[   24.309517]  ret_from_fork+0x10/0x20
[   24.309557] 
[   24.309579] freed by task 313 on cpu 1 at 24.308477s (0.001099s ago):
[   24.309639]  test_corruption+0x1d8/0x378
[   24.309679]  kunit_try_run_case+0x170/0x3f0
[   24.309719]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.309763]  kthread+0x328/0x630
[   24.309797]  ret_from_fork+0x10/0x20
[   24.309836] 
[   24.309877] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   24.309949] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.309977] Hardware name: linux,dummy-virt (DT)
[   24.310011] ==================================================================
[   24.102593] ==================================================================
[   24.102691] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   24.102691] 
[   24.102753] Corrupted memory at 0x00000000b7cbffa1 [ ! . . . . . . . . . . . . . . . ] (in kfence-#100):
[   24.103061]  test_corruption+0x120/0x378
[   24.103108]  kunit_try_run_case+0x170/0x3f0
[   24.103166]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.103211]  kthread+0x328/0x630
[   24.103247]  ret_from_fork+0x10/0x20
[   24.103287] 
[   24.103312] kfence-#100: 0x00000000fd8fa7bc-0x00000000dfadc28e, size=32, cache=test
[   24.103312] 
[   24.103365] allocated by task 313 on cpu 1 at 24.102440s (0.000922s ago):
[   24.103426]  test_alloc+0x230/0x628
[   24.103467]  test_corruption+0xdc/0x378
[   24.103507]  kunit_try_run_case+0x170/0x3f0
[   24.103546]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.103589]  kthread+0x328/0x630
[   24.103625]  ret_from_fork+0x10/0x20
[   24.103664] 
[   24.103686] freed by task 313 on cpu 1 at 24.102508s (0.001174s ago):
[   24.103747]  test_corruption+0x120/0x378
[   24.103787]  kunit_try_run_case+0x170/0x3f0
[   24.103825]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.103876]  kthread+0x328/0x630
[   24.103956]  ret_from_fork+0x10/0x20
[   24.104000] 
[   24.104039] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   24.104114] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.104142] Hardware name: linux,dummy-virt (DT)
[   24.104189] ==================================================================
[   23.996657] ==================================================================
[   23.996754] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   23.996754] 
[   23.996821] Corrupted memory at 0x000000004e0bdfef [ ! ] (in kfence-#99):
[   23.996947]  test_corruption+0x284/0x378
[   23.996995]  kunit_try_run_case+0x170/0x3f0
[   23.997036]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.997079]  kthread+0x328/0x630
[   23.997116]  ret_from_fork+0x10/0x20
[   23.997172] 
[   23.997197] kfence-#99: 0x000000006aaf1548-0x00000000f5ef362f, size=32, cache=kmalloc-32
[   23.997197] 
[   23.997254] allocated by task 311 on cpu 1 at 23.996381s (0.000869s ago):
[   23.997316]  test_alloc+0x29c/0x628
[   23.997355]  test_corruption+0x198/0x378
[   23.997395]  kunit_try_run_case+0x170/0x3f0
[   23.997434]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.997478]  kthread+0x328/0x630
[   23.997514]  ret_from_fork+0x10/0x20
[   23.997552] 
[   23.997575] freed by task 311 on cpu 1 at 23.996486s (0.001085s ago):
[   23.997633]  test_corruption+0x284/0x378
[   23.997673]  kunit_try_run_case+0x170/0x3f0
[   23.997711]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.997754]  kthread+0x328/0x630
[   23.997790]  ret_from_fork+0x10/0x20
[   23.997828] 
[   23.997867] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.997941] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.997969] Hardware name: linux,dummy-virt (DT)
[   23.998003] ==================================================================
[   23.580696] ==================================================================
[   23.580803] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   23.580803] 
[   23.580873] Corrupted memory at 0x000000007472691d [ ! . . . . . . . . . . . . . . . ] (in kfence-#95):
[   23.581970]  test_corruption+0x278/0x378
[   23.582022]  kunit_try_run_case+0x170/0x3f0
[   23.582069]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.582115]  kthread+0x328/0x630
[   23.582183]  ret_from_fork+0x10/0x20
[   23.582224] 
[   23.582250] kfence-#95: 0x00000000c4b74de1-0x0000000020b159f5, size=32, cache=kmalloc-32
[   23.582250] 
[   23.582306] allocated by task 311 on cpu 1 at 23.580402s (0.001901s ago):
[   23.582369]  test_alloc+0x29c/0x628
[   23.582411]  test_corruption+0xdc/0x378
[   23.582453]  kunit_try_run_case+0x170/0x3f0
[   23.582494]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.582539]  kthread+0x328/0x630
[   23.582573]  ret_from_fork+0x10/0x20
[   23.582612] 
[   23.582637] freed by task 311 on cpu 1 at 23.580511s (0.002121s ago):
[   23.582696]  test_corruption+0x278/0x378
[   23.582735]  kunit_try_run_case+0x170/0x3f0
[   23.582775]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.582818]  kthread+0x328/0x630
[   23.582854]  ret_from_fork+0x10/0x20
[   23.582893] 
[   23.582943] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.583025] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.583055] Hardware name: linux,dummy-virt (DT)
[   23.583090] ==================================================================

[   20.703719] ==================================================================
[   20.704350] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   20.704350] 
[   20.704762] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#94):
[   20.705430]  test_corruption+0x2d2/0x3e0
[   20.706146]  kunit_try_run_case+0x1a5/0x480
[   20.706532]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.706977]  kthread+0x337/0x6f0
[   20.707190]  ret_from_fork+0x116/0x1d0
[   20.707392]  ret_from_fork_asm+0x1a/0x30
[   20.707613] 
[   20.707714] kfence-#94: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   20.707714] 
[   20.708156] allocated by task 329 on cpu 0 at 20.703519s (0.004634s ago):
[   20.708875]  test_alloc+0x364/0x10f0
[   20.709244]  test_corruption+0xe6/0x3e0
[   20.709468]  kunit_try_run_case+0x1a5/0x480
[   20.709847]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.710247]  kthread+0x337/0x6f0
[   20.710522]  ret_from_fork+0x116/0x1d0
[   20.710815]  ret_from_fork_asm+0x1a/0x30
[   20.711104] 
[   20.711304] freed by task 329 on cpu 0 at 20.703636s (0.007665s ago):
[   20.711641]  test_corruption+0x2d2/0x3e0
[   20.711869]  kunit_try_run_case+0x1a5/0x480
[   20.712098]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.712615]  kthread+0x337/0x6f0
[   20.712899]  ret_from_fork+0x116/0x1d0
[   20.713088]  ret_from_fork_asm+0x1a/0x30
[   20.713487] 
[   20.713641] CPU: 0 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   20.714372] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.714674] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.715213] ==================================================================
[   21.119724] ==================================================================
[   21.120279] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   21.120279] 
[   21.120733] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#98):
[   21.121462]  test_corruption+0x131/0x3e0
[   21.122145]  kunit_try_run_case+0x1a5/0x480
[   21.122434]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.122684]  kthread+0x337/0x6f0
[   21.122907]  ret_from_fork+0x116/0x1d0
[   21.123131]  ret_from_fork_asm+0x1a/0x30
[   21.123329] 
[   21.123423] kfence-#98: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   21.123423] 
[   21.123906] allocated by task 331 on cpu 1 at 21.119563s (0.004341s ago):
[   21.124182]  test_alloc+0x2a6/0x10f0
[   21.124399]  test_corruption+0xe6/0x3e0
[   21.124640]  kunit_try_run_case+0x1a5/0x480
[   21.124852]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.125169]  kthread+0x337/0x6f0
[   21.125379]  ret_from_fork+0x116/0x1d0
[   21.125585]  ret_from_fork_asm+0x1a/0x30
[   21.125808] 
[   21.125895] freed by task 331 on cpu 1 at 21.119636s (0.006256s ago):
[   21.126313]  test_corruption+0x131/0x3e0
[   21.126536]  kunit_try_run_case+0x1a5/0x480
[   21.126706]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.126919]  kthread+0x337/0x6f0
[   21.127117]  ret_from_fork+0x116/0x1d0
[   21.127336]  ret_from_fork_asm+0x1a/0x30
[   21.127597] 
[   21.127857] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   21.128242] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.128523] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   21.128987] ==================================================================
[   21.223679] ==================================================================
[   21.224133] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   21.224133] 
[   21.224513] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#99):
[   21.224979]  test_corruption+0x216/0x3e0
[   21.225190]  kunit_try_run_case+0x1a5/0x480
[   21.225498]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.225799]  kthread+0x337/0x6f0
[   21.225974]  ret_from_fork+0x116/0x1d0
[   21.226135]  ret_from_fork_asm+0x1a/0x30
[   21.226428] 
[   21.226558] kfence-#99: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   21.226558] 
[   21.227055] allocated by task 331 on cpu 1 at 21.223531s (0.003522s ago):
[   21.227316]  test_alloc+0x2a6/0x10f0
[   21.227709]  test_corruption+0x1cb/0x3e0
[   21.227893]  kunit_try_run_case+0x1a5/0x480
[   21.228066]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.228541]  kthread+0x337/0x6f0
[   21.228747]  ret_from_fork+0x116/0x1d0
[   21.228986]  ret_from_fork_asm+0x1a/0x30
[   21.229229] 
[   21.229382] freed by task 331 on cpu 1 at 21.223604s (0.005776s ago):
[   21.229636]  test_corruption+0x216/0x3e0
[   21.229878]  kunit_try_run_case+0x1a5/0x480
[   21.230106]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.230360]  kthread+0x337/0x6f0
[   21.230508]  ret_from_fork+0x116/0x1d0
[   21.230702]  ret_from_fork_asm+0x1a/0x30
[   21.230944] 
[   21.231085] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   21.231645] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.231857] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   21.232319] ==================================================================
[   20.911816] ==================================================================
[   20.912353] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   20.912353] 
[   20.912671] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#96):
[   20.913609]  test_corruption+0x2df/0x3e0
[   20.913861]  kunit_try_run_case+0x1a5/0x480
[   20.914059]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.914717]  kthread+0x337/0x6f0
[   20.914896]  ret_from_fork+0x116/0x1d0
[   20.915249]  ret_from_fork_asm+0x1a/0x30
[   20.915628] 
[   20.915750] kfence-#96: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   20.915750] 
[   20.916213] allocated by task 329 on cpu 0 at 20.911499s (0.004711s ago):
[   20.916843]  test_alloc+0x364/0x10f0
[   20.917189]  test_corruption+0x1cb/0x3e0
[   20.917509]  kunit_try_run_case+0x1a5/0x480
[   20.917830]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.918220]  kthread+0x337/0x6f0
[   20.918409]  ret_from_fork+0x116/0x1d0
[   20.918737]  ret_from_fork_asm+0x1a/0x30
[   20.918982] 
[   20.919079] freed by task 329 on cpu 0 at 20.911611s (0.007465s ago):
[   20.919612]  test_corruption+0x2df/0x3e0
[   20.919925]  kunit_try_run_case+0x1a5/0x480
[   20.920261]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.920550]  kthread+0x337/0x6f0
[   20.920752]  ret_from_fork+0x116/0x1d0
[   20.920972]  ret_from_fork_asm+0x1a/0x30
[   20.921171] 
[   20.921593] CPU: 0 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   20.922248] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.922567] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.923098] ==================================================================