Hay
Date
June 2, 2025, 2:11 p.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   67.306794] ==================================================================
[   67.306921] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   67.306921] 
[   67.307045] Invalid free of 0x(____ptrval____) (in kfence-#122):
[   67.307148]  test_double_free+0x100/0x238
[   67.309625]  kunit_try_run_case+0x170/0x3f0
[   67.313792]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   67.319260]  kthread+0x328/0x630
[   67.322472]  ret_from_fork+0x10/0x20
[   67.326031] 
[   67.327511] kfence-#122: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   67.327511] 
[   67.336624] allocated by task 352 on cpu 3 at 67.306730s (0.029892s ago):
[   67.343403]  test_alloc+0x230/0x628
[   67.346864]  test_double_free+0xd4/0x238
[   67.350770]  kunit_try_run_case+0x170/0x3f0
[   67.354937]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   67.360406]  kthread+0x328/0x630
[   67.363617]  ret_from_fork+0x10/0x20
[   67.367178] 
[   67.368654] freed by task 352 on cpu 3 at 67.306745s (0.061905s ago):
[   67.375086]  test_double_free+0xf0/0x238
[   67.378982]  kunit_try_run_case+0x170/0x3f0
[   67.383148]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   67.388617]  kthread+0x328/0x630
[   67.391829]  ret_from_fork+0x10/0x20
[   67.395389] 
[   67.396873] CPU: 3 UID: 0 PID: 352 Comm: kunit_try_catch Tainted: G    B            N  6.15.1-rc1 #1 PREEMPT 
[   67.406767] Tainted: [B]=BAD_PAGE, [N]=TEST
[   67.410927] Hardware name: WinLink E850-96 board (DT)
[   67.415964] ==================================================================
[   67.086825] ==================================================================
[   67.086964] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   67.086964] 
[   67.087087] Invalid free of 0x(____ptrval____) (in kfence-#120):
[   67.087193]  test_double_free+0x1bc/0x238
[   67.089669]  kunit_try_run_case+0x170/0x3f0
[   67.093835]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   67.099304]  kthread+0x328/0x630
[   67.102516]  ret_from_fork+0x10/0x20
[   67.106075] 
[   67.107554] kfence-#120: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   67.107554] 
[   67.117188] allocated by task 350 on cpu 4 at 67.086748s (0.030437s ago):
[   67.123967]  test_alloc+0x29c/0x628
[   67.127429]  test_double_free+0xd4/0x238
[   67.131335]  kunit_try_run_case+0x170/0x3f0
[   67.135502]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   67.140970]  kthread+0x328/0x630
[   67.144182]  ret_from_fork+0x10/0x20
[   67.147741] 
[   67.149221] freed by task 350 on cpu 4 at 67.086765s (0.062452s ago):
[   67.155654]  test_double_free+0x1ac/0x238
[   67.159633]  kunit_try_run_case+0x170/0x3f0
[   67.163800]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   67.169268]  kthread+0x328/0x630
[   67.172480]  ret_from_fork+0x10/0x20
[   67.176041] 
[   67.177527] CPU: 4 UID: 0 PID: 350 Comm: kunit_try_catch Tainted: G    B            N  6.15.1-rc1 #1 PREEMPT 
[   67.187420] Tainted: [B]=BAD_PAGE, [N]=TEST
[   67.191578] Hardware name: WinLink E850-96 board (DT)
[   67.196616] ==================================================================

[   23.314056] ==================================================================
[   23.314147] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   23.314147] 
[   23.314207] Invalid free of 0x000000008a9850cf (in kfence-#98):
[   23.314258]  test_double_free+0x100/0x238
[   23.314303]  kunit_try_run_case+0x170/0x3f0
[   23.314367]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.314414]  kthread+0x328/0x630
[   23.314459]  ret_from_fork+0x10/0x20
[   23.314500] 
[   23.314525] kfence-#98: 0x000000008a9850cf-0x000000004a2bfa56, size=32, cache=test
[   23.314525] 
[   23.314580] allocated by task 308 on cpu 1 at 23.313863s (0.000713s ago):
[   23.314644]  test_alloc+0x230/0x628
[   23.314683]  test_double_free+0xd4/0x238
[   23.314724]  kunit_try_run_case+0x170/0x3f0
[   23.314765]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.314812]  kthread+0x328/0x630
[   23.314851]  ret_from_fork+0x10/0x20
[   23.314892] 
[   23.314916] freed by task 308 on cpu 1 at 23.313921s (0.000991s ago):
[   23.314977]  test_double_free+0xf0/0x238
[   23.315022]  kunit_try_run_case+0x170/0x3f0
[   23.315065]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.315112]  kthread+0x328/0x630
[   23.315150]  ret_from_fork+0x10/0x20
[   23.315191] 
[   23.315233] CPU: 1 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B   W        N  6.15.1-rc1 #1 PREEMPT 
[   23.315315] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   23.315345] Hardware name: linux,dummy-virt (DT)
[   23.315390] ==================================================================
[   23.210221] ==================================================================
[   23.210337] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   23.210337] 
[   23.210426] Invalid free of 0x000000002729b025 (in kfence-#97):
[   23.210492]  test_double_free+0x1bc/0x238
[   23.210539]  kunit_try_run_case+0x170/0x3f0
[   23.210585]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.210633]  kthread+0x328/0x630
[   23.210675]  ret_from_fork+0x10/0x20
[   23.210716] 
[   23.210743] kfence-#97: 0x000000002729b025-0x00000000cdf87e45, size=32, cache=kmalloc-32
[   23.210743] 
[   23.210800] allocated by task 306 on cpu 1 at 23.209910s (0.000885s ago):
[   23.210863]  test_alloc+0x29c/0x628
[   23.210904]  test_double_free+0xd4/0x238
[   23.210945]  kunit_try_run_case+0x170/0x3f0
[   23.210987]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.211042]  kthread+0x328/0x630
[   23.211083]  ret_from_fork+0x10/0x20
[   23.211122] 
[   23.211145] freed by task 306 on cpu 1 at 23.209981s (0.001161s ago):
[   23.211210]  test_double_free+0x1ac/0x238
[   23.211251]  kunit_try_run_case+0x170/0x3f0
[   23.211294]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.211342]  kthread+0x328/0x630
[   23.211393]  ret_from_fork+0x10/0x20
[   23.211434] 
[   23.211482] CPU: 1 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B   W        N  6.15.1-rc1 #1 PREEMPT 
[   23.211568] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   23.211600] Hardware name: linux,dummy-virt (DT)
[   23.211635] ==================================================================

