Hay
Date
June 2, 2025, 2:13 p.m.

Environment
qemu-arm64
qemu-x86_64

[   23.635482] ==================================================================
[   23.636095] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   23.636095] 
[   23.636688] Invalid free of 0x0000000037f14d8c (in kfence-#118):
[   23.637316]  test_double_free+0x1bc/0x238
[   23.637840]  kunit_try_run_case+0x170/0x3f0
[   23.638412]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.638931]  kthread+0x318/0x620
[   23.639398]  ret_from_fork+0x10/0x20
[   23.639744] 
[   23.640033] kfence-#118: 0x0000000037f14d8c-0x000000009667eef0, size=32, cache=kmalloc-32
[   23.640033] 
[   23.640794] allocated by task 293 on cpu 0 at 23.634988s (0.005792s ago):
[   23.641392]  test_alloc+0x29c/0x628
[   23.641806]  test_double_free+0xd4/0x238
[   23.642292]  kunit_try_run_case+0x170/0x3f0
[   23.642786]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.643350]  kthread+0x318/0x620
[   23.643749]  ret_from_fork+0x10/0x20
[   23.644133] 
[   23.644425] freed by task 293 on cpu 0 at 23.635113s (0.009299s ago):
[   23.645105]  test_double_free+0x1ac/0x238
[   23.645627]  kunit_try_run_case+0x170/0x3f0
[   23.646041]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.646560]  kthread+0x318/0x620
[   23.646942]  ret_from_fork+0x10/0x20
[   23.647389] 
[   23.647713] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N 6.14.10-rc1 #1
[   23.648460] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.648843] Hardware name: linux,dummy-virt (DT)
[   23.649297] ==================================================================
[   23.739346] ==================================================================
[   23.739980] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   23.739980] 
[   23.740605] Invalid free of 0x000000002fea8791 (in kfence-#119):
[   23.741949]  test_double_free+0x100/0x238
[   23.742405]  kunit_try_run_case+0x170/0x3f0
[   23.742832]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.743324]  kthread+0x318/0x620
[   23.743663]  ret_from_fork+0x10/0x20
[   23.744025] 
[   23.744601] kfence-#119: 0x000000002fea8791-0x00000000893cce45, size=32, cache=test
[   23.744601] 
[   23.744937] allocated by task 295 on cpu 0 at 23.738933s (0.005997s ago):
[   23.745226]  test_alloc+0x230/0x628
[   23.745859]  test_double_free+0xd4/0x238
[   23.746219]  kunit_try_run_case+0x170/0x3f0
[   23.746575]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.747021]  kthread+0x318/0x620
[   23.747350]  ret_from_fork+0x10/0x20
[   23.747666] 
[   23.747890] freed by task 295 on cpu 0 at 23.739041s (0.008839s ago):
[   23.748562]  test_double_free+0xf0/0x238
[   23.749079]  kunit_try_run_case+0x170/0x3f0
[   23.749608]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.750239]  kthread+0x318/0x620
[   23.750666]  ret_from_fork+0x10/0x20
[   23.751124] 
[   23.751461] CPU: 0 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N 6.14.10-rc1 #1
[   23.752127] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.752615] Hardware name: linux,dummy-virt (DT)
[   23.753192] ==================================================================

[   18.678097] ==================================================================
[   18.678480] BUG: KFENCE: invalid free in test_double_free+0x113/0x260
[   18.678480] 
[   18.678837] Invalid free of 0x(____ptrval____) (in kfence-#71):
[   18.679144]  test_double_free+0x113/0x260
[   18.679354]  kunit_try_run_case+0x1a6/0x480
[   18.679576]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.679789]  kthread+0x324/0x6e0
[   18.679962]  ret_from_fork+0x41/0x80
[   18.680159]  ret_from_fork_asm+0x1a/0x30
[   18.680317] 
[   18.680388] kfence-#71: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.680388] 
[   18.680752] allocated by task 313 on cpu 1 at 18.677902s (0.002848s ago):
[   18.681160]  test_alloc+0x2a7/0x10f0
[   18.681362]  test_double_free+0xdc/0x260
[   18.681496]  kunit_try_run_case+0x1a6/0x480
[   18.681692]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.681962]  kthread+0x324/0x6e0
[   18.682163]  ret_from_fork+0x41/0x80
[   18.682428]  ret_from_fork_asm+0x1a/0x30
[   18.682696] 
[   18.682771] freed by task 313 on cpu 1 at 18.677962s (0.004806s ago):
[   18.683005]  test_double_free+0xfb/0x260
[   18.683239]  kunit_try_run_case+0x1a6/0x480
[   18.683475]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.683726]  kthread+0x324/0x6e0
[   18.683878]  ret_from_fork+0x41/0x80
[   18.684090]  ret_from_fork_asm+0x1a/0x30
[   18.684298] 
[   18.684431] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N 6.14.10-rc1 #1
[   18.684858] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.685084] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.685471] ==================================================================
[   18.574180] ==================================================================
[   18.574597] BUG: KFENCE: invalid free in test_double_free+0x1d5/0x260
[   18.574597] 
[   18.574908] Invalid free of 0x(____ptrval____) (in kfence-#70):
[   18.575190]  test_double_free+0x1d5/0x260
[   18.575403]  kunit_try_run_case+0x1a6/0x480
[   18.575557]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.575852]  kthread+0x324/0x6e0
[   18.576092]  ret_from_fork+0x41/0x80
[   18.576265]  ret_from_fork_asm+0x1a/0x30
[   18.576421] 
[   18.576520] kfence-#70: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.576520] 
[   18.576972] allocated by task 311 on cpu 0 at 18.573910s (0.003060s ago):
[   18.577889]  test_alloc+0x365/0x10f0
[   18.578063]  test_double_free+0xdc/0x260
[   18.578268]  kunit_try_run_case+0x1a6/0x480
[   18.578480]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.579077]  kthread+0x324/0x6e0
[   18.579244]  ret_from_fork+0x41/0x80
[   18.579426]  ret_from_fork_asm+0x1a/0x30
[   18.579764] 
[   18.579847] freed by task 311 on cpu 0 at 18.573975s (0.005870s ago):
[   18.580154]  test_double_free+0x1e2/0x260
[   18.580365]  kunit_try_run_case+0x1a6/0x480
[   18.580564]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.580794]  kthread+0x324/0x6e0
[   18.580964]  ret_from_fork+0x41/0x80
[   18.581115]  ret_from_fork_asm+0x1a/0x30
[   18.581322] 
[   18.581431] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N 6.14.10-rc1 #1
[   18.582311] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.582475] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.583053] ==================================================================