Date
July 4, 2025, 11:10 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 34.550972] ================================================================== [ 34.551195] BUG: KFENCE: invalid free in test_double_free+0x100/0x238 [ 34.551195] [ 34.551374] Invalid free of 0x00000000ea6561c1 (in kfence-#131): [ 34.551463] test_double_free+0x100/0x238 [ 34.551527] kunit_try_run_case+0x170/0x3f0 [ 34.551573] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 34.551625] kthread+0x328/0x630 [ 34.551672] ret_from_fork+0x10/0x20 [ 34.551713] [ 34.551746] kfence-#131: 0x00000000ea6561c1-0x000000009eb9c262, size=32, cache=test [ 34.551746] [ 34.551804] allocated by task 338 on cpu 1 at 34.550487s (0.001314s ago): [ 34.551870] test_alloc+0x230/0x628 [ 34.551921] test_double_free+0xd4/0x238 [ 34.551963] kunit_try_run_case+0x170/0x3f0 [ 34.552014] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 34.552068] kthread+0x328/0x630 [ 34.552106] ret_from_fork+0x10/0x20 [ 34.552144] [ 34.552177] freed by task 338 on cpu 1 at 34.550612s (0.001560s ago): [ 34.552243] test_double_free+0xf0/0x238 [ 34.552284] kunit_try_run_case+0x170/0x3f0 [ 34.552324] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 34.552370] kthread+0x328/0x630 [ 34.552411] ret_from_fork+0x10/0x20 [ 34.552449] [ 34.552487] CPU: 1 UID: 0 PID: 338 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250704 #1 PREEMPT [ 34.552568] Tainted: [B]=BAD_PAGE, [N]=TEST [ 34.552598] Hardware name: linux,dummy-virt (DT) [ 34.552642] ================================================================== [ 34.446806] ================================================================== [ 34.446916] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238 [ 34.446916] [ 34.446985] Invalid free of 0x000000007de98b24 (in kfence-#130): [ 34.447051] test_double_free+0x1bc/0x238 [ 34.447375] kunit_try_run_case+0x170/0x3f0 [ 34.447476] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 34.447792] kthread+0x328/0x630 [ 34.447854] ret_from_fork+0x10/0x20 [ 34.447918] [ 34.447946] kfence-#130: 0x000000007de98b24-0x00000000b7a29141, size=32, cache=kmalloc-32 [ 34.447946] [ 34.448017] allocated by task 336 on cpu 1 at 34.445140s (0.002873s ago): [ 34.448085] test_alloc+0x29c/0x628 [ 34.448127] test_double_free+0xd4/0x238 [ 34.448169] kunit_try_run_case+0x170/0x3f0 [ 34.448212] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 34.448265] kthread+0x328/0x630 [ 34.448304] ret_from_fork+0x10/0x20 [ 34.448344] [ 34.448367] freed by task 336 on cpu 1 at 34.445444s (0.002920s ago): [ 34.448441] test_double_free+0x1ac/0x238 [ 34.448482] kunit_try_run_case+0x170/0x3f0 [ 34.448531] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 34.448585] kthread+0x328/0x630 [ 34.448632] ret_from_fork+0x10/0x20 [ 34.448708] [ 34.448782] CPU: 1 UID: 0 PID: 336 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250704 #1 PREEMPT [ 34.448868] Tainted: [B]=BAD_PAGE, [N]=TEST [ 34.448907] Hardware name: linux,dummy-virt (DT) [ 34.449197] ==================================================================
[ 31.805823] ================================================================== [ 31.806325] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260 [ 31.806325] [ 31.806688] Invalid free of 0x(____ptrval____) (in kfence-#110): [ 31.807157] test_double_free+0x1d3/0x260 [ 31.807402] kunit_try_run_case+0x1a5/0x480 [ 31.807607] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 31.807782] kthread+0x337/0x6f0 [ 31.808056] ret_from_fork+0x116/0x1d0 [ 31.808254] ret_from_fork_asm+0x1a/0x30 [ 31.808506] [ 31.808601] kfence-#110: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 31.808601] [ 31.809114] allocated by task 352 on cpu 1 at 31.805544s (0.003568s ago): [ 31.809369] test_alloc+0x364/0x10f0 [ 31.809572] test_double_free+0xdb/0x260 [ 31.809790] kunit_try_run_case+0x1a5/0x480 [ 31.810005] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 31.810278] kthread+0x337/0x6f0 [ 31.810455] ret_from_fork+0x116/0x1d0 [ 31.810648] ret_from_fork_asm+0x1a/0x30 [ 31.810814] [ 31.810903] freed by task 352 on cpu 1 at 31.805619s (0.005281s ago): [ 31.811241] test_double_free+0x1e0/0x260 [ 31.811461] kunit_try_run_case+0x1a5/0x480 [ 31.811619] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 31.811790] kthread+0x337/0x6f0 [ 31.811906] ret_from_fork+0x116/0x1d0 [ 31.812078] ret_from_fork_asm+0x1a/0x30 [ 31.812283] [ 31.812446] CPU: 1 UID: 0 PID: 352 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250704 #1 PREEMPT(voluntary) [ 31.813493] Tainted: [B]=BAD_PAGE, [N]=TEST [ 31.813712] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 31.814584] ================================================================== [ 31.909894] ================================================================== [ 31.910505] BUG: KFENCE: invalid free in test_double_free+0x112/0x260 [ 31.910505] [ 31.910961] Invalid free of 0x(____ptrval____) (in kfence-#111): [ 31.911242] test_double_free+0x112/0x260 [ 31.911478] kunit_try_run_case+0x1a5/0x480 [ 31.911653] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 31.911906] kthread+0x337/0x6f0 [ 31.912214] ret_from_fork+0x116/0x1d0 [ 31.912367] ret_from_fork_asm+0x1a/0x30 [ 31.912628] [ 31.912758] kfence-#111: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test [ 31.912758] [ 31.913618] allocated by task 354 on cpu 0 at 31.909543s (0.004072s ago): [ 31.914661] test_alloc+0x2a6/0x10f0 [ 31.914849] test_double_free+0xdb/0x260 [ 31.915254] kunit_try_run_case+0x1a5/0x480 [ 31.915623] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 31.915928] kthread+0x337/0x6f0 [ 31.916125] ret_from_fork+0x116/0x1d0 [ 31.916339] ret_from_fork_asm+0x1a/0x30 [ 31.916581] [ 31.916697] freed by task 354 on cpu 0 at 31.909612s (0.007082s ago): [ 31.916932] test_double_free+0xfa/0x260 [ 31.917170] kunit_try_run_case+0x1a5/0x480 [ 31.917622] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 31.918156] kthread+0x337/0x6f0 [ 31.918362] ret_from_fork+0x116/0x1d0 [ 31.918527] ret_from_fork_asm+0x1a/0x30 [ 31.918762] [ 31.918930] CPU: 0 UID: 0 PID: 354 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250704 #1 PREEMPT(voluntary) [ 31.919588] Tainted: [B]=BAD_PAGE, [N]=TEST [ 31.919779] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 31.920304] ==================================================================