[   24.149333] ==================================================================
[   24.149822] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   24.149822] 
[   24.150138] Invalid free of 0x(____ptrval____) (in kfence-#109):
[   24.150630]  test_double_free+0x1d3/0x260
[   24.151000]  kunit_try_run_case+0x1a5/0x480
[   24.151636]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.151919]  kthread+0x337/0x6f0
[   24.152033]  ret_from_fork+0x41/0x80
[   24.152506]  ret_from_fork_asm+0x1a/0x30
[   24.152874] 
[   24.153074] kfence-#109: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   24.153074] 
[   24.153843] allocated by task 324 on cpu 0 at 24.148820s (0.005018s ago):
[   24.154395]  test_alloc+0x364/0x10f0
[   24.154632]  test_double_free+0xdb/0x260
[   24.154910]  kunit_try_run_case+0x1a5/0x480
[   24.155153]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.155397]  kthread+0x337/0x6f0
[   24.155585]  ret_from_fork+0x41/0x80
[   24.155829]  ret_from_fork_asm+0x1a/0x30
[   24.156031] 
[   24.156229] freed by task 324 on cpu 0 at 24.148943s (0.007282s ago):
[   24.156771]  test_double_free+0x1e0/0x260
[   24.157166]  kunit_try_run_case+0x1a5/0x480
[   24.157531]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.157992]  kthread+0x337/0x6f0
[   24.158331]  ret_from_fork+0x41/0x80
[   24.158676]  ret_from_fork_asm+0x1a/0x30
[   24.158966] 
[   24.159224] CPU: 0 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.15.1-rc1 #1 PREEMPT(voluntary) 
[   24.159701] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.160067] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   24.160770] ==================================================================
[   24.253225] ==================================================================
[   24.253639] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   24.253639] 
[   24.253880] Invalid free of 0x(____ptrval____) (in kfence-#110):
[   24.254026]  test_double_free+0x112/0x260
[   24.254222]  kunit_try_run_case+0x1a5/0x480
[   24.254418]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.254812]  kthread+0x337/0x6f0
[   24.255096]  ret_from_fork+0x41/0x80
[   24.255304]  ret_from_fork_asm+0x1a/0x30
[   24.255516] 
[   24.255673] kfence-#110: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   24.255673] 
[   24.256411] allocated by task 326 on cpu 1 at 24.252928s (0.003477s ago):
[   24.256964]  test_alloc+0x2a6/0x10f0
[   24.257212]  test_double_free+0xdb/0x260
[   24.257419]  kunit_try_run_case+0x1a5/0x480
[   24.257790]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.258257]  kthread+0x337/0x6f0
[   24.258553]  ret_from_fork+0x41/0x80
[   24.258905]  ret_from_fork_asm+0x1a/0x30
[   24.259193] 
[   24.259353] freed by task 326 on cpu 1 at 24.253016s (0.006332s ago):
[   24.259888]  test_double_free+0xfa/0x260
[   24.260152]  kunit_try_run_case+0x1a5/0x480
[   24.260382]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.260630]  kthread+0x337/0x6f0
[   24.260874]  ret_from_fork+0x41/0x80
[   24.261241]  ret_from_fork_asm+0x1a/0x30
[   24.261604] 
[   24.261872] CPU: 1 UID: 0 PID: 326 Comm: kunit_try_catch Tainted: G    B            N  6.15.1-rc1 #1 PREEMPT(voluntary) 
[   24.262734] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.263130] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   24.263610] ==================================================================