Hay
Date
May 30, 2025, 4:14 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   69.349010] ==================================================================
[   69.349137] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   69.349137] 
[   69.349262] Invalid free of 0x(____ptrval____) (in kfence-#122):
[   69.349363]  test_double_free+0x1bc/0x238
[   69.351845]  kunit_try_run_case+0x170/0x3f0
[   69.356011]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   69.361480]  kthread+0x328/0x630
[   69.364692]  ret_from_fork+0x10/0x20
[   69.368250] 
[   69.369728] kfence-#122: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   69.369728] 
[   69.379365] allocated by task 347 on cpu 1 at 69.348927s (0.030436s ago):
[   69.386147]  test_alloc+0x29c/0x628
[   69.389604]  test_double_free+0xd4/0x238
[   69.393510]  kunit_try_run_case+0x170/0x3f0
[   69.397677]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   69.403146]  kthread+0x328/0x630
[   69.406358]  ret_from_fork+0x10/0x20
[   69.409918] 
[   69.411393] freed by task 347 on cpu 1 at 69.348943s (0.062447s ago):
[   69.417831]  test_double_free+0x1ac/0x238
[   69.421809]  kunit_try_run_case+0x170/0x3f0
[   69.425976]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   69.431444]  kthread+0x328/0x630
[   69.434657]  ret_from_fork+0x10/0x20
[   69.438216] 
[   69.439701] CPU: 1 UID: 0 PID: 347 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250530 #1 PREEMPT 
[   69.450466] Tainted: [B]=BAD_PAGE, [N]=TEST
[   69.454622] Hardware name: WinLink E850-96 board (DT)
[   69.459659] ==================================================================
[   69.568977] ==================================================================
[   69.569100] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   69.569100] 
[   69.569228] Invalid free of 0x(____ptrval____) (in kfence-#124):
[   69.569335]  test_double_free+0x100/0x238
[   69.571806]  kunit_try_run_case+0x170/0x3f0
[   69.575972]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   69.581441]  kthread+0x328/0x630
[   69.584654]  ret_from_fork+0x10/0x20
[   69.588212] 
[   69.589691] kfence-#124: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   69.589691] 
[   69.598806] allocated by task 349 on cpu 3 at 69.568902s (0.029902s ago):
[   69.605590]  test_alloc+0x230/0x628
[   69.609045]  test_double_free+0xd4/0x238
[   69.612951]  kunit_try_run_case+0x170/0x3f0
[   69.617118]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   69.622587]  kthread+0x328/0x630
[   69.625799]  ret_from_fork+0x10/0x20
[   69.629359] 
[   69.630835] freed by task 349 on cpu 3 at 69.568916s (0.061917s ago):
[   69.637273]  test_double_free+0xf0/0x238
[   69.641163]  kunit_try_run_case+0x170/0x3f0
[   69.645330]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   69.650798]  kthread+0x328/0x630
[   69.654010]  ret_from_fork+0x10/0x20
[   69.657570] 
[   69.659056] CPU: 3 UID: 0 PID: 349 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250530 #1 PREEMPT 
[   69.669820] Tainted: [B]=BAD_PAGE, [N]=TEST
[   69.673976] Hardware name: WinLink E850-96 board (DT)
[   69.679014] ==================================================================

[   31.937769] ==================================================================
[   31.938186] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   31.938186] 
[   31.938345] Invalid free of 0x000000006929e8fb (in kfence-#143):
[   31.938614]  test_double_free+0x100/0x238
[   31.938776]  kunit_try_run_case+0x170/0x3f0
[   31.938885]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.939001]  kthread+0x328/0x630
[   31.939361]  ret_from_fork+0x10/0x20
[   31.939787] 
[   31.939926] kfence-#143: 0x000000006929e8fb-0x0000000054e45aee, size=32, cache=test
[   31.939926] 
[   31.940359] allocated by task 306 on cpu 1 at 31.935742s (0.004605s ago):
[   31.940733]  test_alloc+0x230/0x628
[   31.941044]  test_double_free+0xd4/0x238
[   31.941281]  kunit_try_run_case+0x170/0x3f0
[   31.941388]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.941494]  kthread+0x328/0x630
[   31.941638]  ret_from_fork+0x10/0x20
[   31.941800] 
[   31.941935] freed by task 306 on cpu 1 at 31.935862s (0.006034s ago):
[   31.942094]  test_double_free+0xf0/0x238
[   31.942195]  kunit_try_run_case+0x170/0x3f0
[   31.942341]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.942452]  kthread+0x328/0x630
[   31.942549]  ret_from_fork+0x10/0x20
[   31.942648] 
[   31.942808] CPU: 1 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250530 #1 PREEMPT 
[   31.943024] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.943111] Hardware name: linux,dummy-virt (DT)
[   31.943392] ==================================================================
[   31.829044] ==================================================================
[   31.829241] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   31.829241] 
[   31.829398] Invalid free of 0x00000000cac9a336 (in kfence-#142):
[   31.829541]  test_double_free+0x1bc/0x238
[   31.829658]  kunit_try_run_case+0x170/0x3f0
[   31.829799]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.829904]  kthread+0x328/0x630
[   31.830001]  ret_from_fork+0x10/0x20
[   31.830099] 
[   31.830162] kfence-#142: 0x00000000cac9a336-0x0000000098261a3d, size=32, cache=kmalloc-32
[   31.830162] 
[   31.830289] allocated by task 304 on cpu 1 at 31.828147s (0.002135s ago):
[   31.830438]  test_alloc+0x29c/0x628
[   31.830539]  test_double_free+0xd4/0x238
[   31.830722]  kunit_try_run_case+0x170/0x3f0
[   31.830844]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.830980]  kthread+0x328/0x630
[   31.831443]  ret_from_fork+0x10/0x20
[   31.831863] 
[   31.832102] freed by task 304 on cpu 1 at 31.828261s (0.003831s ago):
[   31.832268]  test_double_free+0x1ac/0x238
[   31.832375]  kunit_try_run_case+0x170/0x3f0
[   31.832479]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.832590]  kthread+0x328/0x630
[   31.832758]  ret_from_fork+0x10/0x20
[   31.832935] 
[   31.833782] CPU: 1 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250530 #1 PREEMPT 
[   31.834034] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.834121] Hardware name: linux,dummy-virt (DT)
[   31.834400] ==================================================================

