Date
July 5, 2025, 11:09 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 24.835899] ================================================================== [ 24.836059] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238 [ 24.836059] [ 24.836191] Invalid free of 0x0000000066efedde (in kfence-#121): [ 24.836324] test_double_free+0x1bc/0x238 [ 24.836439] kunit_try_run_case+0x170/0x3f0 [ 24.836989] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.837205] kthread+0x328/0x630 [ 24.837366] ret_from_fork+0x10/0x20 [ 24.837467] [ 24.837579] kfence-#121: 0x0000000066efedde-0x000000002f3a3889, size=32, cache=kmalloc-32 [ 24.837579] [ 24.838091] allocated by task 304 on cpu 1 at 24.835433s (0.002633s ago): [ 24.838289] test_alloc+0x29c/0x628 [ 24.838589] test_double_free+0xd4/0x238 [ 24.838700] kunit_try_run_case+0x170/0x3f0 [ 24.838794] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.838975] kthread+0x328/0x630 [ 24.839395] ret_from_fork+0x10/0x20 [ 24.839498] [ 24.839533] freed by task 304 on cpu 1 at 24.835541s (0.003987s ago): [ 24.839611] test_double_free+0x1ac/0x238 [ 24.839660] kunit_try_run_case+0x170/0x3f0 [ 24.839703] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.839750] kthread+0x328/0x630 [ 24.839788] ret_from_fork+0x10/0x20 [ 24.839830] [ 24.839882] CPU: 1 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 24.839969] Tainted: [B]=BAD_PAGE, [N]=TEST [ 24.840001] Hardware name: linux,dummy-virt (DT) [ 24.840040] ================================================================== [ 24.945426] ================================================================== [ 24.945533] BUG: KFENCE: invalid free in test_double_free+0x100/0x238 [ 24.945533] [ 24.945645] Invalid free of 0x00000000e33e160b (in kfence-#122): [ 24.945749] test_double_free+0x100/0x238 [ 24.946580] kunit_try_run_case+0x170/0x3f0 [ 24.946803] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.946917] kthread+0x328/0x630 [ 24.947011] ret_from_fork+0x10/0x20 [ 24.947087] [ 24.947140] kfence-#122: 0x00000000e33e160b-0x000000002068a3e3, size=32, cache=test [ 24.947140] [ 24.947644] allocated by task 306 on cpu 1 at 24.943734s (0.003515s ago): [ 24.948161] test_alloc+0x230/0x628 [ 24.948291] test_double_free+0xd4/0x238 [ 24.948404] kunit_try_run_case+0x170/0x3f0 [ 24.948877] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.948999] kthread+0x328/0x630 [ 24.949074] ret_from_fork+0x10/0x20 [ 24.949163] [ 24.949444] freed by task 306 on cpu 1 at 24.943821s (0.005608s ago): [ 24.950137] test_double_free+0xf0/0x238 [ 24.950311] kunit_try_run_case+0x170/0x3f0 [ 24.950412] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.950938] kthread+0x328/0x630 [ 24.951099] ret_from_fork+0x10/0x20 [ 24.951209] [ 24.951312] CPU: 1 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 24.951491] Tainted: [B]=BAD_PAGE, [N]=TEST [ 24.952028] Hardware name: linux,dummy-virt (DT) [ 24.952376] ==================================================================
[ 19.964542] ================================================================== [ 19.965192] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260 [ 19.965192] [ 19.966474] Invalid free of 0x(____ptrval____) (in kfence-#82): [ 19.967101] test_double_free+0x1d3/0x260 [ 19.967298] kunit_try_run_case+0x1a5/0x480 [ 19.967484] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 19.967890] kthread+0x337/0x6f0 [ 19.968292] ret_from_fork+0x116/0x1d0 [ 19.969186] ret_from_fork_asm+0x1a/0x30 [ 19.969690] [ 19.969987] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 19.969987] [ 19.970909] allocated by task 321 on cpu 1 at 19.964225s (0.006681s ago): [ 19.971207] test_alloc+0x364/0x10f0 [ 19.971473] test_double_free+0xdb/0x260 [ 19.971659] kunit_try_run_case+0x1a5/0x480 [ 19.971837] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 19.972471] kthread+0x337/0x6f0 [ 19.972844] ret_from_fork+0x116/0x1d0 [ 19.973247] ret_from_fork_asm+0x1a/0x30 [ 19.973557] [ 19.974596] freed by task 321 on cpu 1 at 19.964310s (0.010280s ago): [ 19.975452] test_double_free+0x1e0/0x260 [ 19.975660] kunit_try_run_case+0x1a5/0x480 [ 19.976300] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 19.977153] kthread+0x337/0x6f0 [ 19.977858] ret_from_fork+0x116/0x1d0 [ 19.978457] ret_from_fork_asm+0x1a/0x30 [ 19.978931] [ 19.979238] CPU: 1 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 19.980360] Tainted: [B]=BAD_PAGE, [N]=TEST [ 19.980948] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 19.981301] ================================================================== [ 20.068396] ================================================================== [ 20.068950] BUG: KFENCE: invalid free in test_double_free+0x112/0x260 [ 20.068950] [ 20.069344] Invalid free of 0x(____ptrval____) (in kfence-#83): [ 20.070021] test_double_free+0x112/0x260 [ 20.070293] kunit_try_run_case+0x1a5/0x480 [ 20.070563] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 20.071253] kthread+0x337/0x6f0 [ 20.071467] ret_from_fork+0x116/0x1d0 [ 20.071674] ret_from_fork_asm+0x1a/0x30 [ 20.071977] [ 20.072332] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test [ 20.072332] [ 20.072833] allocated by task 323 on cpu 0 at 20.068201s (0.004629s ago): [ 20.073267] test_alloc+0x2a6/0x10f0 [ 20.073443] test_double_free+0xdb/0x260 [ 20.073701] kunit_try_run_case+0x1a5/0x480 [ 20.074060] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 20.074359] kthread+0x337/0x6f0 [ 20.074520] ret_from_fork+0x116/0x1d0 [ 20.074785] ret_from_fork_asm+0x1a/0x30 [ 20.075060] [ 20.075207] freed by task 323 on cpu 0 at 20.068260s (0.006944s ago): [ 20.075564] test_double_free+0xfa/0x260 [ 20.075788] kunit_try_run_case+0x1a5/0x480 [ 20.076006] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 20.076390] kthread+0x337/0x6f0 [ 20.076818] ret_from_fork+0x116/0x1d0 [ 20.077459] ret_from_fork_asm+0x1a/0x30 [ 20.077707] [ 20.077934] CPU: 0 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 20.078455] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.078738] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 20.079184] ==================================================================