Hay
Date
June 26, 2025, 11:12 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   70.029142] ==================================================================
[   70.029272] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   70.029272] 
[   70.029400] Invalid free of 0x(____ptrval____) (in kfence-#133):
[   70.029502]  test_double_free+0x100/0x238
[   70.031977]  kunit_try_run_case+0x170/0x3f0
[   70.036143]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   70.041612]  kthread+0x328/0x630
[   70.044823]  ret_from_fork+0x10/0x20
[   70.048383] 
[   70.049862] kfence-#133: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   70.049862] 
[   70.058975] allocated by task 354 on cpu 1 at 70.029074s (0.029899s ago):
[   70.065758]  test_alloc+0x230/0x628
[   70.069215]  test_double_free+0xd4/0x238
[   70.073122]  kunit_try_run_case+0x170/0x3f0
[   70.077288]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   70.082757]  kthread+0x328/0x630
[   70.085970]  ret_from_fork+0x10/0x20
[   70.089531] 
[   70.091004] freed by task 354 on cpu 1 at 70.029088s (0.061914s ago):
[   70.097442]  test_double_free+0xf0/0x238
[   70.101333]  kunit_try_run_case+0x170/0x3f0
[   70.105500]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   70.110969]  kthread+0x328/0x630
[   70.114180]  ret_from_fork+0x10/0x20
[   70.117741] 
[   70.119226] CPU: 1 UID: 0 PID: 354 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT 
[   70.129121] Tainted: [B]=BAD_PAGE, [N]=TEST
[   70.133278] Hardware name: WinLink E850-96 board (DT)
[   70.138315] ==================================================================
[   69.809158] ==================================================================
[   69.809288] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   69.809288] 
[   69.809415] Invalid free of 0x(____ptrval____) (in kfence-#131):
[   69.809515]  test_double_free+0x1bc/0x238
[   69.811993]  kunit_try_run_case+0x170/0x3f0
[   69.816159]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   69.821628]  kthread+0x328/0x630
[   69.824840]  ret_from_fork+0x10/0x20
[   69.828399] 
[   69.829878] kfence-#131: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   69.829878] 
[   69.839512] allocated by task 352 on cpu 0 at 69.809082s (0.030428s ago):
[   69.846293]  test_alloc+0x29c/0x628
[   69.849753]  test_double_free+0xd4/0x238
[   69.853659]  kunit_try_run_case+0x170/0x3f0
[   69.857825]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   69.863294]  kthread+0x328/0x630
[   69.866506]  ret_from_fork+0x10/0x20
[   69.870068] 
[   69.871543] freed by task 352 on cpu 0 at 69.809098s (0.062443s ago):
[   69.877978]  test_double_free+0x1ac/0x238
[   69.881957]  kunit_try_run_case+0x170/0x3f0
[   69.886124]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   69.891594]  kthread+0x328/0x630
[   69.894804]  ret_from_fork+0x10/0x20
[   69.898364] 
[   69.899850] CPU: 0 UID: 0 PID: 352 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT 
[   69.909745] Tainted: [B]=BAD_PAGE, [N]=TEST
[   69.913903] Hardware name: WinLink E850-96 board (DT)
[   69.918939] ==================================================================

[   22.825844] ==================================================================
[   22.825932] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   22.825932] 
[   22.826013] Invalid free of 0x000000000e5b64f1 (in kfence-#94):
[   22.826077]  test_double_free+0x100/0x238
[   22.826121]  kunit_try_run_case+0x170/0x3f0
[   22.826165]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.826210]  kthread+0x328/0x630
[   22.826252]  ret_from_fork+0x10/0x20
[   22.826327] 
[   22.826355] kfence-#94: 0x000000000e5b64f1-0x0000000018ede51f, size=32, cache=test
[   22.826355] 
[   22.826526] allocated by task 307 on cpu 1 at 22.825280s (0.001144s ago):
[   22.826610]  test_alloc+0x230/0x628
[   22.826660]  test_double_free+0xd4/0x238
[   22.826709]  kunit_try_run_case+0x170/0x3f0
[   22.826751]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.826802]  kthread+0x328/0x630
[   22.826845]  ret_from_fork+0x10/0x20
[   22.826902] 
[   22.826936] freed by task 307 on cpu 1 at 22.825556s (0.001375s ago):
[   22.826997]  test_double_free+0xf0/0x238
[   22.827072]  kunit_try_run_case+0x170/0x3f0
[   22.827129]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.827192]  kthread+0x328/0x630
[   22.827234]  ret_from_fork+0x10/0x20
[   22.827479] 
[   22.827555] CPU: 1 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT 
[   22.827644] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.827686] Hardware name: linux,dummy-virt (DT)
[   22.827720] ==================================================================
[   22.717481] ==================================================================
[   22.717615] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   22.717615] 
[   22.717686] Invalid free of 0x00000000209532d7 (in kfence-#93):
[   22.717829]  test_double_free+0x1bc/0x238
[   22.717895]  kunit_try_run_case+0x170/0x3f0
[   22.718159]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.718237]  kthread+0x328/0x630
[   22.718283]  ret_from_fork+0x10/0x20
[   22.718325] 
[   22.718358] kfence-#93: 0x00000000209532d7-0x000000007d26f695, size=32, cache=kmalloc-32
[   22.718358] 
[   22.718424] allocated by task 305 on cpu 1 at 22.717015s (0.001396s ago):
[   22.718499]  test_alloc+0x29c/0x628
[   22.718601]  test_double_free+0xd4/0x238
[   22.718647]  kunit_try_run_case+0x170/0x3f0
[   22.718686]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.718925]  kthread+0x328/0x630
[   22.719000]  ret_from_fork+0x10/0x20
[   22.719044] 
[   22.719074] freed by task 305 on cpu 1 at 22.717157s (0.001914s ago):
[   22.719198]  test_double_free+0x1ac/0x238
[   22.719254]  kunit_try_run_case+0x170/0x3f0
[   22.719299]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.719454]  kthread+0x328/0x630
[   22.719532]  ret_from_fork+0x10/0x20
[   22.719619] 
[   22.719705] CPU: 1 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT 
[   22.719838] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.720111] Hardware name: linux,dummy-virt (DT)
[   22.720165] ==================================================================

