Hay
Date
July 9, 2025, 2:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   21.690200] ==================================================================
[   21.690295] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   21.690295] 
[   21.690360] Invalid free of 0x000000007e824d38 (in kfence-#92):
[   21.690414]  test_double_free+0x100/0x238
[   21.690461]  kunit_try_run_case+0x170/0x3f0
[   21.690507]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.690553]  kthread+0x328/0x630
[   21.690591]  ret_from_fork+0x10/0x20
[   21.690633] 
[   21.690658] kfence-#92: 0x000000007e824d38-0x0000000098aec72b, size=32, cache=test
[   21.690658] 
[   21.690713] allocated by task 305 on cpu 1 at 21.689971s (0.000738s ago):
[   21.690778]  test_alloc+0x230/0x628
[   21.690820]  test_double_free+0xd4/0x238
[   21.690862]  kunit_try_run_case+0x170/0x3f0
[   21.690903]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.690947]  kthread+0x328/0x630
[   21.690983]  ret_from_fork+0x10/0x20
[   21.691024] 
[   21.691047] freed by task 305 on cpu 1 at 21.690040s (0.001004s ago):
[   21.691125]  test_double_free+0xf0/0x238
[   21.691168]  kunit_try_run_case+0x170/0x3f0
[   21.691210]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.691254]  kthread+0x328/0x630
[   21.691291]  ret_from_fork+0x10/0x20
[   21.691330] 
[   21.691377] CPU: 1 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc5 #1 PREEMPT 
[   21.691463] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   21.691495] Hardware name: linux,dummy-virt (DT)
[   21.691530] ==================================================================
[   21.587223] ==================================================================
[   21.587354] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   21.587354] 
[   21.587427] Invalid free of 0x0000000006197827 (in kfence-#91):
[   21.587490]  test_double_free+0x1bc/0x238
[   21.587537]  kunit_try_run_case+0x170/0x3f0
[   21.587585]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.587630]  kthread+0x328/0x630
[   21.587670]  ret_from_fork+0x10/0x20
[   21.587710] 
[   21.587736] kfence-#91: 0x0000000006197827-0x0000000094c8fe06, size=32, cache=kmalloc-32
[   21.587736] 
[   21.587792] allocated by task 303 on cpu 1 at 21.586240s (0.001548s ago):
[   21.587859]  test_alloc+0x29c/0x628
[   21.587902]  test_double_free+0xd4/0x238
[   21.587942]  kunit_try_run_case+0x170/0x3f0
[   21.587983]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.588037]  kthread+0x328/0x630
[   21.588073]  ret_from_fork+0x10/0x20
[   21.588127] 
[   21.588151] freed by task 303 on cpu 1 at 21.586316s (0.001831s ago):
[   21.588216]  test_double_free+0x1ac/0x238
[   21.588257]  kunit_try_run_case+0x170/0x3f0
[   21.588297]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.588341]  kthread+0x328/0x630
[   21.588377]  ret_from_fork+0x10/0x20
[   21.588417] 
[   21.588464] CPU: 1 UID: 0 PID: 303 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc5 #1 PREEMPT 
[   21.588549] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   21.588579] Hardware name: linux,dummy-virt (DT)
[   21.588615] ==================================================================

[   18.375395] ==================================================================
[   18.375850] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   18.375850] 
[   18.376168] Invalid free of 0x(____ptrval____) (in kfence-#75):
[   18.376459]  test_double_free+0x112/0x260
[   18.376678]  kunit_try_run_case+0x1a5/0x480
[   18.376838]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.377064]  kthread+0x337/0x6f0
[   18.377213]  ret_from_fork+0x116/0x1d0
[   18.377351]  ret_from_fork_asm+0x1a/0x30
[   18.377575] 
[   18.377684] kfence-#75: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.377684] 
[   18.378117] allocated by task 322 on cpu 1 at 18.375205s (0.002910s ago):
[   18.378378]  test_alloc+0x2a6/0x10f0
[   18.378543]  test_double_free+0xdb/0x260
[   18.378751]  kunit_try_run_case+0x1a5/0x480
[   18.378972]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.379267]  kthread+0x337/0x6f0
[   18.379440]  ret_from_fork+0x116/0x1d0
[   18.379603]  ret_from_fork_asm+0x1a/0x30
[   18.379746] 
[   18.379818] freed by task 322 on cpu 1 at 18.375266s (0.004549s ago):
[   18.380098]  test_double_free+0xfa/0x260
[   18.380294]  kunit_try_run_case+0x1a5/0x480
[   18.380546]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.380743]  kthread+0x337/0x6f0
[   18.381057]  ret_from_fork+0x116/0x1d0
[   18.381193]  ret_from_fork_asm+0x1a/0x30
[   18.381356] 
[   18.381464] CPU: 1 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   18.381841] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.382050] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.382389] ==================================================================
[   18.271470] ==================================================================
[   18.272040] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   18.272040] 
[   18.272458] Invalid free of 0x(____ptrval____) (in kfence-#74):
[   18.272746]  test_double_free+0x1d3/0x260
[   18.272909]  kunit_try_run_case+0x1a5/0x480
[   18.273294]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.273517]  kthread+0x337/0x6f0
[   18.273726]  ret_from_fork+0x116/0x1d0
[   18.273920]  ret_from_fork_asm+0x1a/0x30
[   18.274116] 
[   18.274213] kfence-#74: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.274213] 
[   18.274622] allocated by task 320 on cpu 0 at 18.271182s (0.003437s ago):
[   18.274967]  test_alloc+0x364/0x10f0
[   18.275183]  test_double_free+0xdb/0x260
[   18.275325]  kunit_try_run_case+0x1a5/0x480
[   18.275553]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.275839]  kthread+0x337/0x6f0
[   18.275993]  ret_from_fork+0x116/0x1d0
[   18.276198]  ret_from_fork_asm+0x1a/0x30
[   18.276340] 
[   18.276411] freed by task 320 on cpu 0 at 18.271248s (0.005160s ago):
[   18.276627]  test_double_free+0x1e0/0x260
[   18.276829]  kunit_try_run_case+0x1a5/0x480
[   18.277034]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.277382]  kthread+0x337/0x6f0
[   18.277508]  ret_from_fork+0x116/0x1d0
[   18.277674]  ret_from_fork_asm+0x1a/0x30
[   18.277987] 
[   18.278119] CPU: 0 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   18.278635] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.278837] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.279220] ==================================================================