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

Environment
qemu-arm64
qemu-x86_64

[   20.112005] ==================================================================
[   20.112103] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   20.112103] 
[   20.112630] Invalid free of 0x000000001a885339 (in kfence-#89):
[   20.112753]  test_double_free+0x1bc/0x238
[   20.112809]  kunit_try_run_case+0x170/0x3f0
[   20.112854]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.112898]  kthread+0x328/0x630
[   20.112999]  ret_from_fork+0x10/0x20
[   20.113041] 
[   20.113067] kfence-#89: 0x000000001a885339-0x00000000a273b6df, size=32, cache=kmalloc-32
[   20.113067] 
[   20.113121] allocated by task 303 on cpu 0 at 20.111597s (0.001520s ago):
[   20.113184]  test_alloc+0x29c/0x628
[   20.113224]  test_double_free+0xd4/0x238
[   20.113265]  kunit_try_run_case+0x170/0x3f0
[   20.113307]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.113490]  kthread+0x328/0x630
[   20.113912]  ret_from_fork+0x10/0x20
[   20.113996] 
[   20.114185] freed by task 303 on cpu 0 at 20.111666s (0.002489s ago):
[   20.114276]  test_double_free+0x1ac/0x238
[   20.114638]  kunit_try_run_case+0x170/0x3f0
[   20.114772]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.114848]  kthread+0x328/0x630
[   20.115208]  ret_from_fork+0x10/0x20
[   20.115407] 
[   20.115570] CPU: 0 UID: 0 PID: 303 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   20.115985] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.116061] Hardware name: linux,dummy-virt (DT)
[   20.116121] ==================================================================
[   20.214152] ==================================================================
[   20.214250] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   20.214250] 
[   20.214629] Invalid free of 0x0000000016d2edd1 (in kfence-#90):
[   20.214817]  test_double_free+0x100/0x238
[   20.214867]  kunit_try_run_case+0x170/0x3f0
[   20.214911]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.215508]  kthread+0x328/0x630
[   20.215885]  ret_from_fork+0x10/0x20
[   20.216044] 
[   20.216139] kfence-#90: 0x0000000016d2edd1-0x000000004a913729, size=32, cache=test
[   20.216139] 
[   20.216474] allocated by task 305 on cpu 0 at 20.213950s (0.002416s ago):
[   20.216555]  test_alloc+0x230/0x628
[   20.216722]  test_double_free+0xd4/0x238
[   20.216816]  kunit_try_run_case+0x170/0x3f0
[   20.216860]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.216912]  kthread+0x328/0x630
[   20.217036]  ret_from_fork+0x10/0x20
[   20.217080] 
[   20.217138] freed by task 305 on cpu 0 at 20.214012s (0.003107s ago):
[   20.217509]  test_double_free+0xf0/0x238
[   20.217631]  kunit_try_run_case+0x170/0x3f0
[   20.217727]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.217989]  kthread+0x328/0x630
[   20.218037]  ret_from_fork+0x10/0x20
[   20.218090] 
[   20.218137] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   20.218520] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.219184] Hardware name: linux,dummy-virt (DT)
[   20.219379] ==================================================================

[   18.262417] ==================================================================
[   18.262810] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   18.262810] 
[   18.263107] Invalid free of 0x(____ptrval____) (in kfence-#77):
[   18.263412]  test_double_free+0x112/0x260
[   18.263622]  kunit_try_run_case+0x1a5/0x480
[   18.263775]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.264034]  kthread+0x337/0x6f0
[   18.264207]  ret_from_fork+0x116/0x1d0
[   18.264409]  ret_from_fork_asm+0x1a/0x30
[   18.264623] 
[   18.264707] kfence-#77: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.264707] 
[   18.265051] allocated by task 324 on cpu 0 at 18.262255s (0.002795s ago):
[   18.265311]  test_alloc+0x2a6/0x10f0
[   18.265508]  test_double_free+0xdb/0x260
[   18.265715]  kunit_try_run_case+0x1a5/0x480
[   18.265905]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.266124]  kthread+0x337/0x6f0
[   18.266245]  ret_from_fork+0x116/0x1d0
[   18.266389]  ret_from_fork_asm+0x1a/0x30
[   18.266585] 
[   18.266680] freed by task 324 on cpu 0 at 18.262292s (0.004386s ago):
[   18.266981]  test_double_free+0xfa/0x260
[   18.267176]  kunit_try_run_case+0x1a5/0x480
[   18.267324]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.267508]  kthread+0x337/0x6f0
[   18.267687]  ret_from_fork+0x116/0x1d0
[   18.267875]  ret_from_fork_asm+0x1a/0x30
[   18.268068] 
[   18.268187] CPU: 0 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.268693] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.268881] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.269217] ==================================================================
[   18.158469] ==================================================================
[   18.158938] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   18.158938] 
[   18.159367] Invalid free of 0x(____ptrval____) (in kfence-#76):
[   18.159640]  test_double_free+0x1d3/0x260
[   18.160006]  kunit_try_run_case+0x1a5/0x480
[   18.160333]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.160994]  kthread+0x337/0x6f0
[   18.161166]  ret_from_fork+0x116/0x1d0
[   18.161659]  ret_from_fork_asm+0x1a/0x30
[   18.161851] 
[   18.161957] kfence-#76: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.161957] 
[   18.162360] allocated by task 322 on cpu 1 at 18.158224s (0.004133s ago):
[   18.162938]  test_alloc+0x364/0x10f0
[   18.163099]  test_double_free+0xdb/0x260
[   18.163458]  kunit_try_run_case+0x1a5/0x480
[   18.163795]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.164111]  kthread+0x337/0x6f0
[   18.164396]  ret_from_fork+0x116/0x1d0
[   18.164620]  ret_from_fork_asm+0x1a/0x30
[   18.164927] 
[   18.165126] freed by task 322 on cpu 1 at 18.158282s (0.006841s ago):
[   18.165422]  test_double_free+0x1e0/0x260
[   18.165828]  kunit_try_run_case+0x1a5/0x480
[   18.166117]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.166442]  kthread+0x337/0x6f0
[   18.166719]  ret_from_fork+0x116/0x1d0
[   18.166880]  ret_from_fork_asm+0x1a/0x30
[   18.167084] 
[   18.167410] CPU: 1 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.167931] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.168139] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.168703] ==================================================================