Hay
Date
July 15, 2025, 11:35 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   86.580891] ==================================================================
[   86.581033] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   86.581033] 
[   86.581164] Invalid free of 0x(____ptrval____) (in kfence-#148):
[   86.581267]  test_double_free+0x1bc/0x238
[   86.583736]  kunit_try_run_case+0x170/0x3f0
[   86.587903]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   86.593371]  kthread+0x328/0x630
[   86.596582]  ret_from_fork+0x10/0x20
[   86.600141] 
[   86.601621] kfence-#148: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   86.601621] 
[   86.611258] allocated by task 384 on cpu 4 at 86.580809s (0.030445s ago):
[   86.618039]  test_alloc+0x29c/0x628
[   86.621495]  test_double_free+0xd4/0x238
[   86.625402]  kunit_try_run_case+0x170/0x3f0
[   86.629568]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   86.635037]  kthread+0x328/0x630
[   86.638249]  ret_from_fork+0x10/0x20
[   86.641809] 
[   86.643285] freed by task 384 on cpu 4 at 86.580825s (0.062458s ago):
[   86.649724]  test_double_free+0x1ac/0x238
[   86.653700]  kunit_try_run_case+0x170/0x3f0
[   86.657866]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   86.663335]  kthread+0x328/0x630
[   86.666546]  ret_from_fork+0x10/0x20
[   86.670107] 
[   86.671593] CPU: 4 UID: 0 PID: 384 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT 
[   86.682703] Tainted: [B]=BAD_PAGE, [N]=TEST
[   86.686860] Hardware name: WinLink E850-96 board (DT)
[   86.691897] ==================================================================
[   86.800892] ==================================================================
[   86.801018] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   86.801018] 
[   86.801149] Invalid free of 0x(____ptrval____) (in kfence-#150):
[   86.801250]  test_double_free+0x100/0x238
[   86.803723]  kunit_try_run_case+0x170/0x3f0
[   86.807889]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   86.813358]  kthread+0x328/0x630
[   86.816570]  ret_from_fork+0x10/0x20
[   86.820129] 
[   86.821609] kfence-#150: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   86.821609] 
[   86.830720] allocated by task 386 on cpu 3 at 86.800816s (0.029902s ago):
[   86.837506]  test_alloc+0x230/0x628
[   86.840962]  test_double_free+0xd4/0x238
[   86.844868]  kunit_try_run_case+0x170/0x3f0
[   86.849035]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   86.854503]  kthread+0x328/0x630
[   86.857715]  ret_from_fork+0x10/0x20
[   86.861276] 
[   86.862751] freed by task 386 on cpu 3 at 86.800831s (0.061917s ago):
[   86.869192]  test_double_free+0xf0/0x238
[   86.873080]  kunit_try_run_case+0x170/0x3f0
[   86.877246]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   86.882715]  kthread+0x328/0x630
[   86.885927]  ret_from_fork+0x10/0x20
[   86.889486] 
[   86.890971] CPU: 3 UID: 0 PID: 386 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT 
[   86.902084] Tainted: [B]=BAD_PAGE, [N]=TEST
[   86.906240] Hardware name: WinLink E850-96 board (DT)
[   86.911277] ==================================================================

[   35.618428] ==================================================================
[   35.618540] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   35.618540] 
[   35.618616] Invalid free of 0x000000006248b1dc (in kfence-#134):
[   35.618689]  test_double_free+0x100/0x238
[   35.618745]  kunit_try_run_case+0x170/0x3f0
[   35.618815]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.618860]  kthread+0x328/0x630
[   35.618917]  ret_from_fork+0x10/0x20
[   35.618986] 
[   35.619015] kfence-#134: 0x000000006248b1dc-0x0000000080390fac, size=32, cache=test
[   35.619015] 
[   35.619129] allocated by task 337 on cpu 1 at 35.618189s (0.000901s ago):
[   35.619196]  test_alloc+0x230/0x628
[   35.619241]  test_double_free+0xd4/0x238
[   35.619298]  kunit_try_run_case+0x170/0x3f0
[   35.619338]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.619381]  kthread+0x328/0x630
[   35.619416]  ret_from_fork+0x10/0x20
[   35.619737] 
[   35.619771] freed by task 337 on cpu 1 at 35.618244s (0.001523s ago):
[   35.619859]  test_double_free+0xf0/0x238
[   35.620060]  kunit_try_run_case+0x170/0x3f0
[   35.620108]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.620154]  kthread+0x328/0x630
[   35.620228]  ret_from_fork+0x10/0x20
[   35.620292] 
[   35.620362] CPU: 1 UID: 0 PID: 337 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT 
[   35.620494] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.620522] Hardware name: linux,dummy-virt (DT)
[   35.620581] ==================================================================
[   35.511931] ==================================================================
[   35.512034] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   35.512034] 
[   35.512102] Invalid free of 0x000000001312013a (in kfence-#133):
[   35.512322]  test_double_free+0x1bc/0x238
[   35.512413]  kunit_try_run_case+0x170/0x3f0
[   35.512492]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.512555]  kthread+0x328/0x630
[   35.512601]  ret_from_fork+0x10/0x20
[   35.512644] 
[   35.512669] kfence-#133: 0x000000001312013a-0x0000000015469428, size=32, cache=kmalloc-32
[   35.512669] 
[   35.512755] allocated by task 335 on cpu 1 at 35.511277s (0.001457s ago):
[   35.512820]  test_alloc+0x29c/0x628
[   35.512886]  test_double_free+0xd4/0x238
[   35.512929]  kunit_try_run_case+0x170/0x3f0
[   35.512966]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.513010]  kthread+0x328/0x630
[   35.513047]  ret_from_fork+0x10/0x20
[   35.513086] 
[   35.513111] freed by task 335 on cpu 1 at 35.511344s (0.001763s ago):
[   35.513271]  test_double_free+0x1ac/0x238
[   35.513376]  kunit_try_run_case+0x170/0x3f0
[   35.513429]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.513483]  kthread+0x328/0x630
[   35.513520]  ret_from_fork+0x10/0x20
[   35.513576] 
[   35.513836] CPU: 1 UID: 0 PID: 335 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT 
[   35.513932] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.513962] Hardware name: linux,dummy-virt (DT)
[   35.513995] ==================================================================

