Hay
Date
July 20, 2025, 11:12 p.m.

Environment
qemu-arm64
qemu-x86_64

[   21.562419] ==================================================================
[   21.562510] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   21.562510] 
[   21.562573] Invalid free of 0x000000002e02efa6 (in kfence-#93):
[   21.562626]  test_double_free+0x100/0x238
[   21.562678]  kunit_try_run_case+0x170/0x3f0
[   21.562722]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.562767]  kthread+0x328/0x630
[   21.562806]  ret_from_fork+0x10/0x20
[   21.562847] 
[   21.562871] kfence-#93: 0x000000002e02efa6-0x00000000489778ec, size=32, cache=test
[   21.562871] 
[   21.562937] allocated by task 305 on cpu 1 at 21.562217s (0.000716s ago):
[   21.562999]  test_alloc+0x230/0x628
[   21.563038]  test_double_free+0xd4/0x238
[   21.563080]  kunit_try_run_case+0x170/0x3f0
[   21.563119]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.563163]  kthread+0x328/0x630
[   21.563198]  ret_from_fork+0x10/0x20
[   21.563238] 
[   21.563262] freed by task 305 on cpu 1 at 21.562281s (0.000977s ago):
[   21.563324]  test_double_free+0xf0/0x238
[   21.563363]  kunit_try_run_case+0x170/0x3f0
[   21.563404]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.563446]  kthread+0x328/0x630
[   21.563482]  ret_from_fork+0x10/0x20
[   21.563521] 
[   21.563564] CPU: 1 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   21.563643] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.563673] Hardware name: linux,dummy-virt (DT)
[   21.563706] ==================================================================
[   21.458440] ==================================================================
[   21.458554] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   21.458554] 
[   21.458619] Invalid free of 0x000000008b2346f0 (in kfence-#92):
[   21.458690]  test_double_free+0x1bc/0x238
[   21.458738]  kunit_try_run_case+0x170/0x3f0
[   21.458781]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.458827]  kthread+0x328/0x630
[   21.458867]  ret_from_fork+0x10/0x20
[   21.458921] 
[   21.458946] kfence-#92: 0x000000008b2346f0-0x00000000d3f21b41, size=32, cache=kmalloc-32
[   21.458946] 
[   21.459002] allocated by task 303 on cpu 1 at 21.458163s (0.000835s ago):
[   21.459065]  test_alloc+0x29c/0x628
[   21.459109]  test_double_free+0xd4/0x238
[   21.459148]  kunit_try_run_case+0x170/0x3f0
[   21.459189]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.459232]  kthread+0x328/0x630
[   21.459268]  ret_from_fork+0x10/0x20
[   21.459308] 
[   21.459333] freed by task 303 on cpu 1 at 21.458236s (0.001093s ago):
[   21.459394]  test_double_free+0x1ac/0x238
[   21.459434]  kunit_try_run_case+0x170/0x3f0
[   21.459476]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.459520]  kthread+0x328/0x630
[   21.459556]  ret_from_fork+0x10/0x20
[   21.459596] 
[   21.459640] CPU: 1 UID: 0 PID: 303 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   21.459720] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.459749] Hardware name: linux,dummy-virt (DT)
[   21.459785] ==================================================================