[   27.681903] ==================================================================
[   27.682523] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   27.682523] 
[   27.683194] Invalid free of 0x(____ptrval____) (in kfence-#110):
[   27.683772]  test_double_free+0x112/0x260
[   27.684225]  kunit_try_run_case+0x1a5/0x480
[   27.684618]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.685167]  kthread+0x337/0x6f0
[   27.685493]  ret_from_fork+0x116/0x1d0
[   27.685950]  ret_from_fork_asm+0x1a/0x30
[   27.686381] 
[   27.686627] kfence-#110: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   27.686627] 
[   27.687314] allocated by task 322 on cpu 0 at 27.681659s (0.005650s ago):
[   27.688080]  test_alloc+0x2a6/0x10f0
[   27.688453]  test_double_free+0xdb/0x260
[   27.688783]  kunit_try_run_case+0x1a5/0x480
[   27.689260]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.690032]  kthread+0x337/0x6f0
[   27.690351]  ret_from_fork+0x116/0x1d0
[   27.690837]  ret_from_fork_asm+0x1a/0x30
[   27.691171] 
[   27.691405] freed by task 322 on cpu 0 at 27.681732s (0.009667s ago):
[   27.692079]  test_double_free+0xfa/0x260
[   27.692516]  kunit_try_run_case+0x1a5/0x480
[   27.692954]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.693440]  kthread+0x337/0x6f0
[   27.693914]  ret_from_fork+0x116/0x1d0
[   27.694314]  ret_from_fork_asm+0x1a/0x30
[   27.694667] 
[   27.694936] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250530 #1 PREEMPT(voluntary) 
[   27.695888] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.696327] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.697150] ==================================================================
[   27.578025] ==================================================================
[   27.578715] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   27.578715] 
[   27.579402] Invalid free of 0x(____ptrval____) (in kfence-#109):
[   27.580093]  test_double_free+0x1d3/0x260
[   27.580523]  kunit_try_run_case+0x1a5/0x480
[   27.581079]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.581505]  kthread+0x337/0x6f0
[   27.581930]  ret_from_fork+0x116/0x1d0
[   27.582375]  ret_from_fork_asm+0x1a/0x30
[   27.582835] 
[   27.583090] kfence-#109: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   27.583090] 
[   27.583849] allocated by task 320 on cpu 0 at 27.577677s (0.006167s ago):
[   27.584504]  test_alloc+0x364/0x10f0
[   27.584930]  test_double_free+0xdb/0x260
[   27.585531]  kunit_try_run_case+0x1a5/0x480
[   27.585906]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.586427]  kthread+0x337/0x6f0
[   27.586994]  ret_from_fork+0x116/0x1d0
[   27.587359]  ret_from_fork_asm+0x1a/0x30
[   27.587834] 
[   27.588069] freed by task 320 on cpu 0 at 27.577760s (0.010303s ago):
[   27.588525]  test_double_free+0x1e0/0x260
[   27.588954]  kunit_try_run_case+0x1a5/0x480
[   27.589435]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.589905]  kthread+0x337/0x6f0
[   27.590205]  ret_from_fork+0x116/0x1d0
[   27.590538]  ret_from_fork_asm+0x1a/0x30
[   27.590978] 
[   27.591284] CPU: 0 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250530 #1 PREEMPT(voluntary) 
[   27.592543] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.593001] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.593621] ==================================================================