Date
July 24, 2025, 4:41 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 37.335506] ================================================================== [ 37.335602] BUG: KFENCE: invalid free in test_double_free+0x100/0x238 [ 37.335602] [ 37.335661] Invalid free of 0x0000000064110552 (in kfence-#137): [ 37.335712] test_double_free+0x100/0x238 [ 37.335772] kunit_try_run_case+0x170/0x3f0 [ 37.335816] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 37.335859] kthread+0x328/0x630 [ 37.335896] ret_from_fork+0x10/0x20 [ 37.335934] [ 37.335960] kfence-#137: 0x0000000064110552-0x00000000dc3aa18e, size=32, cache=test [ 37.335960] [ 37.336012] allocated by task 336 on cpu 0 at 37.335314s (0.000694s ago): [ 37.336073] test_alloc+0x230/0x628 [ 37.336110] test_double_free+0xd4/0x238 [ 37.336148] kunit_try_run_case+0x170/0x3f0 [ 37.336188] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 37.336228] kthread+0x328/0x630 [ 37.336265] ret_from_fork+0x10/0x20 [ 37.336303] [ 37.336326] freed by task 336 on cpu 0 at 37.335376s (0.000947s ago): [ 37.336387] test_double_free+0xf0/0x238 [ 37.336425] kunit_try_run_case+0x170/0x3f0 [ 37.336462] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 37.336505] kthread+0x328/0x630 [ 37.336539] ret_from_fork+0x10/0x20 [ 37.336579] [ 37.336622] CPU: 0 UID: 0 PID: 336 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7-next-20250724 #1 PREEMPT [ 37.336701] Tainted: [B]=BAD_PAGE, [N]=TEST [ 37.336730] Hardware name: linux,dummy-virt (DT) [ 37.336774] ================================================================== [ 37.231623] ================================================================== [ 37.231736] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238 [ 37.231736] [ 37.231826] Invalid free of 0x000000004b691858 (in kfence-#136): [ 37.231895] test_double_free+0x1bc/0x238 [ 37.231939] kunit_try_run_case+0x170/0x3f0 [ 37.231982] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 37.232027] kthread+0x328/0x630 [ 37.232066] ret_from_fork+0x10/0x20 [ 37.232105] [ 37.232132] kfence-#136: 0x000000004b691858-0x000000000042badf, size=32, cache=kmalloc-32 [ 37.232132] [ 37.232188] allocated by task 334 on cpu 0 at 37.231307s (0.000877s ago): [ 37.232252] test_alloc+0x29c/0x628 [ 37.232290] test_double_free+0xd4/0x238 [ 37.232328] kunit_try_run_case+0x170/0x3f0 [ 37.232371] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 37.232415] kthread+0x328/0x630 [ 37.232451] ret_from_fork+0x10/0x20 [ 37.232491] [ 37.232515] freed by task 334 on cpu 0 at 37.231386s (0.001125s ago): [ 37.232577] test_double_free+0x1ac/0x238 [ 37.232616] kunit_try_run_case+0x170/0x3f0 [ 37.232655] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 37.232698] kthread+0x328/0x630 [ 37.232735] ret_from_fork+0x10/0x20 [ 37.232788] [ 37.232838] CPU: 0 UID: 0 PID: 334 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7-next-20250724 #1 PREEMPT [ 37.232919] Tainted: [B]=BAD_PAGE, [N]=TEST [ 37.232950] Hardware name: linux,dummy-virt (DT) [ 37.232984] ==================================================================
[ 33.337314] ================================================================== [ 33.337762] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260 [ 33.337762] [ 33.338178] Invalid free of 0x(____ptrval____) (in kfence-#105): [ 33.338591] test_double_free+0x1d3/0x260 [ 33.339246] kunit_try_run_case+0x1a5/0x480 [ 33.339666] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.339875] kthread+0x337/0x6f0 [ 33.340111] ret_from_fork+0x116/0x1d0 [ 33.340466] ret_from_fork_asm+0x1a/0x30 [ 33.340695] [ 33.340874] kfence-#105: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 33.340874] [ 33.341344] allocated by task 351 on cpu 0 at 33.337047s (0.004294s ago): [ 33.341834] test_alloc+0x364/0x10f0 [ 33.342035] test_double_free+0xdb/0x260 [ 33.342312] kunit_try_run_case+0x1a5/0x480 [ 33.342621] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.342960] kthread+0x337/0x6f0 [ 33.343205] ret_from_fork+0x116/0x1d0 [ 33.343479] ret_from_fork_asm+0x1a/0x30 [ 33.343669] [ 33.343846] freed by task 351 on cpu 0 at 33.337108s (0.006736s ago): [ 33.344323] test_double_free+0x1e0/0x260 [ 33.344510] kunit_try_run_case+0x1a5/0x480 [ 33.344851] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.345217] kthread+0x337/0x6f0 [ 33.345389] ret_from_fork+0x116/0x1d0 [ 33.345522] ret_from_fork_asm+0x1a/0x30 [ 33.345743] [ 33.345851] CPU: 0 UID: 0 PID: 351 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc7-next-20250724 #1 PREEMPT(voluntary) [ 33.346650] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 33.346973] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 33.347456] ================================================================== [ 33.441347] ================================================================== [ 33.441762] BUG: KFENCE: invalid free in test_double_free+0x112/0x260 [ 33.441762] [ 33.442133] Invalid free of 0x(____ptrval____) (in kfence-#106): [ 33.442415] test_double_free+0x112/0x260 [ 33.442630] kunit_try_run_case+0x1a5/0x480 [ 33.442779] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.443096] kthread+0x337/0x6f0 [ 33.443282] ret_from_fork+0x116/0x1d0 [ 33.443444] ret_from_fork_asm+0x1a/0x30 [ 33.443618] [ 33.443709] kfence-#106: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test [ 33.443709] [ 33.444118] allocated by task 353 on cpu 1 at 33.441160s (0.002956s ago): [ 33.444393] test_alloc+0x2a6/0x10f0 [ 33.444568] test_double_free+0xdb/0x260 [ 33.444743] kunit_try_run_case+0x1a5/0x480 [ 33.444936] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.445199] kthread+0x337/0x6f0 [ 33.445329] ret_from_fork+0x116/0x1d0 [ 33.445513] ret_from_fork_asm+0x1a/0x30 [ 33.445691] [ 33.445756] freed by task 353 on cpu 1 at 33.441223s (0.004531s ago): [ 33.445965] test_double_free+0xfa/0x260 [ 33.446094] kunit_try_run_case+0x1a5/0x480 [ 33.446249] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.446765] kthread+0x337/0x6f0 [ 33.446899] ret_from_fork+0x116/0x1d0 [ 33.447024] ret_from_fork_asm+0x1a/0x30 [ 33.447159] [ 33.447257] CPU: 1 UID: 0 PID: 353 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc7-next-20250724 #1 PREEMPT(voluntary) [ 33.448165] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 33.448399] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 33.448804] ==================================================================