[   21.456480] ==================================================================
[   21.456738] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   21.456738] 
[   21.457084] Invalid free of 0x00000000943bc579 (in kfence-#92):
[   21.457492]  test_double_free+0x1bc/0x238
[   21.457571]  kunit_try_run_case+0x170/0x3f0
[   21.457830]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.458027]  kthread+0x328/0x630
[   21.458146]  ret_from_fork+0x10/0x20
[   21.458244] 
[   21.458600] kfence-#92: 0x00000000943bc579-0x00000000b9213c84, size=32, cache=kmalloc-32
[   21.458600] 
[   21.458998] allocated by task 303 on cpu 1 at 21.455859s (0.003134s ago):
[   21.459474]  test_alloc+0x29c/0x628
[   21.459901]  test_double_free+0xd4/0x238
[   21.459957]  kunit_try_run_case+0x170/0x3f0
[   21.460797]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.460965]  kthread+0x328/0x630
[   21.461014]  ret_from_fork+0x10/0x20
[   21.461054] 
[   21.461330] freed by task 303 on cpu 1 at 21.455927s (0.005146s ago):
[   21.461533]  test_double_free+0x1ac/0x238
[   21.461580]  kunit_try_run_case+0x170/0x3f0
[   21.461931]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.462030]  kthread+0x328/0x630
[   21.462068]  ret_from_fork+0x10/0x20
[   21.462117] 
[   21.462193] CPU: 1 UID: 0 PID: 303 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   21.462288] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.462335] Hardware name: linux,dummy-virt (DT)
[   21.462379] ==================================================================
[   21.559883] ==================================================================
[   21.560022] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   21.560022] 
[   21.560103] Invalid free of 0x00000000ca4a54e6 (in kfence-#93):
[   21.560167]  test_double_free+0x100/0x238
[   21.560473]  kunit_try_run_case+0x170/0x3f0
[   21.560547]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.560847]  kthread+0x328/0x630
[   21.560910]  ret_from_fork+0x10/0x20
[   21.560950] 
[   21.561007] kfence-#93: 0x00000000ca4a54e6-0x00000000a563318e, size=32, cache=test
[   21.561007] 
[   21.561068] allocated by task 305 on cpu 1 at 21.559353s (0.001711s ago):
[   21.561491]  test_alloc+0x230/0x628
[   21.561687]  test_double_free+0xd4/0x238
[   21.561731]  kunit_try_run_case+0x170/0x3f0
[   21.562069]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.562213]  kthread+0x328/0x630
[   21.562251]  ret_from_fork+0x10/0x20
[   21.562613] 
[   21.562744] freed by task 305 on cpu 1 at 21.559409s (0.003280s ago):
[   21.562847]  test_double_free+0xf0/0x238
[   21.563162]  kunit_try_run_case+0x170/0x3f0
[   21.563299]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.563368]  kthread+0x328/0x630
[   21.563406]  ret_from_fork+0x10/0x20
[   21.563465] 
[   21.563521] CPU: 1 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   21.563633] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.563669] Hardware name: linux,dummy-virt (DT)
[   21.563723] ==================================================================

[   18.611613] ==================================================================
[   18.612041] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   18.612041] 
[   18.612412] Invalid free of 0x(____ptrval____) (in kfence-#77):
[   18.612900]  test_double_free+0x1d3/0x260
[   18.613110]  kunit_try_run_case+0x1a5/0x480
[   18.613318]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.613566]  kthread+0x337/0x6f0
[   18.614474]  ret_from_fork+0x116/0x1d0
[   18.614912]  ret_from_fork_asm+0x1a/0x30
[   18.615075] 
[   18.615156] kfence-#77: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.615156] 
[   18.615467] allocated by task 321 on cpu 1 at 18.611337s (0.004127s ago):
[   18.615755]  test_alloc+0x364/0x10f0
[   18.615939]  test_double_free+0xdb/0x260
[   18.616082]  kunit_try_run_case+0x1a5/0x480
[   18.616320]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.616615]  kthread+0x337/0x6f0
[   18.616834]  ret_from_fork+0x116/0x1d0
[   18.616972]  ret_from_fork_asm+0x1a/0x30
[   18.617158] 
[   18.617257] freed by task 321 on cpu 1 at 18.611412s (0.005842s ago):
[   18.617754]  test_double_free+0x1e0/0x260
[   18.617959]  kunit_try_run_case+0x1a5/0x480
[   18.618160]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.618410]  kthread+0x337/0x6f0
[   18.618586]  ret_from_fork+0x116/0x1d0
[   18.618810]  ret_from_fork_asm+0x1a/0x30
[   18.618955] 
[   18.619056] CPU: 1 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   18.619554] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.619747] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.620138] ==================================================================
[   18.715590] ==================================================================
[   18.716073] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   18.716073] 
[   18.716417] Invalid free of 0x(____ptrval____) (in kfence-#78):
[   18.716719]  test_double_free+0x112/0x260
[   18.716993]  kunit_try_run_case+0x1a5/0x480
[   18.717666]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.717940]  kthread+0x337/0x6f0
[   18.718122]  ret_from_fork+0x116/0x1d0
[   18.718326]  ret_from_fork_asm+0x1a/0x30
[   18.718513] 
[   18.718623] kfence-#78: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.718623] 
[   18.719361] allocated by task 323 on cpu 0 at 18.715363s (0.003995s ago):
[   18.719890]  test_alloc+0x2a6/0x10f0
[   18.720040]  test_double_free+0xdb/0x260
[   18.720306]  kunit_try_run_case+0x1a5/0x480
[   18.720516]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.720934]  kthread+0x337/0x6f0
[   18.721168]  ret_from_fork+0x116/0x1d0
[   18.721440]  ret_from_fork_asm+0x1a/0x30
[   18.721703] 
[   18.721869] freed by task 323 on cpu 0 at 18.715425s (0.006440s ago):
[   18.722153]  test_double_free+0xfa/0x260
[   18.722341]  kunit_try_run_case+0x1a5/0x480
[   18.722552]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.723012]  kthread+0x337/0x6f0
[   18.723180]  ret_from_fork+0x116/0x1d0
[   18.723454]  ret_from_fork_asm+0x1a/0x30
[   18.723778] 
[   18.723965] CPU: 0 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   18.724506] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.724852] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.725219] ==================================================================

