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

Environment
qemu-arm64
qemu-x86_64

[   22.500400] ==================================================================
[   22.500495] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   22.500495] 
[   22.500557] Corrupted memory at 0x0000000043af3f32 [ ! ] (in kfence-#106):
[   22.500677]  test_corruption+0x1d8/0x378
[   22.500722]  kunit_try_run_case+0x170/0x3f0
[   22.500765]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.500808]  kthread+0x328/0x630
[   22.500847]  ret_from_fork+0x10/0x20
[   22.500899] 
[   22.500923] kfence-#106: 0x0000000037388ed5-0x00000000f6b63d92, size=32, cache=test
[   22.500923] 
[   22.500979] allocated by task 313 on cpu 1 at 22.500246s (0.000729s ago):
[   22.501039]  test_alloc+0x230/0x628
[   22.501078]  test_corruption+0x198/0x378
[   22.501118]  kunit_try_run_case+0x170/0x3f0
[   22.501156]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.501200]  kthread+0x328/0x630
[   22.501236]  ret_from_fork+0x10/0x20
[   22.501274] 
[   22.501296] freed by task 313 on cpu 1 at 22.500305s (0.000987s ago):
[   22.501356]  test_corruption+0x1d8/0x378
[   22.501396]  kunit_try_run_case+0x170/0x3f0
[   22.501434]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.501476]  kthread+0x328/0x630
[   22.501511]  ret_from_fork+0x10/0x20
[   22.501550] 
[   22.501590] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   22.501664] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.501693] Hardware name: linux,dummy-virt (DT)
[   22.501725] ==================================================================
[   21.876555] ==================================================================
[   21.876666] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   21.876666] 
[   21.876734] Corrupted memory at 0x00000000e95888d2 [ ! . . . . . . . . . . . . . . . ] (in kfence-#100):
[   21.877852]  test_corruption+0x278/0x378
[   21.877922]  kunit_try_run_case+0x170/0x3f0
[   21.877970]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.878013]  kthread+0x328/0x630
[   21.878054]  ret_from_fork+0x10/0x20
[   21.878093] 
[   21.878117] kfence-#100: 0x0000000048d1737a-0x0000000048940ac0, size=32, cache=kmalloc-32
[   21.878117] 
[   21.878175] allocated by task 311 on cpu 1 at 21.876260s (0.001911s ago):
[   21.878236]  test_alloc+0x29c/0x628
[   21.878277]  test_corruption+0xdc/0x378
[   21.878317]  kunit_try_run_case+0x170/0x3f0
[   21.878356]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.878400]  kthread+0x328/0x630
[   21.878436]  ret_from_fork+0x10/0x20
[   21.878475] 
[   21.878498] freed by task 311 on cpu 1 at 21.876374s (0.002120s ago):
[   21.878557]  test_corruption+0x278/0x378
[   21.878597]  kunit_try_run_case+0x170/0x3f0
[   21.878636]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.878679]  kthread+0x328/0x630
[   21.878715]  ret_from_fork+0x10/0x20
[   21.878754] 
[   21.878802] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   21.878891] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.878921] Hardware name: linux,dummy-virt (DT)
[   21.878955] ==================================================================
[   22.188316] ==================================================================
[   22.188414] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   22.188414] 
[   22.188473] Corrupted memory at 0x00000000a8a61fc0 [ ! . . . . . . . . . . . . . . . ] (in kfence-#103):
[   22.188785]  test_corruption+0x120/0x378
[   22.188833]  kunit_try_run_case+0x170/0x3f0
[   22.188894]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.188939]  kthread+0x328/0x630
[   22.188977]  ret_from_fork+0x10/0x20
[   22.189018] 
[   22.189043] kfence-#103: 0x00000000e6eba922-0x000000003b385a3a, size=32, cache=test
[   22.189043] 
[   22.189097] allocated by task 313 on cpu 1 at 22.188165s (0.000928s ago):
[   22.189158]  test_alloc+0x230/0x628
[   22.189199]  test_corruption+0xdc/0x378
[   22.189237]  kunit_try_run_case+0x170/0x3f0
[   22.189277]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.189321]  kthread+0x328/0x630
[   22.189357]  ret_from_fork+0x10/0x20
[   22.189396] 
[   22.189419] freed by task 313 on cpu 1 at 22.188230s (0.001185s ago):
[   22.189479]  test_corruption+0x120/0x378
[   22.189519]  kunit_try_run_case+0x170/0x3f0
[   22.189560]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.189604]  kthread+0x328/0x630
[   22.189642]  ret_from_fork+0x10/0x20
[   22.189680] 
[   22.189724] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   22.189801] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.189829] Hardware name: linux,dummy-virt (DT)
[   22.189878] ==================================================================
[   22.084533] ==================================================================
[   22.084631] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   22.084631] 
[   22.084695] Corrupted memory at 0x00000000faf2afbb [ ! ] (in kfence-#102):
[   22.084825]  test_corruption+0x284/0x378
[   22.084887]  kunit_try_run_case+0x170/0x3f0
[   22.084930]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.084975]  kthread+0x328/0x630
[   22.085018]  ret_from_fork+0x10/0x20
[   22.085058] 
[   22.085083] kfence-#102: 0x00000000a9de398f-0x00000000940177bb, size=32, cache=kmalloc-32
[   22.085083] 
[   22.085138] allocated by task 311 on cpu 1 at 22.084246s (0.000887s ago):
[   22.085199]  test_alloc+0x29c/0x628
[   22.085239]  test_corruption+0x198/0x378
[   22.085278]  kunit_try_run_case+0x170/0x3f0
[   22.085317]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.085359]  kthread+0x328/0x630
[   22.085394]  ret_from_fork+0x10/0x20
[   22.085432] 
[   22.085456] freed by task 311 on cpu 1 at 22.084353s (0.001099s ago):
[   22.085516]  test_corruption+0x284/0x378
[   22.085554]  kunit_try_run_case+0x170/0x3f0
[   22.085593]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.085634]  kthread+0x328/0x630
[   22.085671]  ret_from_fork+0x10/0x20
[   22.085710] 
[   22.085751] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   22.085827] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.085856] Hardware name: linux,dummy-virt (DT)
[   22.085898] ==================================================================

