Hay
Date
July 4, 2025, 3:11 p.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   67.668877] ==================================================================
[   67.669006] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   67.669006] 
[   67.669130] Invalid free of 0x(____ptrval____) (in kfence-#127):
[   67.669233]  test_double_free+0x100/0x238
[   67.671711]  kunit_try_run_case+0x170/0x3f0
[   67.675878]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   67.681347]  kthread+0x328/0x630
[   67.684558]  ret_from_fork+0x10/0x20
[   67.688117] 
[   67.689597] kfence-#127: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   67.689597] 
[   67.698710] allocated by task 354 on cpu 7 at 67.668808s (0.029900s ago):
[   67.705491]  test_alloc+0x230/0x628
[   67.708951]  test_double_free+0xd4/0x238
[   67.712856]  kunit_try_run_case+0x170/0x3f0
[   67.717023]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   67.722492]  kthread+0x328/0x630
[   67.725703]  ret_from_fork+0x10/0x20
[   67.729264] 
[   67.730740] freed by task 354 on cpu 7 at 67.668822s (0.061916s ago):
[   67.737173]  test_double_free+0xf0/0x238
[   67.741068]  kunit_try_run_case+0x170/0x3f0
[   67.745234]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   67.750703]  kthread+0x328/0x630
[   67.753915]  ret_from_fork+0x10/0x20
[   67.757475] 
[   67.758960] CPU: 7 UID: 0 PID: 354 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT 
[   67.768857] Tainted: [B]=BAD_PAGE, [N]=TEST
[   67.773013] Hardware name: WinLink E850-96 board (DT)
[   67.778050] ==================================================================
[   67.448891] ==================================================================
[   67.449019] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   67.449019] 
[   67.449147] Invalid free of 0x(____ptrval____) (in kfence-#125):
[   67.449247]  test_double_free+0x1bc/0x238
[   67.451724]  kunit_try_run_case+0x170/0x3f0
[   67.455891]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   67.461360]  kthread+0x328/0x630
[   67.464571]  ret_from_fork+0x10/0x20
[   67.468130] 
[   67.469610] kfence-#125: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   67.469610] 
[   67.479244] allocated by task 352 on cpu 6 at 67.448821s (0.030421s ago):
[   67.486024]  test_alloc+0x29c/0x628
[   67.489484]  test_double_free+0xd4/0x238
[   67.493390]  kunit_try_run_case+0x170/0x3f0
[   67.497557]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   67.503025]  kthread+0x328/0x630
[   67.506239]  ret_from_fork+0x10/0x20
[   67.509796] 
[   67.511275] freed by task 352 on cpu 6 at 67.448836s (0.062436s ago):
[   67.517709]  test_double_free+0x1ac/0x238
[   67.521689]  kunit_try_run_case+0x170/0x3f0
[   67.525855]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   67.531324]  kthread+0x328/0x630
[   67.534535]  ret_from_fork+0x10/0x20
[   67.538096] 
[   67.539581] CPU: 6 UID: 0 PID: 352 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT 
[   67.549475] Tainted: [B]=BAD_PAGE, [N]=TEST
[   67.553634] Hardware name: WinLink E850-96 board (DT)
[   67.558671] ==================================================================

[   20.385418] ==================================================================
[   20.385592] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   20.385592] 
[   20.385934] Invalid free of 0x00000000a3f533bc (in kfence-#93):
[   20.386008]  test_double_free+0x1bc/0x238
[   20.386050]  kunit_try_run_case+0x170/0x3f0
[   20.386474]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.386597]  kthread+0x328/0x630
[   20.386988]  ret_from_fork+0x10/0x20
[   20.387054] 
[   20.387179] kfence-#93: 0x00000000a3f533bc-0x000000009dfa8151, size=32, cache=kmalloc-32
[   20.387179] 
[   20.387583] allocated by task 308 on cpu 1 at 20.384900s (0.002659s ago):
[   20.387658]  test_alloc+0x29c/0x628
[   20.387698]  test_double_free+0xd4/0x238
[   20.387735]  kunit_try_run_case+0x170/0x3f0
[   20.387777]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.387829]  kthread+0x328/0x630
[   20.387870]  ret_from_fork+0x10/0x20
[   20.387951] 
[   20.388158] freed by task 308 on cpu 1 at 20.384977s (0.003176s ago):
[   20.388259]  test_double_free+0x1ac/0x238
[   20.388302]  kunit_try_run_case+0x170/0x3f0
[   20.388344]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.388388]  kthread+0x328/0x630
[   20.388431]  ret_from_fork+0x10/0x20
[   20.388470] 
[   20.388874] CPU: 1 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT 
[   20.389054] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.389143] Hardware name: linux,dummy-virt (DT)
[   20.389223] ==================================================================
[   20.493085] ==================================================================
[   20.493210] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   20.493210] 
[   20.493299] Invalid free of 0x00000000a82edda0 (in kfence-#94):
[   20.493350]  test_double_free+0x100/0x238
[   20.493394]  kunit_try_run_case+0x170/0x3f0
[   20.493437]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.493479]  kthread+0x328/0x630
[   20.493546]  ret_from_fork+0x10/0x20
[   20.493586] 
[   20.493609] kfence-#94: 0x00000000a82edda0-0x0000000097eb0349, size=32, cache=test
[   20.493609] 
[   20.493673] allocated by task 310 on cpu 1 at 20.492788s (0.000882s ago):
[   20.493734]  test_alloc+0x230/0x628
[   20.493771]  test_double_free+0xd4/0x238
[   20.493838]  kunit_try_run_case+0x170/0x3f0
[   20.493925]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.494014]  kthread+0x328/0x630
[   20.494101]  ret_from_fork+0x10/0x20
[   20.494147] 
[   20.494170] freed by task 310 on cpu 1 at 20.492841s (0.001325s ago):
[   20.494353]  test_double_free+0xf0/0x238
[   20.494395]  kunit_try_run_case+0x170/0x3f0
[   20.494437]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.494522]  kthread+0x328/0x630
[   20.494599]  ret_from_fork+0x10/0x20
[   20.494703] 
[   20.494745] CPU: 1 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT 
[   20.494820] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.494991] Hardware name: linux,dummy-virt (DT)
[   20.495028] ==================================================================