[   16.709404] ==================================================================
[   16.710012] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   16.710012] 
[   16.710390] Invalid free of 0x(____ptrval____) (in kfence-#78):
[   16.710724]  test_double_free+0x112/0x260
[   16.710909]  kunit_try_run_case+0x1a5/0x480
[   16.711155]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.711404]  kthread+0x337/0x6f0
[   16.711568]  ret_from_fork+0x41/0x80
[   16.711734]  ret_from_fork_asm+0x1a/0x30
[   16.711877] 
[   16.711985] kfence-#78: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.711985] 
[   16.712414] allocated by task 324 on cpu 1 at 16.709108s (0.003303s ago):
[   16.712688]  test_alloc+0x2a6/0x10f0
[   16.712903]  test_double_free+0xdb/0x260
[   16.713113]  kunit_try_run_case+0x1a5/0x480
[   16.713290]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.713558]  kthread+0x337/0x6f0
[   16.713769]  ret_from_fork+0x41/0x80
[   16.713970]  ret_from_fork_asm+0x1a/0x30
[   16.714132] 
[   16.714249] freed by task 324 on cpu 1 at 16.709172s (0.005075s ago):
[   16.714548]  test_double_free+0xfa/0x260
[   16.714752]  kunit_try_run_case+0x1a5/0x480
[   16.714977]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.715161]  kthread+0x337/0x6f0
[   16.715323]  ret_from_fork+0x41/0x80
[   16.715512]  ret_from_fork_asm+0x1a/0x30
[   16.715700] 
[   16.715826] CPU: 1 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT(voluntary) 
[   16.716487] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.716649] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.717000] ==================================================================
[   16.605332] ==================================================================
[   16.605876] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   16.605876] 
[   16.606188] Invalid free of 0x(____ptrval____) (in kfence-#77):
[   16.606487]  test_double_free+0x1d3/0x260
[   16.606677]  kunit_try_run_case+0x1a5/0x480
[   16.606894]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.607119]  kthread+0x337/0x6f0
[   16.607299]  ret_from_fork+0x41/0x80
[   16.607444]  ret_from_fork_asm+0x1a/0x30
[   16.607678] 
[   16.607754] kfence-#77: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.607754] 
[   16.608118] allocated by task 322 on cpu 0 at 16.605085s (0.003030s ago):
[   16.608398]  test_alloc+0x364/0x10f0
[   16.608529]  test_double_free+0xdb/0x260
[   16.609104]  kunit_try_run_case+0x1a5/0x480
[   16.609349]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.609629]  kthread+0x337/0x6f0
[   16.609752]  ret_from_fork+0x41/0x80
[   16.609889]  ret_from_fork_asm+0x1a/0x30
[   16.610071] 
[   16.610169] freed by task 322 on cpu 0 at 16.605142s (0.005025s ago):
[   16.610463]  test_double_free+0x1e0/0x260
[   16.610708]  kunit_try_run_case+0x1a5/0x480
[   16.610857]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.611044]  kthread+0x337/0x6f0
[   16.611215]  ret_from_fork+0x41/0x80
[   16.611398]  ret_from_fork_asm+0x1a/0x30
[   16.611577] 
[   16.611683] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT(voluntary) 
[   16.612331] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.612526] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.612934] ==================================================================