Date
June 7, 2025, 10:40 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 28.956708] ================================================================== [ 28.957019] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238 [ 28.957019] [ 28.957198] Invalid free of 0x000000001aecb05f (in kfence-#140): [ 28.957384] test_double_free+0x1bc/0x238 [ 28.957559] kunit_try_run_case+0x170/0x3f0 [ 28.957687] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 28.957802] kthread+0x328/0x630 [ 28.957910] ret_from_fork+0x10/0x20 [ 28.958014] [ 28.958080] kfence-#140: 0x000000001aecb05f-0x00000000f61a8c9e, size=32, cache=kmalloc-32 [ 28.958080] [ 28.958223] allocated by task 307 on cpu 1 at 28.956051s (0.002163s ago): [ 28.958449] test_alloc+0x29c/0x628 [ 28.958552] test_double_free+0xd4/0x238 [ 28.958768] kunit_try_run_case+0x170/0x3f0 [ 28.958880] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 28.958985] kthread+0x328/0x630 [ 28.959126] ret_from_fork+0x10/0x20 [ 28.959386] [ 28.959543] freed by task 307 on cpu 1 at 28.956178s (0.003351s ago): [ 28.959918] test_double_free+0x1ac/0x238 [ 28.960043] kunit_try_run_case+0x170/0x3f0 [ 28.960452] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 28.960620] kthread+0x328/0x630 [ 28.960744] ret_from_fork+0x10/0x20 [ 28.960902] [ 28.961074] CPU: 1 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G B N 6.15.2-rc1 #1 PREEMPT [ 28.961367] Tainted: [B]=BAD_PAGE, [N]=TEST [ 28.961469] Hardware name: linux,dummy-virt (DT) [ 28.961558] ================================================================== [ 29.064594] ================================================================== [ 29.064778] BUG: KFENCE: invalid free in test_double_free+0x100/0x238 [ 29.064778] [ 29.064917] Invalid free of 0x00000000053415e1 (in kfence-#141): [ 29.065054] test_double_free+0x100/0x238 [ 29.065177] kunit_try_run_case+0x170/0x3f0 [ 29.065290] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 29.065418] kthread+0x328/0x630 [ 29.065532] ret_from_fork+0x10/0x20 [ 29.065633] [ 29.065693] kfence-#141: 0x00000000053415e1-0x00000000d4d9795c, size=32, cache=test [ 29.065693] [ 29.065830] allocated by task 309 on cpu 1 at 29.063414s (0.002408s ago): [ 29.065993] test_alloc+0x230/0x628 [ 29.066093] test_double_free+0xd4/0x238 [ 29.066197] kunit_try_run_case+0x170/0x3f0 [ 29.066859] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 29.067320] kthread+0x328/0x630 [ 29.067880] ret_from_fork+0x10/0x20 [ 29.068069] [ 29.068225] freed by task 309 on cpu 1 at 29.063522s (0.004693s ago): [ 29.068489] test_double_free+0xf0/0x238 [ 29.068603] kunit_try_run_case+0x170/0x3f0 [ 29.068727] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 29.068854] kthread+0x328/0x630 [ 29.069319] ret_from_fork+0x10/0x20 [ 29.069615] [ 29.069882] CPU: 1 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G B N 6.15.2-rc1 #1 PREEMPT [ 29.070107] Tainted: [B]=BAD_PAGE, [N]=TEST [ 29.070183] Hardware name: linux,dummy-virt (DT) [ 29.070261] ==================================================================
[ 20.496500] ================================================================== [ 20.496975] BUG: KFENCE: invalid free in test_double_free+0x112/0x260 [ 20.496975] [ 20.497244] Invalid free of 0x(____ptrval____) (in kfence-#99): [ 20.497733] test_double_free+0x112/0x260 [ 20.498144] kunit_try_run_case+0x1a5/0x480 [ 20.498318] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 20.498541] kthread+0x337/0x6f0 [ 20.498872] ret_from_fork+0x41/0x80 [ 20.499247] ret_from_fork_asm+0x1a/0x30 [ 20.499612] [ 20.499819] kfence-#99: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test [ 20.499819] [ 20.500390] allocated by task 325 on cpu 0 at 20.496211s (0.004173s ago): [ 20.500820] test_alloc+0x2a6/0x10f0 [ 20.501060] test_double_free+0xdb/0x260 [ 20.501254] kunit_try_run_case+0x1a5/0x480 [ 20.501570] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 20.502131] kthread+0x337/0x6f0 [ 20.502449] ret_from_fork+0x41/0x80 [ 20.502806] ret_from_fork_asm+0x1a/0x30 [ 20.503068] [ 20.503285] freed by task 325 on cpu 0 at 20.496303s (0.006977s ago): [ 20.503881] test_double_free+0xfa/0x260 [ 20.504220] kunit_try_run_case+0x1a5/0x480 [ 20.504586] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 20.504824] kthread+0x337/0x6f0 [ 20.504996] ret_from_fork+0x41/0x80 [ 20.505360] ret_from_fork_asm+0x1a/0x30 [ 20.505802] [ 20.506122] CPU: 0 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G B N 6.15.2-rc1 #1 PREEMPT(voluntary) [ 20.506966] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.507177] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 20.507615] ================================================================== [ 20.392512] ================================================================== [ 20.392909] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260 [ 20.392909] [ 20.393251] Invalid free of 0x(____ptrval____) (in kfence-#98): [ 20.393404] test_double_free+0x1d3/0x260 [ 20.393648] kunit_try_run_case+0x1a5/0x480 [ 20.393942] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 20.394240] kthread+0x337/0x6f0 [ 20.394348] ret_from_fork+0x41/0x80 [ 20.394469] ret_from_fork_asm+0x1a/0x30 [ 20.394580] [ 20.394643] kfence-#98: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 20.394643] [ 20.395102] allocated by task 323 on cpu 0 at 20.392113s (0.002987s ago): [ 20.395266] test_alloc+0x364/0x10f0 [ 20.395612] test_double_free+0xdb/0x260 [ 20.395757] kunit_try_run_case+0x1a5/0x480 [ 20.395930] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 20.396150] kthread+0x337/0x6f0 [ 20.396236] ret_from_fork+0x41/0x80 [ 20.396326] ret_from_fork_asm+0x1a/0x30 [ 20.396420] [ 20.396538] freed by task 323 on cpu 0 at 20.392207s (0.004328s ago): [ 20.396921] test_double_free+0x1e0/0x260 [ 20.397154] kunit_try_run_case+0x1a5/0x480 [ 20.397361] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 20.397491] kthread+0x337/0x6f0 [ 20.397587] ret_from_fork+0x41/0x80 [ 20.397682] ret_from_fork_asm+0x1a/0x30 [ 20.397888] [ 20.398119] CPU: 0 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G B N 6.15.2-rc1 #1 PREEMPT(voluntary) [ 20.398547] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.398807] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 20.399017] ==================================================================