[   18.513366] ==================================================================
[   18.513744] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   18.513744] 
[   18.514384] Invalid free of 0x(____ptrval____) (in kfence-#76):
[   18.515136]  test_double_free+0x112/0x260
[   18.515608]  kunit_try_run_case+0x1a5/0x480
[   18.515816]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.516023]  kthread+0x337/0x6f0
[   18.516212]  ret_from_fork+0x116/0x1d0
[   18.516541]  ret_from_fork_asm+0x1a/0x30
[   18.516703] 
[   18.516807] kfence-#76: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.516807] 
[   18.517199] allocated by task 323 on cpu 1 at 18.513188s (0.004009s ago):
[   18.517481]  test_alloc+0x2a6/0x10f0
[   18.517972]  test_double_free+0xdb/0x260
[   18.518134]  kunit_try_run_case+0x1a5/0x480
[   18.518625]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.518943]  kthread+0x337/0x6f0
[   18.519102]  ret_from_fork+0x116/0x1d0
[   18.519484]  ret_from_fork_asm+0x1a/0x30
[   18.519754] 
[   18.519846] freed by task 323 on cpu 1 at 18.513250s (0.006593s ago):
[   18.520307]  test_double_free+0xfa/0x260
[   18.520526]  kunit_try_run_case+0x1a5/0x480
[   18.520791]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.521092]  kthread+0x337/0x6f0
[   18.521366]  ret_from_fork+0x116/0x1d0
[   18.521516]  ret_from_fork_asm+0x1a/0x30
[   18.521719] 
[   18.521838] CPU: 1 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   18.522286] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.522718] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.523134] ==================================================================
[   18.409489] ==================================================================
[   18.409964] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   18.409964] 
[   18.410355] Invalid free of 0x(____ptrval____) (in kfence-#75):
[   18.411110]  test_double_free+0x1d3/0x260
[   18.411596]  kunit_try_run_case+0x1a5/0x480
[   18.411799]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.412189]  kthread+0x337/0x6f0
[   18.412533]  ret_from_fork+0x116/0x1d0
[   18.412737]  ret_from_fork_asm+0x1a/0x30
[   18.413063] 
[   18.413289] kfence-#75: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.413289] 
[   18.413713] allocated by task 321 on cpu 0 at 18.409225s (0.004485s ago):
[   18.414225]  test_alloc+0x364/0x10f0
[   18.414553]  test_double_free+0xdb/0x260
[   18.414762]  kunit_try_run_case+0x1a5/0x480
[   18.414949]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.415208]  kthread+0x337/0x6f0
[   18.415380]  ret_from_fork+0x116/0x1d0
[   18.415840]  ret_from_fork_asm+0x1a/0x30
[   18.416134] 
[   18.416259] freed by task 321 on cpu 0 at 18.409299s (0.006957s ago):
[   18.416726]  test_double_free+0x1e0/0x260
[   18.417013]  kunit_try_run_case+0x1a5/0x480
[   18.417243]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.417707]  kthread+0x337/0x6f0
[   18.417978]  ret_from_fork+0x116/0x1d0
[   18.418158]  ret_from_fork_asm+0x1a/0x30
[   18.418514] 
[   18.418666] CPU: 0 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   18.419256] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.419497] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.420000] ==================================================================