Date
July 17, 2025, 10:12 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 34.997052] ================================================================== [ 34.997211] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238 [ 34.997211] [ 34.997283] Invalid free of 0x000000009583b782 (in kfence-#140): [ 34.997355] test_double_free+0x1bc/0x238 [ 34.997401] kunit_try_run_case+0x170/0x3f0 [ 34.997446] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 34.997494] kthread+0x328/0x630 [ 34.997533] ret_from_fork+0x10/0x20 [ 34.997577] [ 34.997605] kfence-#140: 0x000000009583b782-0x0000000012423584, size=32, cache=kmalloc-32 [ 34.997605] [ 34.997668] allocated by task 334 on cpu 0 at 34.996749s (0.000915s ago): [ 34.997742] test_alloc+0x29c/0x628 [ 34.997782] test_double_free+0xd4/0x238 [ 34.997821] kunit_try_run_case+0x170/0x3f0 [ 34.997862] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 34.997907] kthread+0x328/0x630 [ 34.997945] ret_from_fork+0x10/0x20 [ 34.997985] [ 34.998009] freed by task 334 on cpu 0 at 34.996829s (0.001177s ago): [ 34.998093] test_double_free+0x1ac/0x238 [ 34.998133] kunit_try_run_case+0x170/0x3f0 [ 34.998174] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 34.998220] kthread+0x328/0x630 [ 34.998257] ret_from_fork+0x10/0x20 [ 34.998297] [ 34.998341] CPU: 0 UID: 0 PID: 334 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250717 #1 PREEMPT [ 34.998430] Tainted: [B]=BAD_PAGE, [N]=TEST [ 34.998459] Hardware name: linux,dummy-virt (DT) [ 34.998492] ================================================================== [ 35.100996] ================================================================== [ 35.101105] BUG: KFENCE: invalid free in test_double_free+0x100/0x238 [ 35.101105] [ 35.101172] Invalid free of 0x0000000062d1ec6e (in kfence-#141): [ 35.101231] test_double_free+0x100/0x238 [ 35.101278] kunit_try_run_case+0x170/0x3f0 [ 35.101321] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 35.101367] kthread+0x328/0x630 [ 35.101409] ret_from_fork+0x10/0x20 [ 35.101448] [ 35.101473] kfence-#141: 0x0000000062d1ec6e-0x0000000036b72e47, size=32, cache=test [ 35.101473] [ 35.101530] allocated by task 336 on cpu 0 at 35.100773s (0.000752s ago): [ 35.101599] test_alloc+0x230/0x628 [ 35.101638] test_double_free+0xd4/0x238 [ 35.101678] kunit_try_run_case+0x170/0x3f0 [ 35.101717] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 35.101762] kthread+0x328/0x630 [ 35.101800] ret_from_fork+0x10/0x20 [ 35.101839] [ 35.101862] freed by task 336 on cpu 0 at 35.100847s (0.001012s ago): [ 35.101931] test_double_free+0xf0/0x238 [ 35.101971] kunit_try_run_case+0x170/0x3f0 [ 35.102010] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 35.102065] kthread+0x328/0x630 [ 35.102102] ret_from_fork+0x10/0x20 [ 35.102142] [ 35.102183] CPU: 0 UID: 0 PID: 336 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250717 #1 PREEMPT [ 35.102270] Tainted: [B]=BAD_PAGE, [N]=TEST [ 35.102299] Hardware name: linux,dummy-virt (DT) [ 35.102335] ==================================================================
[ 31.022710] ================================================================== [ 31.023089] BUG: KFENCE: invalid free in test_double_free+0x112/0x260 [ 31.023089] [ 31.023358] Invalid free of 0x(____ptrval____) (in kfence-#95): [ 31.023659] test_double_free+0x112/0x260 [ 31.023847] kunit_try_run_case+0x1a5/0x480 [ 31.024024] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 31.024289] kthread+0x337/0x6f0 [ 31.024484] ret_from_fork+0x116/0x1d0 [ 31.024763] ret_from_fork_asm+0x1a/0x30 [ 31.024937] [ 31.025017] kfence-#95: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test [ 31.025017] [ 31.025444] allocated by task 354 on cpu 1 at 31.022543s (0.002899s ago): [ 31.025723] test_alloc+0x2a6/0x10f0 [ 31.025855] test_double_free+0xdb/0x260 [ 31.025993] kunit_try_run_case+0x1a5/0x480 [ 31.026142] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 31.026383] kthread+0x337/0x6f0 [ 31.026557] ret_from_fork+0x116/0x1d0 [ 31.026738] ret_from_fork_asm+0x1a/0x30 [ 31.026892] [ 31.026958] freed by task 354 on cpu 1 at 31.022598s (0.004358s ago): [ 31.027175] test_double_free+0xfa/0x260 [ 31.027494] kunit_try_run_case+0x1a5/0x480 [ 31.027702] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 31.027949] kthread+0x337/0x6f0 [ 31.028124] ret_from_fork+0x116/0x1d0 [ 31.028307] ret_from_fork_asm+0x1a/0x30 [ 31.028478] [ 31.028568] CPU: 1 UID: 0 PID: 354 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250717 #1 PREEMPT(voluntary) [ 31.028947] Tainted: [B]=BAD_PAGE, [N]=TEST [ 31.029152] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 31.029550] ================================================================== [ 30.918800] ================================================================== [ 30.919240] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260 [ 30.919240] [ 30.919584] Invalid free of 0x(____ptrval____) (in kfence-#94): [ 30.919884] test_double_free+0x1d3/0x260 [ 30.920057] kunit_try_run_case+0x1a5/0x480 [ 30.920242] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 30.920411] kthread+0x337/0x6f0 [ 30.920528] ret_from_fork+0x116/0x1d0 [ 30.920788] ret_from_fork_asm+0x1a/0x30 [ 30.920987] [ 30.921091] kfence-#94: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 30.921091] [ 30.921475] allocated by task 352 on cpu 0 at 30.918541s (0.002932s ago): [ 30.922137] test_alloc+0x364/0x10f0 [ 30.922323] test_double_free+0xdb/0x260 [ 30.922736] kunit_try_run_case+0x1a5/0x480 [ 30.922954] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 30.923188] kthread+0x337/0x6f0 [ 30.923627] ret_from_fork+0x116/0x1d0 [ 30.923794] ret_from_fork_asm+0x1a/0x30 [ 30.924105] [ 30.924202] freed by task 352 on cpu 0 at 30.918600s (0.005600s ago): [ 30.924607] test_double_free+0x1e0/0x260 [ 30.924788] kunit_try_run_case+0x1a5/0x480 [ 30.924973] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 30.925218] kthread+0x337/0x6f0 [ 30.925383] ret_from_fork+0x116/0x1d0 [ 30.925785] ret_from_fork_asm+0x1a/0x30 [ 30.925949] [ 30.926203] CPU: 0 UID: 0 PID: 352 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250717 #1 PREEMPT(voluntary) [ 30.926762] Tainted: [B]=BAD_PAGE, [N]=TEST [ 30.926947] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 30.927502] ==================================================================