Date
July 9, 2025, 11:07 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 21.812293] ================================================================== [ 21.812391] BUG: KFENCE: invalid free in test_double_free+0x100/0x238 [ 21.812391] [ 21.812455] Invalid free of 0x0000000007108442 (in kfence-#98): [ 21.812508] test_double_free+0x100/0x238 [ 21.812555] kunit_try_run_case+0x170/0x3f0 [ 21.812601] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.812644] kthread+0x328/0x630 [ 21.812683] ret_from_fork+0x10/0x20 [ 21.812723] [ 21.812749] kfence-#98: 0x0000000007108442-0x00000000b00cf1e8, size=32, cache=test [ 21.812749] [ 21.812802] allocated by task 305 on cpu 0 at 21.812057s (0.000741s ago): [ 21.812866] test_alloc+0x230/0x628 [ 21.812905] test_double_free+0xd4/0x238 [ 21.812946] kunit_try_run_case+0x170/0x3f0 [ 21.812986] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.813029] kthread+0x328/0x630 [ 21.813064] ret_from_fork+0x10/0x20 [ 21.813101] [ 21.813142] freed by task 305 on cpu 0 at 21.812139s (0.000999s ago): [ 21.813207] test_double_free+0xf0/0x238 [ 21.813246] kunit_try_run_case+0x170/0x3f0 [ 21.813286] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.813329] kthread+0x328/0x630 [ 21.813363] ret_from_fork+0x10/0x20 [ 21.813403] [ 21.813448] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT [ 21.813531] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.813561] Hardware name: linux,dummy-virt (DT) [ 21.813596] ================================================================== [ 21.708465] ================================================================== [ 21.708586] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238 [ 21.708586] [ 21.708657] Invalid free of 0x00000000ae8d2d1d (in kfence-#97): [ 21.708721] test_double_free+0x1bc/0x238 [ 21.708768] kunit_try_run_case+0x170/0x3f0 [ 21.708815] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.708857] kthread+0x328/0x630 [ 21.708897] ret_from_fork+0x10/0x20 [ 21.708937] [ 21.708961] kfence-#97: 0x00000000ae8d2d1d-0x0000000052c75f31, size=32, cache=kmalloc-32 [ 21.708961] [ 21.709017] allocated by task 303 on cpu 0 at 21.708169s (0.000845s ago): [ 21.709079] test_alloc+0x29c/0x628 [ 21.709136] test_double_free+0xd4/0x238 [ 21.709176] kunit_try_run_case+0x170/0x3f0 [ 21.709215] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.709260] kthread+0x328/0x630 [ 21.709296] ret_from_fork+0x10/0x20 [ 21.709338] [ 21.709361] freed by task 303 on cpu 0 at 21.708249s (0.001108s ago): [ 21.709423] test_double_free+0x1ac/0x238 [ 21.709464] kunit_try_run_case+0x170/0x3f0 [ 21.709503] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.709551] kthread+0x328/0x630 [ 21.709587] ret_from_fork+0x10/0x20 [ 21.709627] [ 21.709673] CPU: 0 UID: 0 PID: 303 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT [ 21.709754] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.709784] Hardware name: linux,dummy-virt (DT) [ 21.709819] ==================================================================
[ 18.427559] ================================================================== [ 18.428012] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260 [ 18.428012] [ 18.428435] Invalid free of 0x(____ptrval____) (in kfence-#76): [ 18.428719] test_double_free+0x1d3/0x260 [ 18.428908] kunit_try_run_case+0x1a5/0x480 [ 18.429151] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 18.429333] kthread+0x337/0x6f0 [ 18.429457] ret_from_fork+0x116/0x1d0 [ 18.429632] ret_from_fork_asm+0x1a/0x30 [ 18.429861] [ 18.429979] kfence-#76: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 18.429979] [ 18.430454] allocated by task 320 on cpu 1 at 18.427352s (0.003100s ago): [ 18.430718] test_alloc+0x364/0x10f0 [ 18.430862] test_double_free+0xdb/0x260 [ 18.431079] kunit_try_run_case+0x1a5/0x480 [ 18.431430] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 18.431674] kthread+0x337/0x6f0 [ 18.431834] ret_from_fork+0x116/0x1d0 [ 18.432000] ret_from_fork_asm+0x1a/0x30 [ 18.432215] [ 18.432337] freed by task 320 on cpu 1 at 18.427412s (0.004923s ago): [ 18.432604] test_double_free+0x1e0/0x260 [ 18.432800] kunit_try_run_case+0x1a5/0x480 [ 18.432999] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 18.433325] kthread+0x337/0x6f0 [ 18.433486] ret_from_fork+0x116/0x1d0 [ 18.433641] ret_from_fork_asm+0x1a/0x30 [ 18.433881] [ 18.434029] CPU: 1 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT(voluntary) [ 18.434483] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.434695] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 18.435091] ================================================================== [ 18.531546] ================================================================== [ 18.531955] BUG: KFENCE: invalid free in test_double_free+0x112/0x260 [ 18.531955] [ 18.532404] Invalid free of 0x(____ptrval____) (in kfence-#77): [ 18.532693] test_double_free+0x112/0x260 [ 18.532885] kunit_try_run_case+0x1a5/0x480 [ 18.533084] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 18.533340] kthread+0x337/0x6f0 [ 18.533480] ret_from_fork+0x116/0x1d0 [ 18.533614] ret_from_fork_asm+0x1a/0x30 [ 18.533834] [ 18.533934] kfence-#77: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test [ 18.533934] [ 18.534386] allocated by task 322 on cpu 0 at 18.531380s (0.003004s ago): [ 18.534678] test_alloc+0x2a6/0x10f0 [ 18.534822] test_double_free+0xdb/0x260 [ 18.535021] kunit_try_run_case+0x1a5/0x480 [ 18.535324] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 18.535554] kthread+0x337/0x6f0 [ 18.535725] ret_from_fork+0x116/0x1d0 [ 18.535901] ret_from_fork_asm+0x1a/0x30 [ 18.536062] [ 18.536159] freed by task 322 on cpu 0 at 18.531425s (0.004732s ago): [ 18.536401] test_double_free+0xfa/0x260 [ 18.536560] kunit_try_run_case+0x1a5/0x480 [ 18.536778] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 18.537033] kthread+0x337/0x6f0 [ 18.537223] ret_from_fork+0x116/0x1d0 [ 18.537392] ret_from_fork_asm+0x1a/0x30 [ 18.537536] [ 18.537631] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT(voluntary) [ 18.538033] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.538235] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 18.538648] ==================================================================