Hay
Date
July 8, 2025, 11:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   23.760744] ==================================================================
[   23.760860] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   23.760860] 
[   23.760915] Invalid free of 0x000000008f2db779 (in kfence-#89):
[   23.761246]  test_double_free+0x100/0x238
[   23.761341]  kunit_try_run_case+0x170/0x3f0
[   23.761447]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.761491]  kthread+0x328/0x630
[   23.761584]  ret_from_fork+0x10/0x20
[   23.761631] 
[   23.761696] kfence-#89: 0x000000008f2db779-0x000000007a92b8db, size=32, cache=test
[   23.761696] 
[   23.761751] allocated by task 305 on cpu 0 at 23.760255s (0.001493s ago):
[   23.761821]  test_alloc+0x230/0x628
[   23.761907]  test_double_free+0xd4/0x238
[   23.762063]  kunit_try_run_case+0x170/0x3f0
[   23.762107]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.762274]  kthread+0x328/0x630
[   23.762391]  ret_from_fork+0x10/0x20
[   23.762478] 
[   23.762573] freed by task 305 on cpu 0 at 23.760313s (0.002203s ago):
[   23.762678]  test_double_free+0xf0/0x238
[   23.762754]  kunit_try_run_case+0x170/0x3f0
[   23.762796]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.762840]  kthread+0x328/0x630
[   23.762874]  ret_from_fork+0x10/0x20
[   23.762920] 
[   23.763088] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   23.763338] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.763372] Hardware name: linux,dummy-virt (DT)
[   23.763408] ==================================================================
[   23.656960] ==================================================================
[   23.657060] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   23.657060] 
[   23.657304] Invalid free of 0x0000000031b744e2 (in kfence-#88):
[   23.657403]  test_double_free+0x1bc/0x238
[   23.657455]  kunit_try_run_case+0x170/0x3f0
[   23.657501]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.657560]  kthread+0x328/0x630
[   23.657606]  ret_from_fork+0x10/0x20
[   23.657646] 
[   23.657696] kfence-#88: 0x0000000031b744e2-0x00000000d46bb556, size=32, cache=kmalloc-32
[   23.657696] 
[   23.657754] allocated by task 303 on cpu 0 at 23.656682s (0.001068s ago):
[   23.657902]  test_alloc+0x29c/0x628
[   23.657953]  test_double_free+0xd4/0x238
[   23.658022]  kunit_try_run_case+0x170/0x3f0
[   23.658067]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.658121]  kthread+0x328/0x630
[   23.658175]  ret_from_fork+0x10/0x20
[   23.658392] 
[   23.658451] freed by task 303 on cpu 0 at 23.656744s (0.001702s ago):
[   23.658545]  test_double_free+0x1ac/0x238
[   23.658661]  kunit_try_run_case+0x170/0x3f0
[   23.658918]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.659029]  kthread+0x328/0x630
[   23.659105]  ret_from_fork+0x10/0x20
[   23.659147] 
[   23.659250] CPU: 0 UID: 0 PID: 303 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   23.659394] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.659505] Hardware name: linux,dummy-virt (DT)
[   23.659588] ==================================================================

[   18.209383] ==================================================================
[   18.209807] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   18.209807] 
[   18.210140] Invalid free of 0x(____ptrval____) (in kfence-#73):
[   18.210428]  test_double_free+0x112/0x260
[   18.210693]  kunit_try_run_case+0x1a5/0x480
[   18.210848]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.211105]  kthread+0x337/0x6f0
[   18.211286]  ret_from_fork+0x116/0x1d0
[   18.211451]  ret_from_fork_asm+0x1a/0x30
[   18.211686] 
[   18.211864] kfence-#73: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.211864] 
[   18.212188] allocated by task 323 on cpu 1 at 18.209227s (0.002959s ago):
[   18.212510]  test_alloc+0x2a6/0x10f0
[   18.212715]  test_double_free+0xdb/0x260
[   18.212915]  kunit_try_run_case+0x1a5/0x480
[   18.213085]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.213301]  kthread+0x337/0x6f0
[   18.213422]  ret_from_fork+0x116/0x1d0
[   18.213556]  ret_from_fork_asm+0x1a/0x30
[   18.213761] 
[   18.213863] freed by task 323 on cpu 1 at 18.209277s (0.004584s ago):
[   18.214208]  test_double_free+0xfa/0x260
[   18.214375]  kunit_try_run_case+0x1a5/0x480
[   18.214975]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.215201]  kthread+0x337/0x6f0
[   18.215326]  ret_from_fork+0x116/0x1d0
[   18.215555]  ret_from_fork_asm+0x1a/0x30
[   18.215765] 
[   18.215890] CPU: 1 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   18.216234] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.216449] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.217248] ==================================================================
[   18.105425] ==================================================================
[   18.105875] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   18.105875] 
[   18.106306] Invalid free of 0x(____ptrval____) (in kfence-#72):
[   18.106659]  test_double_free+0x1d3/0x260
[   18.106836]  kunit_try_run_case+0x1a5/0x480
[   18.107038]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.107328]  kthread+0x337/0x6f0
[   18.107473]  ret_from_fork+0x116/0x1d0
[   18.107682]  ret_from_fork_asm+0x1a/0x30
[   18.107893] 
[   18.107966] kfence-#72: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.107966] 
[   18.108349] allocated by task 321 on cpu 1 at 18.105177s (0.003170s ago):
[   18.108686]  test_alloc+0x364/0x10f0
[   18.108917]  test_double_free+0xdb/0x260
[   18.109054]  kunit_try_run_case+0x1a5/0x480
[   18.109226]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.109502]  kthread+0x337/0x6f0
[   18.109873]  ret_from_fork+0x116/0x1d0
[   18.110227]  ret_from_fork_asm+0x1a/0x30
[   18.110517] 
[   18.110590] freed by task 321 on cpu 1 at 18.105244s (0.005344s ago):
[   18.111532]  test_double_free+0x1e0/0x260
[   18.111700]  kunit_try_run_case+0x1a5/0x480
[   18.112022]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.112266]  kthread+0x337/0x6f0
[   18.112405]  ret_from_fork+0x116/0x1d0
[   18.112613]  ret_from_fork_asm+0x1a/0x30
[   18.112866] 
[   18.113000] CPU: 1 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   18.113428] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.113658] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.114146] ==================================================================