Hay
Date
July 15, 2025, 2:10 p.m.

Environment
qemu-arm64
qemu-i386
qemu-x86_64

[  109.590436] ==================================================================
[  109.591084] BUG: KFENCE: invalid free in test_double_free+0x120/0x1b0
[  109.591084] 
[  109.591721] Invalid free of 0x000000003906e69e (in kfence-#146):
[  109.592868]  test_double_free+0x120/0x1b0
[  109.593366]  kunit_try_run_case+0x8c/0x124
[  109.593900]  kunit_generic_run_threadfn_adapter+0x38/0x54
[  109.594570]  kthread+0x15c/0x170
[  109.595040]  ret_from_fork+0x10/0x20
[  109.595505] 
[  109.595768] kfence-#146: 0x000000003906e69e-0x000000008c5e567e, size=32, cache=kmalloc-128
[  109.595768] 
[  109.596597] allocated by task 265 on cpu 0 at 109.589096s:
[  109.597274]  test_alloc+0x1e8/0x3b4
[  109.597673]  test_double_free+0xe0/0x1b0
[  109.598159]  kunit_try_run_case+0x8c/0x124
[  109.598631]  kunit_generic_run_threadfn_adapter+0x38/0x54
[  109.599221]  kthread+0x15c/0x170
[  109.599632]  ret_from_fork+0x10/0x20
[  109.600069] 
[  109.600282] freed by task 265 on cpu 0 at 109.589618s:
[  109.600981]  test_double_free+0x104/0x1b0
[  109.601424]  kunit_try_run_case+0x8c/0x124
[  109.601948]  kunit_generic_run_threadfn_adapter+0x38/0x54
[  109.602544]  kthread+0x15c/0x170
[  109.603005]  ret_from_fork+0x10/0x20
[  109.603453] 
[  109.603690] CPU: 0 PID: 265 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[  109.604449] Hardware name: linux,dummy-virt (DT)
[  109.604926] ==================================================================
[  109.694450] ==================================================================
[  109.695195] BUG: KFENCE: invalid free in test_double_free+0x114/0x1b0
[  109.695195] 
[  109.695997] Invalid free of 0x000000009b89da6e (in kfence-#147):
[  109.696653]  test_double_free+0x114/0x1b0
[  109.697299]  kunit_try_run_case+0x8c/0x124
[  109.697856]  kunit_generic_run_threadfn_adapter+0x38/0x54
[  109.698460]  kthread+0x15c/0x170
[  109.698913]  ret_from_fork+0x10/0x20
[  109.699416] 
[  109.699630] kfence-#147: 0x000000009b89da6e-0x00000000fae13731, size=32, cache=test
[  109.699630] 
[  109.700436] allocated by task 266 on cpu 0 at 109.693219s:
[  109.701063]  test_alloc+0x1d8/0x3b4
[  109.701503]  test_double_free+0xe0/0x1b0
[  109.701937]  kunit_try_run_case+0x8c/0x124
[  109.702451]  kunit_generic_run_threadfn_adapter+0x38/0x54
[  109.703046]  kthread+0x15c/0x170
[  109.703446]  ret_from_fork+0x10/0x20
[  109.703914] 
[  109.704136] freed by task 266 on cpu 0 at 109.693731s:
[  109.704790]  test_double_free+0xfc/0x1b0
[  109.705224]  kunit_try_run_case+0x8c/0x124
[  109.705735]  kunit_generic_run_threadfn_adapter+0x38/0x54
[  109.706342]  kthread+0x15c/0x170
[  109.706752]  ret_from_fork+0x10/0x20
[  109.707217] 
[  109.707467] CPU: 0 PID: 266 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[  109.708225] Hardware name: linux,dummy-virt (DT)
[  109.708710] ==================================================================

[   15.963247] ==================================================================
[   15.963541] BUG: KFENCE: invalid free in test_double_free+0x85/0xdb
[   15.963541] 
[   15.963756] Invalid free of 0x(ptrval) (in kfence-#32):
[   15.964011]  test_double_free+0x85/0xdb
[   15.964198]  kunit_try_run_case+0x52/0x80
[   15.964365]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   15.964506]  kthread+0xda/0x100
[   15.964643]  ret_from_fork+0x1c/0x28
[   15.964787] 
[   15.964836] kfence-#32: 0x(ptrval)-0x(ptrval), size=32, cache=test
[   15.964836] 
[   15.965136] allocated by task 206 on cpu 1 at 15.963113s:
[   15.965336]  test_alloc+0xb7/0x224
[   15.965467]  test_double_free+0x56/0xdb
[   15.965582]  kunit_try_run_case+0x52/0x80
[   15.965691]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   15.965837]  kthread+0xda/0x100
[   15.965984]  ret_from_fork+0x1c/0x28
[   15.966136] 
[   15.966210] freed by task 206 on cpu 1 at 15.963168s:
[   15.966384]  test_double_free+0x6c/0xdb
[   15.966521]  kunit_try_run_case+0x52/0x80
[   15.966685]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   15.966845]  kthread+0xda/0x100
[   15.966946]  ret_from_fork+0x1c/0x28
[   15.967061] 
[   15.967141] CPU: 1 PID: 206 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[   15.967489] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.967822] ==================================================================
[   15.859325] ==================================================================
[   15.859634] BUG: KFENCE: invalid free in test_double_free+0x8e/0xdb
[   15.859634] 
[   15.859924] Invalid free of 0x(ptrval) (in kfence-#31):
[   15.860168]  test_double_free+0x8e/0xdb
[   15.860312]  kunit_try_run_case+0x52/0x80
[   15.860423]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   15.860644]  kthread+0xda/0x100
[   15.860788]  ret_from_fork+0x1c/0x28
[   15.860900] 
[   15.860951] kfence-#31: 0x(ptrval)-0x(ptrval), size=32, cache=kmalloc-32
[   15.860951] 
[   15.861277] allocated by task 205 on cpu 1 at 15.859113s:
[   15.861516]  test_alloc+0xc2/0x224
[   15.861667]  test_double_free+0x56/0xdb
[   15.861845]  kunit_try_run_case+0x52/0x80
[   15.862142]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   15.862279]  kthread+0xda/0x100
[   15.862365]  ret_from_fork+0x1c/0x28
[   15.862460] 
[   15.862508] freed by task 205 on cpu 1 at 15.859185s:
[   15.862668]  test_double_free+0x75/0xdb
[   15.863082]  kunit_try_run_case+0x52/0x80
[   15.863402]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   15.863870]  kthread+0xda/0x100
[   15.864116]  ret_from_fork+0x1c/0x28
[   15.864212] 
[   15.864307] CPU: 1 PID: 205 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[   15.864598] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.864940] ==================================================================

