Date
June 18, 2025, 6:43 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 26.859326] ================================================================== [ 26.859474] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238 [ 26.859474] [ 26.859554] Invalid free of 0x0000000070a93324 (in kfence-#122): [ 26.859664] test_double_free+0x1bc/0x238 [ 26.859718] kunit_try_run_case+0x170/0x3f0 [ 26.859766] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 26.859810] kthread+0x328/0x630 [ 26.859851] ret_from_fork+0x10/0x20 [ 26.859891] [ 26.859917] kfence-#122: 0x0000000070a93324-0x00000000a7880c6d, size=32, cache=kmalloc-32 [ 26.859917] [ 26.859977] allocated by task 313 on cpu 1 at 26.858813s (0.001160s ago): [ 26.860065] test_alloc+0x29c/0x628 [ 26.860111] test_double_free+0xd4/0x238 [ 26.860151] kunit_try_run_case+0x170/0x3f0 [ 26.860193] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 26.860237] kthread+0x328/0x630 [ 26.860272] ret_from_fork+0x10/0x20 [ 26.860311] [ 26.860336] freed by task 313 on cpu 1 at 26.858935s (0.001396s ago): [ 26.860403] test_double_free+0x1ac/0x238 [ 26.860445] kunit_try_run_case+0x170/0x3f0 [ 26.860487] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 26.860541] kthread+0x328/0x630 [ 26.860584] ret_from_fork+0x10/0x20 [ 26.860624] [ 26.860678] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc2-next-20250618 #1 PREEMPT [ 26.860776] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 26.860810] Hardware name: linux,dummy-virt (DT) [ 26.860850] ================================================================== [ 26.963297] ================================================================== [ 26.963414] BUG: KFENCE: invalid free in test_double_free+0x100/0x238 [ 26.963414] [ 26.963487] Invalid free of 0x00000000648091d1 (in kfence-#123): [ 26.963545] test_double_free+0x100/0x238 [ 26.963594] kunit_try_run_case+0x170/0x3f0 [ 26.963638] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 26.963682] kthread+0x328/0x630 [ 26.963721] ret_from_fork+0x10/0x20 [ 26.963760] [ 26.963789] kfence-#123: 0x00000000648091d1-0x000000003da281d6, size=32, cache=test [ 26.963789] [ 26.963846] allocated by task 315 on cpu 1 at 26.963047s (0.000795s ago): [ 26.963915] test_alloc+0x230/0x628 [ 26.963960] test_double_free+0xd4/0x238 [ 26.964005] kunit_try_run_case+0x170/0x3f0 [ 26.964072] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 26.964118] kthread+0x328/0x630 [ 26.964155] ret_from_fork+0x10/0x20 [ 26.964198] [ 26.964224] freed by task 315 on cpu 1 at 26.963121s (0.001099s ago): [ 26.964296] test_double_free+0xf0/0x238 [ 26.964344] kunit_try_run_case+0x170/0x3f0 [ 26.964389] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 26.964436] kthread+0x328/0x630 [ 26.964475] ret_from_fork+0x10/0x20 [ 26.964519] [ 26.964580] CPU: 1 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc2-next-20250618 #1 PREEMPT [ 26.964678] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 26.964714] Hardware name: linux,dummy-virt (DT) [ 26.964751] ==================================================================
[ 16.442013] ================================================================== [ 16.442472] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260 [ 16.442472] [ 16.442792] Invalid free of 0x(____ptrval____) (in kfence-#73): [ 16.443090] test_double_free+0x1d3/0x260 [ 16.443303] kunit_try_run_case+0x1a5/0x480 [ 16.443538] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 16.443722] kthread+0x337/0x6f0 [ 16.443891] ret_from_fork+0x116/0x1d0 [ 16.444082] ret_from_fork_asm+0x1a/0x30 [ 16.444280] [ 16.444351] kfence-#73: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 16.444351] [ 16.444697] allocated by task 329 on cpu 0 at 16.441767s (0.002928s ago): [ 16.445002] test_alloc+0x364/0x10f0 [ 16.445139] test_double_free+0xdb/0x260 [ 16.445283] kunit_try_run_case+0x1a5/0x480 [ 16.445554] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 16.445813] kthread+0x337/0x6f0 [ 16.445999] ret_from_fork+0x116/0x1d0 [ 16.446190] ret_from_fork_asm+0x1a/0x30 [ 16.446340] [ 16.446432] freed by task 329 on cpu 0 at 16.441824s (0.004606s ago): [ 16.446885] test_double_free+0x1e0/0x260 [ 16.447193] kunit_try_run_case+0x1a5/0x480 [ 16.447790] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 16.448107] kthread+0x337/0x6f0 [ 16.448289] ret_from_fork+0x116/0x1d0 [ 16.448453] ret_from_fork_asm+0x1a/0x30 [ 16.448585] [ 16.448710] CPU: 0 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250618 #1 PREEMPT(voluntary) [ 16.449758] Tainted: [B]=BAD_PAGE, [N]=TEST [ 16.450024] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 16.450571] ================================================================== [ 16.545900] ================================================================== [ 16.546299] BUG: KFENCE: invalid free in test_double_free+0x112/0x260 [ 16.546299] [ 16.546622] Invalid free of 0x(____ptrval____) (in kfence-#74): [ 16.546892] test_double_free+0x112/0x260 [ 16.547072] kunit_try_run_case+0x1a5/0x480 [ 16.547676] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 16.548113] kthread+0x337/0x6f0 [ 16.548303] ret_from_fork+0x116/0x1d0 [ 16.548468] ret_from_fork_asm+0x1a/0x30 [ 16.548659] [ 16.548734] kfence-#74: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test [ 16.548734] [ 16.549112] allocated by task 331 on cpu 0 at 16.545759s (0.003351s ago): [ 16.549358] test_alloc+0x2a6/0x10f0 [ 16.549536] test_double_free+0xdb/0x260 [ 16.549724] kunit_try_run_case+0x1a5/0x480 [ 16.549916] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 16.550108] kthread+0x337/0x6f0 [ 16.550871] ret_from_fork+0x116/0x1d0 [ 16.551012] ret_from_fork_asm+0x1a/0x30 [ 16.551446] [ 16.551543] freed by task 331 on cpu 0 at 16.545799s (0.005741s ago): [ 16.551926] test_double_free+0xfa/0x260 [ 16.552084] kunit_try_run_case+0x1a5/0x480 [ 16.552404] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 16.552728] kthread+0x337/0x6f0 [ 16.554352] ret_from_fork+0x116/0x1d0 [ 16.554518] ret_from_fork_asm+0x1a/0x30 [ 16.554658] [ 16.554753] CPU: 0 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250618 #1 PREEMPT(voluntary) [ 16.555110] Tainted: [B]=BAD_PAGE, [N]=TEST [ 16.555328] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 16.555596] ==================================================================