Date
July 23, 2025, 2:10 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 20.411362] ================================================================== [ 20.411485] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238 [ 20.411485] [ 20.411556] Invalid free of 0x0000000065b946e4 (in kfence-#91): [ 20.411622] test_double_free+0x1bc/0x238 [ 20.411678] kunit_try_run_case+0x170/0x3f0 [ 20.411724] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.411768] kthread+0x328/0x630 [ 20.411806] ret_from_fork+0x10/0x20 [ 20.411847] [ 20.411887] kfence-#91: 0x0000000065b946e4-0x0000000035844ab6, size=32, cache=kmalloc-32 [ 20.411887] [ 20.411944] allocated by task 303 on cpu 0 at 20.411038s (0.000903s ago): [ 20.412009] test_alloc+0x29c/0x628 [ 20.412052] test_double_free+0xd4/0x238 [ 20.412092] kunit_try_run_case+0x170/0x3f0 [ 20.412133] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.412176] kthread+0x328/0x630 [ 20.412214] ret_from_fork+0x10/0x20 [ 20.412254] [ 20.412277] freed by task 303 on cpu 0 at 20.411113s (0.001160s ago): [ 20.412338] test_double_free+0x1ac/0x238 [ 20.412380] kunit_try_run_case+0x170/0x3f0 [ 20.412421] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.412467] kthread+0x328/0x630 [ 20.412502] ret_from_fork+0x10/0x20 [ 20.412543] [ 20.412588] CPU: 0 UID: 0 PID: 303 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7 #1 PREEMPT [ 20.412668] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.412697] Hardware name: linux,dummy-virt (DT) [ 20.412738] ================================================================== [ 20.515155] ================================================================== [ 20.515251] BUG: KFENCE: invalid free in test_double_free+0x100/0x238 [ 20.515251] [ 20.515314] Invalid free of 0x0000000033d2db5c (in kfence-#92): [ 20.515371] test_double_free+0x100/0x238 [ 20.515416] kunit_try_run_case+0x170/0x3f0 [ 20.515460] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.515508] kthread+0x328/0x630 [ 20.515546] ret_from_fork+0x10/0x20 [ 20.515585] [ 20.515609] kfence-#92: 0x0000000033d2db5c-0x00000000b8f13f0d, size=32, cache=test [ 20.515609] [ 20.515664] allocated by task 305 on cpu 0 at 20.514948s (0.000712s ago): [ 20.515726] test_alloc+0x230/0x628 [ 20.515768] test_double_free+0xd4/0x238 [ 20.515808] kunit_try_run_case+0x170/0x3f0 [ 20.515864] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.515909] kthread+0x328/0x630 [ 20.515945] ret_from_fork+0x10/0x20 [ 20.515986] [ 20.516009] freed by task 305 on cpu 0 at 20.515011s (0.000995s ago): [ 20.516071] test_double_free+0xf0/0x238 [ 20.516113] kunit_try_run_case+0x170/0x3f0 [ 20.516152] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.516196] kthread+0x328/0x630 [ 20.516233] ret_from_fork+0x10/0x20 [ 20.516274] [ 20.516316] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7 #1 PREEMPT [ 20.516395] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.516423] Hardware name: linux,dummy-virt (DT) [ 20.516457] ==================================================================
[ 19.148759] ================================================================== [ 19.149275] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260 [ 19.149275] [ 19.149594] Invalid free of 0x(____ptrval____) (in kfence-#82): [ 19.149887] test_double_free+0x1d3/0x260 [ 19.150099] kunit_try_run_case+0x1a5/0x480 [ 19.150314] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 19.150537] kthread+0x337/0x6f0 [ 19.150719] ret_from_fork+0x116/0x1d0 [ 19.150912] ret_from_fork_asm+0x1a/0x30 [ 19.151058] [ 19.151166] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 19.151166] [ 19.151555] allocated by task 320 on cpu 0 at 19.148542s (0.003011s ago): [ 19.151891] test_alloc+0x364/0x10f0 [ 19.152037] test_double_free+0xdb/0x260 [ 19.152261] kunit_try_run_case+0x1a5/0x480 [ 19.152479] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 19.152699] kthread+0x337/0x6f0 [ 19.152891] ret_from_fork+0x116/0x1d0 [ 19.153045] ret_from_fork_asm+0x1a/0x30 [ 19.153283] [ 19.153363] freed by task 320 on cpu 0 at 19.148627s (0.004733s ago): [ 19.153657] test_double_free+0x1e0/0x260 [ 19.153844] kunit_try_run_case+0x1a5/0x480 [ 19.154014] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 19.154192] kthread+0x337/0x6f0 [ 19.154318] ret_from_fork+0x116/0x1d0 [ 19.154488] ret_from_fork_asm+0x1a/0x30 [ 19.154849] [ 19.154977] CPU: 0 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7 #1 PREEMPT(voluntary) [ 19.155365] Tainted: [B]=BAD_PAGE, [N]=TEST [ 19.155508] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 19.155926] ================================================================== [ 19.252631] ================================================================== [ 19.253055] BUG: KFENCE: invalid free in test_double_free+0x112/0x260 [ 19.253055] [ 19.253398] Invalid free of 0x(____ptrval____) (in kfence-#83): [ 19.253790] test_double_free+0x112/0x260 [ 19.253995] kunit_try_run_case+0x1a5/0x480 [ 19.254727] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 19.255268] kthread+0x337/0x6f0 [ 19.255539] ret_from_fork+0x116/0x1d0 [ 19.255808] ret_from_fork_asm+0x1a/0x30 [ 19.256088] [ 19.256192] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test [ 19.256192] [ 19.256689] allocated by task 322 on cpu 0 at 19.252480s (0.004207s ago): [ 19.257149] test_alloc+0x2a6/0x10f0 [ 19.257405] test_double_free+0xdb/0x260 [ 19.257566] kunit_try_run_case+0x1a5/0x480 [ 19.257762] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 19.258019] kthread+0x337/0x6f0 [ 19.258336] ret_from_fork+0x116/0x1d0 [ 19.258666] ret_from_fork_asm+0x1a/0x30 [ 19.258841] [ 19.259017] freed by task 322 on cpu 0 at 19.252535s (0.006478s ago): [ 19.259441] test_double_free+0xfa/0x260 [ 19.259703] kunit_try_run_case+0x1a5/0x480 [ 19.259888] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 19.260295] kthread+0x337/0x6f0 [ 19.260527] ret_from_fork+0x116/0x1d0 [ 19.260693] ret_from_fork_asm+0x1a/0x30 [ 19.260904] [ 19.261252] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7 #1 PREEMPT(voluntary) [ 19.261723] Tainted: [B]=BAD_PAGE, [N]=TEST [ 19.261928] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 19.262452] ==================================================================