Hay
Date
June 25, 2025, 8:08 a.m.

Environment
qemu-arm64
qemu-x86_64

[   31.920491] ==================================================================
[   31.920585] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   31.920585] 
[   31.920645] Invalid free of 0x00000000081551ee (in kfence-#96):
[   31.920697]  test_double_free+0x100/0x238
[   31.920742]  kunit_try_run_case+0x170/0x3f0
[   31.920784]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.920830]  kthread+0x328/0x630
[   31.920869]  ret_from_fork+0x10/0x20
[   31.920907] 
[   31.920931] kfence-#96: 0x00000000081551ee-0x00000000e37aef70, size=32, cache=test
[   31.920931] 
[   31.920981] allocated by task 317 on cpu 1 at 31.920250s (0.000728s ago):
[   31.921043]  test_alloc+0x230/0x628
[   31.921084]  test_double_free+0xd4/0x238
[   31.921125]  kunit_try_run_case+0x170/0x3f0
[   31.921163]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.921207]  kthread+0x328/0x630
[   31.921242]  ret_from_fork+0x10/0x20
[   31.921282] 
[   31.921304] freed by task 317 on cpu 1 at 31.920313s (0.000987s ago):
[   31.921366]  test_double_free+0xf0/0x238
[   31.921417]  kunit_try_run_case+0x170/0x3f0
[   31.921458]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.921501]  kthread+0x328/0x630
[   31.921536]  ret_from_fork+0x10/0x20
[   31.921576] 
[   31.921621] CPU: 1 UID: 0 PID: 317 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250625 #1 PREEMPT 
[   31.921699] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.921728] Hardware name: linux,dummy-virt (DT)
[   31.921761] ==================================================================
[   31.816566] ==================================================================
[   31.816684] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   31.816684] 
[   31.816757] Invalid free of 0x0000000094ee4f98 (in kfence-#95):
[   31.816822]  test_double_free+0x1bc/0x238
[   31.816868]  kunit_try_run_case+0x170/0x3f0
[   31.816914]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.816958]  kthread+0x328/0x630
[   31.816997]  ret_from_fork+0x10/0x20
[   31.817037] 
[   31.817061] kfence-#95: 0x0000000094ee4f98-0x00000000590f49f0, size=32, cache=kmalloc-32
[   31.817061] 
[   31.817114] allocated by task 315 on cpu 1 at 31.816299s (0.000811s ago):
[   31.817176]  test_alloc+0x29c/0x628
[   31.817215]  test_double_free+0xd4/0x238
[   31.817256]  kunit_try_run_case+0x170/0x3f0
[   31.817297]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.817342]  kthread+0x328/0x630
[   31.817379]  ret_from_fork+0x10/0x20
[   31.817434] 
[   31.817459] freed by task 315 on cpu 1 at 31.816377s (0.001078s ago):
[   31.817522]  test_double_free+0x1ac/0x238
[   31.817563]  kunit_try_run_case+0x170/0x3f0
[   31.817603]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.817647]  kthread+0x328/0x630
[   31.817683]  ret_from_fork+0x10/0x20
[   31.817723] 
[   31.817768] CPU: 1 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250625 #1 PREEMPT 
[   31.817846] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.817874] Hardware name: linux,dummy-virt (DT)
[   31.817908] ==================================================================

[   27.772401] ==================================================================
[   27.772754] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   27.772754] 
[   27.773479] Invalid free of 0x(____ptrval____) (in kfence-#81):
[   27.773746]  test_double_free+0x112/0x260
[   27.773888]  kunit_try_run_case+0x1a5/0x480
[   27.774041]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.774253]  kthread+0x337/0x6f0
[   27.774373]  ret_from_fork+0x116/0x1d0
[   27.774559]  ret_from_fork_asm+0x1a/0x30
[   27.774728] 
[   27.774795] kfence-#81: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   27.774795] 
[   27.775247] allocated by task 334 on cpu 0 at 27.772149s (0.003095s ago):
[   27.775511]  test_alloc+0x2a6/0x10f0
[   27.775673]  test_double_free+0xdb/0x260
[   27.775821]  kunit_try_run_case+0x1a5/0x480
[   27.776033]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.776388]  kthread+0x337/0x6f0
[   27.776543]  ret_from_fork+0x116/0x1d0
[   27.776697]  ret_from_fork_asm+0x1a/0x30
[   27.776828] 
[   27.776893] freed by task 334 on cpu 0 at 27.772207s (0.004683s ago):
[   27.777187]  test_double_free+0xfa/0x260
[   27.777379]  kunit_try_run_case+0x1a5/0x480
[   27.777706]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.777895]  kthread+0x337/0x6f0
[   27.778047]  ret_from_fork+0x116/0x1d0
[   27.778230]  ret_from_fork_asm+0x1a/0x30
[   27.778431] 
[   27.778532] CPU: 0 UID: 0 PID: 334 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250625 #1 PREEMPT(voluntary) 
[   27.778995] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.779131] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.779451] ==================================================================
[   27.668468] ==================================================================
[   27.668918] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   27.668918] 
[   27.669327] Invalid free of 0x(____ptrval____) (in kfence-#80):
[   27.669624]  test_double_free+0x1d3/0x260
[   27.669767]  kunit_try_run_case+0x1a5/0x480
[   27.669976]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.670336]  kthread+0x337/0x6f0
[   27.670453]  ret_from_fork+0x116/0x1d0
[   27.670578]  ret_from_fork_asm+0x1a/0x30
[   27.670797] 
[   27.670908] kfence-#80: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   27.670908] 
[   27.672001] allocated by task 332 on cpu 1 at 27.668205s (0.003791s ago):
[   27.672407]  test_alloc+0x364/0x10f0
[   27.672610]  test_double_free+0xdb/0x260
[   27.672810]  kunit_try_run_case+0x1a5/0x480
[   27.673376]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.673621]  kthread+0x337/0x6f0
[   27.673800]  ret_from_fork+0x116/0x1d0
[   27.674191]  ret_from_fork_asm+0x1a/0x30
[   27.674408] 
[   27.674672] freed by task 332 on cpu 1 at 27.668267s (0.006401s ago):
[   27.674999]  test_double_free+0x1e0/0x260
[   27.675293]  kunit_try_run_case+0x1a5/0x480
[   27.675503]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.675857]  kthread+0x337/0x6f0
[   27.676143]  ret_from_fork+0x116/0x1d0
[   27.676320]  ret_from_fork_asm+0x1a/0x30
[   27.676678] 
[   27.676905] CPU: 1 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250625 #1 PREEMPT(voluntary) 
[   27.677480] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.677779] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.678292] ==================================================================