Hay
Date
July 22, 2025, 2:40 p.m.

Environment
qemu-arm64
qemu-x86_64

[   22.060446] ==================================================================
[   22.060803] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   22.060803] 
[   22.060880] Invalid free of 0x0000000091641901 (in kfence-#93):
[   22.060931]  test_double_free+0x100/0x238
[   22.061301]  kunit_try_run_case+0x170/0x3f0
[   22.061372]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.061416]  kthread+0x328/0x630
[   22.061467]  ret_from_fork+0x10/0x20
[   22.061676] 
[   22.061733] kfence-#93: 0x0000000091641901-0x00000000d7e37b44, size=32, cache=test
[   22.061733] 
[   22.061811] allocated by task 307 on cpu 0 at 22.059911s (0.001878s ago):
[   22.062081]  test_alloc+0x230/0x628
[   22.062129]  test_double_free+0xd4/0x238
[   22.062175]  kunit_try_run_case+0x170/0x3f0
[   22.062251]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.062312]  kthread+0x328/0x630
[   22.062352]  ret_from_fork+0x10/0x20
[   22.062537] 
[   22.062769] freed by task 307 on cpu 0 at 22.060257s (0.002491s ago):
[   22.062944]  test_double_free+0xf0/0x238
[   22.062987]  kunit_try_run_case+0x170/0x3f0
[   22.063030]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.063072]  kthread+0x328/0x630
[   22.063112]  ret_from_fork+0x10/0x20
[   22.063152] 
[   22.063580] CPU: 0 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.15.8-rc1 #1 PREEMPT 
[   22.063754] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.063980] Hardware name: linux,dummy-virt (DT)
[   22.064211] ==================================================================
[   21.957721] ==================================================================
[   21.957872] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   21.957872] 
[   21.957967] Invalid free of 0x00000000904cbb3c (in kfence-#92):
[   21.958412]  test_double_free+0x1bc/0x238
[   21.958476]  kunit_try_run_case+0x170/0x3f0
[   21.958541]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.958622]  kthread+0x328/0x630
[   21.958668]  ret_from_fork+0x10/0x20
[   21.959203] 
[   21.959580] kfence-#92: 0x00000000904cbb3c-0x00000000acc730cf, size=32, cache=kmalloc-32
[   21.959580] 
[   21.959922] allocated by task 305 on cpu 0 at 21.956973s (0.002908s ago):
[   21.960027]  test_alloc+0x29c/0x628
[   21.960090]  test_double_free+0xd4/0x238
[   21.960131]  kunit_try_run_case+0x170/0x3f0
[   21.960173]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.960215]  kthread+0x328/0x630
[   21.960254]  ret_from_fork+0x10/0x20
[   21.960318] 
[   21.960370] freed by task 305 on cpu 0 at 21.957387s (0.002978s ago):
[   21.960432]  test_double_free+0x1ac/0x238
[   21.960478]  kunit_try_run_case+0x170/0x3f0
[   21.960521]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.960587]  kthread+0x328/0x630
[   21.960632]  ret_from_fork+0x10/0x20
[   21.960687] 
[   21.960735] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.15.8-rc1 #1 PREEMPT 
[   21.960837] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.960877] Hardware name: linux,dummy-virt (DT)
[   21.960920] ==================================================================

[   16.872288] ==================================================================
[   16.872703] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   16.872703] 
[   16.873132] Invalid free of 0x(____ptrval____) (in kfence-#78):
[   16.873450]  test_double_free+0x1d3/0x260
[   16.873621]  kunit_try_run_case+0x1a5/0x480
[   16.873767]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.874037]  kthread+0x337/0x6f0
[   16.874205]  ret_from_fork+0x41/0x80
[   16.874407]  ret_from_fork_asm+0x1a/0x30
[   16.874644] 
[   16.874742] kfence-#78: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.874742] 
[   16.875116] allocated by task 323 on cpu 0 at 16.872023s (0.003090s ago):
[   16.875499]  test_alloc+0x364/0x10f0
[   16.875666]  test_double_free+0xdb/0x260
[   16.875851]  kunit_try_run_case+0x1a5/0x480
[   16.876037]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.876274]  kthread+0x337/0x6f0
[   16.876449]  ret_from_fork+0x41/0x80
[   16.876625]  ret_from_fork_asm+0x1a/0x30
[   16.876821] 
[   16.876902] freed by task 323 on cpu 0 at 16.872083s (0.004816s ago):
[   16.877200]  test_double_free+0x1e0/0x260
[   16.877414]  kunit_try_run_case+0x1a5/0x480
[   16.877619]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.877808]  kthread+0x337/0x6f0
[   16.877927]  ret_from_fork+0x41/0x80
[   16.878060]  ret_from_fork_asm+0x1a/0x30
[   16.878199] 
[   16.878325] CPU: 0 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.15.8-rc1 #1 PREEMPT(voluntary) 
[   16.878901] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.879097] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.879692] ==================================================================
[   16.976183] ==================================================================
[   16.976627] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   16.976627] 
[   16.976909] Invalid free of 0x(____ptrval____) (in kfence-#79):
[   16.977250]  test_double_free+0x112/0x260
[   16.977450]  kunit_try_run_case+0x1a5/0x480
[   16.977610]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.977917]  kthread+0x337/0x6f0
[   16.978129]  ret_from_fork+0x41/0x80
[   16.978277]  ret_from_fork_asm+0x1a/0x30
[   16.978628] 
[   16.978729] kfence-#79: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.978729] 
[   16.979140] allocated by task 325 on cpu 1 at 16.976003s (0.003135s ago):
[   16.979485]  test_alloc+0x2a6/0x10f0
[   16.979627]  test_double_free+0xdb/0x260
[   16.979804]  kunit_try_run_case+0x1a5/0x480
[   16.980011]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.980218]  kthread+0x337/0x6f0
[   16.980348]  ret_from_fork+0x41/0x80
[   16.980480]  ret_from_fork_asm+0x1a/0x30
[   16.980827] 
[   16.980927] freed by task 325 on cpu 1 at 16.976057s (0.004868s ago):
[   16.981244]  test_double_free+0xfa/0x260
[   16.981507]  kunit_try_run_case+0x1a5/0x480
[   16.981665]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.981839]  kthread+0x337/0x6f0
[   16.982011]  ret_from_fork+0x41/0x80
[   16.982200]  ret_from_fork_asm+0x1a/0x30
[   16.982499] 
[   16.982621] CPU: 1 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G    B            N  6.15.8-rc1 #1 PREEMPT(voluntary) 
[   16.983087] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.983294] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.983673] ==================================================================