[   22.421188] ==================================================================
[   22.421682] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   22.421682] 
[   22.421961] Invalid free of 0x(____ptrval____) (in kfence-#112):
[   22.422431]  test_double_free+0x112/0x260
[   22.422909]  kunit_try_run_case+0x1a5/0x480
[   22.423092]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.423555]  kthread+0x337/0x6f0
[   22.423809]  ret_from_fork+0x41/0x80
[   22.424124]  ret_from_fork_asm+0x1a/0x30
[   22.424385] 
[   22.424577] kfence-#112: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   22.424577] 
[   22.425229] allocated by task 326 on cpu 1 at 22.420880s (0.004343s ago):
[   22.425658]  test_alloc+0x2a6/0x10f0
[   22.425878]  test_double_free+0xdb/0x260
[   22.426140]  kunit_try_run_case+0x1a5/0x480
[   22.426592]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.427057]  kthread+0x337/0x6f0
[   22.427608]  ret_from_fork+0x41/0x80
[   22.428033]  ret_from_fork_asm+0x1a/0x30
[   22.428483] 
[   22.428609] freed by task 326 on cpu 1 at 22.420987s (0.007617s ago):
[   22.428900]  test_double_free+0xfa/0x260
[   22.429416]  kunit_try_run_case+0x1a5/0x480
[   22.429840]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.430411]  kthread+0x337/0x6f0
[   22.430700]  ret_from_fork+0x41/0x80
[   22.431036]  ret_from_fork_asm+0x1a/0x30
[   22.431443] 
[   22.431628] CPU: 1 UID: 0 PID: 326 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT(voluntary) 
[   22.432681] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.432946] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   22.433547] ==================================================================
[   22.317486] ==================================================================
[   22.319067] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   22.319067] 
[   22.321106] Invalid free of 0x(____ptrval____) (in kfence-#111):
[   22.322154]  test_double_free+0x1d3/0x260
[   22.323429]  kunit_try_run_case+0x1a5/0x480
[   22.324570]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.325827]  kthread+0x337/0x6f0
[   22.326038]  ret_from_fork+0x41/0x80
[   22.326214]  ret_from_fork_asm+0x1a/0x30
[   22.326399] 
[   22.326505] kfence-#111: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   22.326505] 
[   22.326782] allocated by task 324 on cpu 0 at 22.317018s (0.009760s ago):
[   22.327031]  test_alloc+0x364/0x10f0
[   22.328302]  test_double_free+0xdb/0x260
[   22.328941]  kunit_try_run_case+0x1a5/0x480
[   22.329931]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.330394]  kthread+0x337/0x6f0
[   22.330638]  ret_from_fork+0x41/0x80
[   22.330987]  ret_from_fork_asm+0x1a/0x30
[   22.331421] 
[   22.331529] freed by task 324 on cpu 0 at 22.317157s (0.014367s ago):
[   22.331785]  test_double_free+0x1e0/0x260
[   22.332054]  kunit_try_run_case+0x1a5/0x480
[   22.332394]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.332813]  kthread+0x337/0x6f0
[   22.333252]  ret_from_fork+0x41/0x80
[   22.333632]  ret_from_fork_asm+0x1a/0x30
[   22.334027] 
[   22.334254] CPU: 0 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT(voluntary) 
[   22.335084] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.335451] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   22.335911] ==================================================================