Date
June 16, 2025, 7:07 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 24.704599] ================================================================== [ 24.704823] BUG: KFENCE: invalid free in test_double_free+0x100/0x238 [ 24.704823] [ 24.705050] Invalid free of 0x000000001ebf7f92 (in kfence-#129): [ 24.705158] test_double_free+0x100/0x238 [ 24.705256] kunit_try_run_case+0x170/0x3f0 [ 24.705350] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.705456] kthread+0x328/0x630 [ 24.705551] ret_from_fork+0x10/0x20 [ 24.705649] [ 24.705730] kfence-#129: 0x000000001ebf7f92-0x000000008e97aa79, size=32, cache=test [ 24.705730] [ 24.705900] allocated by task 314 on cpu 0 at 24.703849s (0.002043s ago): [ 24.706098] test_alloc+0x230/0x628 [ 24.706235] test_double_free+0xd4/0x238 [ 24.706337] kunit_try_run_case+0x170/0x3f0 [ 24.706467] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.706585] kthread+0x328/0x630 [ 24.706687] ret_from_fork+0x10/0x20 [ 24.706820] [ 24.707162] freed by task 314 on cpu 0 at 24.704241s (0.002909s ago): [ 24.707452] test_double_free+0xf0/0x238 [ 24.707860] kunit_try_run_case+0x170/0x3f0 [ 24.708061] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.708176] kthread+0x328/0x630 [ 24.708341] ret_from_fork+0x10/0x20 [ 24.708460] [ 24.708645] CPU: 0 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250616 #1 PREEMPT [ 24.708885] Tainted: [B]=BAD_PAGE, [N]=TEST [ 24.708929] Hardware name: linux,dummy-virt (DT) [ 24.708973] ================================================================== [ 24.604831] ================================================================== [ 24.605164] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238 [ 24.605164] [ 24.605335] Invalid free of 0x00000000695655a6 (in kfence-#128): [ 24.605470] test_double_free+0x1bc/0x238 [ 24.606163] kunit_try_run_case+0x170/0x3f0 [ 24.606442] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.606657] kthread+0x328/0x630 [ 24.606824] ret_from_fork+0x10/0x20 [ 24.607428] [ 24.607514] kfence-#128: 0x00000000695655a6-0x00000000207fc1e4, size=32, cache=kmalloc-32 [ 24.607514] [ 24.607855] allocated by task 312 on cpu 0 at 24.600437s (0.007315s ago): [ 24.608288] test_alloc+0x29c/0x628 [ 24.609689] test_double_free+0xd4/0x238 [ 24.609996] kunit_try_run_case+0x170/0x3f0 [ 24.610158] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.610276] kthread+0x328/0x630 [ 24.610950] ret_from_fork+0x10/0x20 [ 24.611444] [ 24.611523] freed by task 312 on cpu 0 at 24.603058s (0.008455s ago): [ 24.611815] test_double_free+0x1ac/0x238 [ 24.612336] kunit_try_run_case+0x170/0x3f0 [ 24.612467] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 24.612580] kthread+0x328/0x630 [ 24.612855] ret_from_fork+0x10/0x20 [ 24.613355] [ 24.613544] CPU: 0 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250616 #1 PREEMPT [ 24.613902] Tainted: [B]=BAD_PAGE, [N]=TEST [ 24.614313] Hardware name: linux,dummy-virt (DT) [ 24.614500] ==================================================================
[ 17.940806] ================================================================== [ 17.941221] BUG: KFENCE: invalid free in test_double_free+0x112/0x260 [ 17.941221] [ 17.941575] Invalid free of 0x(____ptrval____) (in kfence-#82): [ 17.942279] test_double_free+0x112/0x260 [ 17.942518] kunit_try_run_case+0x1a5/0x480 [ 17.942712] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 17.942969] kthread+0x337/0x6f0 [ 17.943152] ret_from_fork+0x116/0x1d0 [ 17.943344] ret_from_fork_asm+0x1a/0x30 [ 17.943999] [ 17.944082] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test [ 17.944082] [ 17.944833] allocated by task 331 on cpu 1 at 17.940640s (0.004190s ago): [ 17.945219] test_alloc+0x2a6/0x10f0 [ 17.945623] test_double_free+0xdb/0x260 [ 17.945917] kunit_try_run_case+0x1a5/0x480 [ 17.946221] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 17.946550] kthread+0x337/0x6f0 [ 17.946689] ret_from_fork+0x116/0x1d0 [ 17.947040] ret_from_fork_asm+0x1a/0x30 [ 17.947226] [ 17.947317] freed by task 331 on cpu 1 at 17.940694s (0.006621s ago): [ 17.947880] test_double_free+0xfa/0x260 [ 17.948090] kunit_try_run_case+0x1a5/0x480 [ 17.948415] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 17.948826] kthread+0x337/0x6f0 [ 17.949015] ret_from_fork+0x116/0x1d0 [ 17.949313] ret_from_fork_asm+0x1a/0x30 [ 17.949646] [ 17.949765] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250616 #1 PREEMPT(voluntary) [ 17.950536] Tainted: [B]=BAD_PAGE, [N]=TEST [ 17.950745] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 17.951272] ================================================================== [ 17.837077] ================================================================== [ 17.837543] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260 [ 17.837543] [ 17.838037] Invalid free of 0x(____ptrval____) (in kfence-#81): [ 17.838353] test_double_free+0x1d3/0x260 [ 17.839236] kunit_try_run_case+0x1a5/0x480 [ 17.839455] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 17.839725] kthread+0x337/0x6f0 [ 17.839897] ret_from_fork+0x116/0x1d0 [ 17.840103] ret_from_fork_asm+0x1a/0x30 [ 17.840255] [ 17.840334] kfence-#81: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 17.840334] [ 17.840760] allocated by task 329 on cpu 1 at 17.836766s (0.003992s ago): [ 17.840985] test_alloc+0x364/0x10f0 [ 17.841154] test_double_free+0xdb/0x260 [ 17.841385] kunit_try_run_case+0x1a5/0x480 [ 17.841650] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 17.841990] kthread+0x337/0x6f0 [ 17.842160] ret_from_fork+0x116/0x1d0 [ 17.842351] ret_from_fork_asm+0x1a/0x30 [ 17.842580] [ 17.842670] freed by task 329 on cpu 1 at 17.836850s (0.005818s ago): [ 17.842978] test_double_free+0x1e0/0x260 [ 17.843186] kunit_try_run_case+0x1a5/0x480 [ 17.843343] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 17.843515] kthread+0x337/0x6f0 [ 17.843798] ret_from_fork+0x116/0x1d0 [ 17.844186] ret_from_fork_asm+0x1a/0x30 [ 17.844364] [ 17.844877] CPU: 1 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250616 #1 PREEMPT(voluntary) [ 17.845367] Tainted: [B]=BAD_PAGE, [N]=TEST [ 17.845783] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 17.846263] ==================================================================