[   29.670092] ==================================================================
[   29.670507] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   29.670507] 
[   29.670933] Invalid free of 0x(____ptrval____) (in kfence-#100):
[   29.671224]  test_double_free+0x1d3/0x260
[   29.671408]  kunit_try_run_case+0x1a5/0x480
[   29.671612]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.671812]  kthread+0x337/0x6f0
[   29.672000]  ret_from_fork+0x116/0x1d0
[   29.672209]  ret_from_fork_asm+0x1a/0x30
[   29.672370] 
[   29.672442] kfence-#100: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   29.672442] 
[   29.673086] allocated by task 351 on cpu 0 at 29.669840s (0.003243s ago):
[   29.673382]  test_alloc+0x364/0x10f0
[   29.673515]  test_double_free+0xdb/0x260
[   29.673826]  kunit_try_run_case+0x1a5/0x480
[   29.674049]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.674230]  kthread+0x337/0x6f0
[   29.674379]  ret_from_fork+0x116/0x1d0
[   29.674589]  ret_from_fork_asm+0x1a/0x30
[   29.674806] 
[   29.674901] freed by task 351 on cpu 0 at 29.669901s (0.004997s ago):
[   29.675184]  test_double_free+0x1e0/0x260
[   29.675357]  kunit_try_run_case+0x1a5/0x480
[   29.675504]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.675745]  kthread+0x337/0x6f0
[   29.675938]  ret_from_fork+0x116/0x1d0
[   29.676133]  ret_from_fork_asm+0x1a/0x30
[   29.676285] 
[   29.676381] CPU: 0 UID: 0 PID: 351 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT(voluntary) 
[   29.677033] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.677221] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.677601] ==================================================================
[   29.774029] ==================================================================
[   29.774442] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   29.774442] 
[   29.774848] Invalid free of 0x(____ptrval____) (in kfence-#101):
[   29.775145]  test_double_free+0x112/0x260
[   29.775368]  kunit_try_run_case+0x1a5/0x480
[   29.775528]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.775878]  kthread+0x337/0x6f0
[   29.776077]  ret_from_fork+0x116/0x1d0
[   29.776237]  ret_from_fork_asm+0x1a/0x30
[   29.776456] 
[   29.776556] kfence-#101: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   29.776556] 
[   29.776960] allocated by task 353 on cpu 1 at 29.773825s (0.003132s ago):
[   29.777189]  test_alloc+0x2a6/0x10f0
[   29.777370]  test_double_free+0xdb/0x260
[   29.777594]  kunit_try_run_case+0x1a5/0x480
[   29.777796]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.778044]  kthread+0x337/0x6f0
[   29.778186]  ret_from_fork+0x116/0x1d0
[   29.778363]  ret_from_fork_asm+0x1a/0x30
[   29.778561] 
[   29.778655] freed by task 353 on cpu 1 at 29.773880s (0.004773s ago):
[   29.778913]  test_double_free+0xfa/0x260
[   29.779056]  kunit_try_run_case+0x1a5/0x480
[   29.779243]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.779495]  kthread+0x337/0x6f0
[   29.779656]  ret_from_fork+0x116/0x1d0
[   29.779820]  ret_from_fork_asm+0x1a/0x30
[   29.780030] 
[   29.780122] CPU: 1 UID: 0 PID: 353 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT(voluntary) 
[   29.780598] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.780817] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.781228] ==================================================================