[   34.242272] ==================================================================
[   34.242813] BUG: KFENCE: invalid free in test_double_free+0x10a/0x187
[   34.242813] 
[   34.243372] Invalid free of 0x(____ptrval____) (in kfence-#92):
[   34.243787]  test_double_free+0x10a/0x187
[   34.244045]  kunit_try_run_case+0x8f/0xd0
[   34.244264]  kunit_generic_run_threadfn_adapter+0x2f/0x50
[   34.244693]  kthread+0x17b/0x1b0
[   34.244970]  ret_from_fork+0x22/0x30
[   34.245221] 
[   34.245358] kfence-#92: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   34.245358] 
[   34.245753] allocated by task 285 on cpu 0 at 34.241776s:
[   34.246141]  test_alloc+0x21e/0x7f3
[   34.246474]  test_double_free+0xc7/0x187
[   34.246704]  kunit_try_run_case+0x8f/0xd0
[   34.246939]  kunit_generic_run_threadfn_adapter+0x2f/0x50
[   34.247227]  kthread+0x17b/0x1b0
[   34.247940]  ret_from_fork+0x22/0x30
[   34.248222] 
[   34.248433] freed by task 285 on cpu 0 at 34.241934s:
[   34.248814]  test_double_free+0xec/0x187
[   34.249137]  kunit_try_run_case+0x8f/0xd0
[   34.249528]  kunit_generic_run_threadfn_adapter+0x2f/0x50
[   34.249835]  kthread+0x17b/0x1b0
[   34.250048]  ret_from_fork+0x22/0x30
[   34.250491] 
[   34.250694] CPU: 0 PID: 285 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[   34.251208] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.251728] ==================================================================
[   34.346278] ==================================================================
[   34.346733] BUG: KFENCE: invalid free in test_double_free+0x100/0x187
[   34.346733] 
[   34.347118] Invalid free of 0x(____ptrval____) (in kfence-#93):
[   34.347460]  test_double_free+0x100/0x187
[   34.348223]  kunit_try_run_case+0x8f/0xd0
[   34.348497]  kunit_generic_run_threadfn_adapter+0x2f/0x50
[   34.348791]  kthread+0x17b/0x1b0
[   34.348997]  ret_from_fork+0x22/0x30
[   34.349232] 
[   34.349716] kfence-#93: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   34.349716] 
[   34.350245] allocated by task 286 on cpu 0 at 34.345862s:
[   34.350753]  test_alloc+0x20d/0x7f3
[   34.350977]  test_double_free+0xc7/0x187
[   34.351213]  kunit_try_run_case+0x8f/0xd0
[   34.351448]  kunit_generic_run_threadfn_adapter+0x2f/0x50
[   34.351727]  kthread+0x17b/0x1b0
[   34.351919]  ret_from_fork+0x22/0x30
[   34.352124] 
[   34.352638] freed by task 286 on cpu 0 at 34.346021s:
[   34.353036]  test_double_free+0xe2/0x187
[   34.353463]  kunit_try_run_case+0x8f/0xd0
[   34.353782]  kunit_generic_run_threadfn_adapter+0x2f/0x50
[   34.354153]  kthread+0x17b/0x1b0
[   34.354488]  ret_from_fork+0x22/0x30
[   34.354787] 
[   34.354985] CPU: 0 PID: 286 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[   34.355493] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.355986] ==================================================================