Date
May 29, 2025, 7:10 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 28.005044] ================================================================== [ 28.005205] BUG: KFENCE: invalid free in test_double_free+0x100/0x238 [ 28.005205] [ 28.005341] Invalid free of 0x00000000e27eb523 (in kfence-#124): [ 28.005722] test_double_free+0x100/0x238 [ 28.006015] kunit_try_run_case+0x170/0x3f0 [ 28.006344] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 28.006491] kthread+0x328/0x630 [ 28.006611] ret_from_fork+0x10/0x20 [ 28.006702] [ 28.006764] kfence-#124: 0x00000000e27eb523-0x0000000012778aca, size=32, cache=test [ 28.006764] [ 28.006907] allocated by task 305 on cpu 1 at 28.004664s (0.002235s ago): [ 28.007070] test_alloc+0x230/0x628 [ 28.007182] test_double_free+0xd4/0x238 [ 28.007275] kunit_try_run_case+0x170/0x3f0 [ 28.007360] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 28.007693] kthread+0x328/0x630 [ 28.007801] ret_from_fork+0x10/0x20 [ 28.007898] [ 28.007954] freed by task 305 on cpu 1 at 28.004743s (0.003202s ago): [ 28.008186] test_double_free+0xf0/0x238 [ 28.008371] kunit_try_run_case+0x170/0x3f0 [ 28.008522] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 28.008642] kthread+0x328/0x630 [ 28.008732] ret_from_fork+0x10/0x20 [ 28.008828] [ 28.008933] CPU: 1 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G B N 6.15.0-next-20250529 #1 PREEMPT [ 28.009144] Tainted: [B]=BAD_PAGE, [N]=TEST [ 28.009223] Hardware name: linux,dummy-virt (DT) [ 28.009310] ================================================================== [ 27.900687] ================================================================== [ 27.901215] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238 [ 27.901215] [ 27.901386] Invalid free of 0x0000000058d44c5c (in kfence-#123): [ 27.901588] test_double_free+0x1bc/0x238 [ 27.901710] kunit_try_run_case+0x170/0x3f0 [ 27.902193] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.902329] kthread+0x328/0x630 [ 27.902463] ret_from_fork+0x10/0x20 [ 27.902776] [ 27.903035] kfence-#123: 0x0000000058d44c5c-0x00000000e4898a37, size=32, cache=kmalloc-32 [ 27.903035] [ 27.903289] allocated by task 303 on cpu 1 at 27.899855s (0.003424s ago): [ 27.903477] test_alloc+0x29c/0x628 [ 27.903578] test_double_free+0xd4/0x238 [ 27.903675] kunit_try_run_case+0x170/0x3f0 [ 27.904641] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.904824] kthread+0x328/0x630 [ 27.905275] ret_from_fork+0x10/0x20 [ 27.905756] [ 27.905956] freed by task 303 on cpu 1 at 27.899998s (0.005948s ago): [ 27.906124] test_double_free+0x1ac/0x238 [ 27.906626] kunit_try_run_case+0x170/0x3f0 [ 27.906768] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.906967] kthread+0x328/0x630 [ 27.907072] ret_from_fork+0x10/0x20 [ 27.907254] [ 27.907361] CPU: 1 UID: 0 PID: 303 Comm: kunit_try_catch Tainted: G B N 6.15.0-next-20250529 #1 PREEMPT [ 27.907792] Tainted: [B]=BAD_PAGE, [N]=TEST [ 27.907889] Hardware name: linux,dummy-virt (DT) [ 27.908254] ==================================================================
[ 16.786306] ================================================================== [ 16.786778] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260 [ 16.786778] [ 16.787118] Invalid free of 0x(____ptrval____) (in kfence-#75): [ 16.787422] test_double_free+0x1d3/0x260 [ 16.787625] kunit_try_run_case+0x1a5/0x480 [ 16.788348] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 16.788586] kthread+0x337/0x6f0 [ 16.788899] ret_from_fork+0x116/0x1d0 [ 16.789164] ret_from_fork_asm+0x1a/0x30 [ 16.789361] [ 16.789445] kfence-#75: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 16.789445] [ 16.789836] allocated by task 320 on cpu 0 at 16.786090s (0.003744s ago): [ 16.790123] test_alloc+0x364/0x10f0 [ 16.790321] test_double_free+0xdb/0x260 [ 16.790482] kunit_try_run_case+0x1a5/0x480 [ 16.790701] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 16.791004] kthread+0x337/0x6f0 [ 16.791178] ret_from_fork+0x116/0x1d0 [ 16.791319] ret_from_fork_asm+0x1a/0x30 [ 16.791524] [ 16.791637] freed by task 320 on cpu 0 at 16.786154s (0.005480s ago): [ 16.791916] test_double_free+0x1e0/0x260 [ 16.792171] kunit_try_run_case+0x1a5/0x480 [ 16.792337] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 16.792605] kthread+0x337/0x6f0 [ 16.792807] ret_from_fork+0x116/0x1d0 [ 16.792979] ret_from_fork_asm+0x1a/0x30 [ 16.793146] [ 16.793273] CPU: 0 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G B N 6.15.0-next-20250529 #1 PREEMPT(voluntary) [ 16.793702] Tainted: [B]=BAD_PAGE, [N]=TEST [ 16.793880] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 16.794292] ================================================================== [ 16.890273] ================================================================== [ 16.890734] BUG: KFENCE: invalid free in test_double_free+0x112/0x260 [ 16.890734] [ 16.891140] Invalid free of 0x(____ptrval____) (in kfence-#76): [ 16.891439] test_double_free+0x112/0x260 [ 16.891594] kunit_try_run_case+0x1a5/0x480 [ 16.891762] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 16.892031] kthread+0x337/0x6f0 [ 16.892233] ret_from_fork+0x116/0x1d0 [ 16.892463] ret_from_fork_asm+0x1a/0x30 [ 16.892701] [ 16.892842] kfence-#76: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test [ 16.892842] [ 16.893193] allocated by task 322 on cpu 1 at 16.890115s (0.003075s ago): [ 16.893490] test_alloc+0x2a6/0x10f0 [ 16.893638] test_double_free+0xdb/0x260 [ 16.893840] kunit_try_run_case+0x1a5/0x480 [ 16.894132] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 16.894404] kthread+0x337/0x6f0 [ 16.894602] ret_from_fork+0x116/0x1d0 [ 16.894838] ret_from_fork_asm+0x1a/0x30 [ 16.895010] [ 16.895086] freed by task 322 on cpu 1 at 16.890164s (0.004920s ago): [ 16.895343] test_double_free+0xfa/0x260 [ 16.895574] kunit_try_run_case+0x1a5/0x480 [ 16.895813] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 16.896192] kthread+0x337/0x6f0 [ 16.896381] ret_from_fork+0x116/0x1d0 [ 16.896562] ret_from_fork_asm+0x1a/0x30 [ 16.896748] [ 16.896850] CPU: 1 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G B N 6.15.0-next-20250529 #1 PREEMPT(voluntary) [ 16.897556] Tainted: [B]=BAD_PAGE, [N]=TEST [ 16.897795] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 16.898126] ==================================================================