[   18.779266] ==================================================================
[   18.779687] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   18.779687] 
[   18.780023] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#85):
[   18.780643]  test_corruption+0x131/0x3e0
[   18.780825]  kunit_try_run_case+0x1a5/0x480
[   18.780979]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.781247]  kthread+0x337/0x6f0
[   18.781423]  ret_from_fork+0x116/0x1d0
[   18.781626]  ret_from_fork_asm+0x1a/0x30
[   18.781788] 
[   18.781867] kfence-#85: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.781867] 
[   18.782298] allocated by task 330 on cpu 0 at 18.779143s (0.003152s ago):
[   18.782597]  test_alloc+0x2a6/0x10f0
[   18.782771]  test_corruption+0xe6/0x3e0
[   18.782950]  kunit_try_run_case+0x1a5/0x480
[   18.783149]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.783371]  kthread+0x337/0x6f0
[   18.783535]  ret_from_fork+0x116/0x1d0
[   18.783758]  ret_from_fork_asm+0x1a/0x30
[   18.783931] 
[   18.784021] freed by task 330 on cpu 0 at 18.779199s (0.004819s ago):
[   18.784331]  test_corruption+0x131/0x3e0
[   18.784535]  kunit_try_run_case+0x1a5/0x480
[   18.784736]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.784961]  kthread+0x337/0x6f0
[   18.785138]  ret_from_fork+0x116/0x1d0
[   18.785277]  ret_from_fork_asm+0x1a/0x30
[   18.785422] 
[   18.785519] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.786005] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.786224] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.786520] ==================================================================
[   18.675425] ==================================================================
[   18.675843] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   18.675843] 
[   18.676161] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#84):
[   18.676554]  test_corruption+0x2df/0x3e0
[   18.676772]  kunit_try_run_case+0x1a5/0x480
[   18.677013]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.677201]  kthread+0x337/0x6f0
[   18.677460]  ret_from_fork+0x116/0x1d0
[   18.677806]  ret_from_fork_asm+0x1a/0x30
[   18.678041] 
[   18.678131] kfence-#84: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.678131] 
[   18.678439] allocated by task 328 on cpu 1 at 18.675163s (0.003274s ago):
[   18.678755]  test_alloc+0x364/0x10f0
[   18.678986]  test_corruption+0x1cb/0x3e0
[   18.679138]  kunit_try_run_case+0x1a5/0x480
[   18.679293]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.679553]  kthread+0x337/0x6f0
[   18.679792]  ret_from_fork+0x116/0x1d0
[   18.679999]  ret_from_fork_asm+0x1a/0x30
[   18.680210] 
[   18.680309] freed by task 328 on cpu 1 at 18.675269s (0.005037s ago):
[   18.680572]  test_corruption+0x2df/0x3e0
[   18.680776]  kunit_try_run_case+0x1a5/0x480
[   18.680938]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.681126]  kthread+0x337/0x6f0
[   18.681250]  ret_from_fork+0x116/0x1d0
[   18.681439]  ret_from_fork_asm+0x1a/0x30
[   18.681635] 
[   18.681763] CPU: 1 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.682314] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.682455] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.682950] ==================================================================
[   18.571260] ==================================================================
[   18.571634] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   18.571634] 
[   18.572002] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#83):
[   18.572599]  test_corruption+0x2d2/0x3e0
[   18.573156]  kunit_try_run_case+0x1a5/0x480
[   18.573404]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.573779]  kthread+0x337/0x6f0
[   18.573938]  ret_from_fork+0x116/0x1d0
[   18.574136]  ret_from_fork_asm+0x1a/0x30
[   18.574345] 
[   18.574422] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.574422] 
[   18.574874] allocated by task 328 on cpu 1 at 18.571110s (0.003761s ago):
[   18.575129]  test_alloc+0x364/0x10f0
[   18.575307]  test_corruption+0xe6/0x3e0
[   18.575511]  kunit_try_run_case+0x1a5/0x480
[   18.575823]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.576118]  kthread+0x337/0x6f0
[   18.576249]  ret_from_fork+0x116/0x1d0
[   18.576436]  ret_from_fork_asm+0x1a/0x30
[   18.576612] 
[   18.576687] freed by task 328 on cpu 1 at 18.571189s (0.005495s ago):
[   18.577018]  test_corruption+0x2d2/0x3e0
[   18.577214]  kunit_try_run_case+0x1a5/0x480
[   18.577386]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.577603]  kthread+0x337/0x6f0
[   18.577798]  ret_from_fork+0x116/0x1d0
[   18.578003]  ret_from_fork_asm+0x1a/0x30
[   18.578194] 
[   18.578311] CPU: 1 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.578809] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.579017] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.579327] ==================================================================
[   18.987248] ==================================================================
[   18.987658] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   18.987658] 
[   18.987959] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#87):
[   18.988348]  test_corruption+0x216/0x3e0
[   18.988556]  kunit_try_run_case+0x1a5/0x480
[   18.988729]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.988951]  kthread+0x337/0x6f0
[   18.989148]  ret_from_fork+0x116/0x1d0
[   18.989352]  ret_from_fork_asm+0x1a/0x30
[   18.989525] 
[   18.989644] kfence-#87: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.989644] 
[   18.989943] allocated by task 330 on cpu 0 at 18.987119s (0.002822s ago):
[   18.990291]  test_alloc+0x2a6/0x10f0
[   18.990467]  test_corruption+0x1cb/0x3e0
[   18.990691]  kunit_try_run_case+0x1a5/0x480
[   18.990841]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.991033]  kthread+0x337/0x6f0
[   18.991214]  ret_from_fork+0x116/0x1d0
[   18.991405]  ret_from_fork_asm+0x1a/0x30
[   18.991601] 
[   18.991685] freed by task 330 on cpu 0 at 18.987175s (0.004507s ago):
[   18.991897]  test_corruption+0x216/0x3e0
[   18.992079]  kunit_try_run_case+0x1a5/0x480
[   18.992290]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.992554]  kthread+0x337/0x6f0
[   18.992724]  ret_from_fork+0x116/0x1d0
[   18.992941]  ret_from_fork_asm+0x1a/0x30
[   18.993128] 
[   18.993225] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.993618] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.993816] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.994218] ==================================================================