Date
July 13, 2025, 11:09 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 20.194335] ================================================================== [ 20.194428] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248 [ 20.194428] [ 20.194739] Use-after-free read at 0x0000000005a1a055 (in kfence-#88): [ 20.194912] test_use_after_free_read+0x114/0x248 [ 20.195008] kunit_try_run_case+0x170/0x3f0 [ 20.195061] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.195107] kthread+0x328/0x630 [ 20.195235] ret_from_fork+0x10/0x20 [ 20.195309] [ 20.195337] kfence-#88: 0x0000000005a1a055-0x00000000e1ae44bd, size=32, cache=test [ 20.195337] [ 20.195664] allocated by task 298 on cpu 0 at 20.193685s (0.001959s ago): [ 20.195809] test_alloc+0x230/0x628 [ 20.195885] test_use_after_free_read+0xd0/0x248 [ 20.195929] kunit_try_run_case+0x170/0x3f0 [ 20.196037] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.196083] kthread+0x328/0x630 [ 20.196119] ret_from_fork+0x10/0x20 [ 20.196665] [ 20.196726] freed by task 298 on cpu 0 at 20.194027s (0.002670s ago): [ 20.197034] test_use_after_free_read+0xf0/0x248 [ 20.197230] kunit_try_run_case+0x170/0x3f0 [ 20.197298] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.197665] kthread+0x328/0x630 [ 20.197780] ret_from_fork+0x10/0x20 [ 20.197877] [ 20.198018] CPU: 0 UID: 0 PID: 298 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 20.198160] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.198322] Hardware name: linux,dummy-virt (DT) [ 20.198359] ================================================================== [ 20.090706] ================================================================== [ 20.090787] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248 [ 20.090787] [ 20.091250] Use-after-free read at 0x000000003a99f794 (in kfence-#87): [ 20.091374] test_use_after_free_read+0x114/0x248 [ 20.091477] kunit_try_run_case+0x170/0x3f0 [ 20.091647] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.091700] kthread+0x328/0x630 [ 20.091997] ret_from_fork+0x10/0x20 [ 20.092185] [ 20.092269] kfence-#87: 0x000000003a99f794-0x00000000c3737467, size=32, cache=kmalloc-32 [ 20.092269] [ 20.092334] allocated by task 296 on cpu 0 at 20.089942s (0.002389s ago): [ 20.092815] test_alloc+0x29c/0x628 [ 20.093188] test_use_after_free_read+0xd0/0x248 [ 20.093329] kunit_try_run_case+0x170/0x3f0 [ 20.093559] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.093811] kthread+0x328/0x630 [ 20.093918] ret_from_fork+0x10/0x20 [ 20.094024] [ 20.094056] freed by task 296 on cpu 0 at 20.090013s (0.004039s ago): [ 20.094264] test_use_after_free_read+0x1c0/0x248 [ 20.094492] kunit_try_run_case+0x170/0x3f0 [ 20.094792] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.094942] kthread+0x328/0x630 [ 20.095052] ret_from_fork+0x10/0x20 [ 20.095233] [ 20.095457] CPU: 0 UID: 0 PID: 296 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 20.095676] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.096104] Hardware name: linux,dummy-virt (DT) [ 20.096252] ==================================================================
[ 21.375979] ================================================================== [ 21.376056] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248 [ 21.376056] [ 21.376154] Use-after-free read at 0x0000000076a34882 (in kfence-#92): [ 21.376219] test_use_after_free_read+0x114/0x248 [ 21.376277] kunit_try_run_case+0x170/0x3f0 [ 21.376321] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.376375] kthread+0x328/0x630 [ 21.376413] ret_from_fork+0x10/0x20 [ 21.376461] [ 21.376495] kfence-#92: 0x0000000076a34882-0x00000000b71f7d33, size=32, cache=test [ 21.376495] [ 21.376546] allocated by task 298 on cpu 0 at 21.375799s (0.000743s ago): [ 21.376615] test_alloc+0x230/0x628 [ 21.376654] test_use_after_free_read+0xd0/0x248 [ 21.376696] kunit_try_run_case+0x170/0x3f0 [ 21.376736] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.376789] kthread+0x328/0x630 [ 21.376826] ret_from_fork+0x10/0x20 [ 21.376865] [ 21.376887] freed by task 298 on cpu 0 at 21.375865s (0.001018s ago): [ 21.376981] test_use_after_free_read+0xf0/0x248 [ 21.377024] kunit_try_run_case+0x170/0x3f0 [ 21.377064] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.377108] kthread+0x328/0x630 [ 21.377143] ret_from_fork+0x10/0x20 [ 21.377194] [ 21.377237] CPU: 0 UID: 0 PID: 298 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 21.377344] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.377387] Hardware name: linux,dummy-virt (DT) [ 21.377449] ================================================================== [ 21.272915] ================================================================== [ 21.273011] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248 [ 21.273011] [ 21.273125] Use-after-free read at 0x000000001bdd2ab8 (in kfence-#91): [ 21.273192] test_use_after_free_read+0x114/0x248 [ 21.273274] kunit_try_run_case+0x170/0x3f0 [ 21.273380] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.273424] kthread+0x328/0x630 [ 21.273481] ret_from_fork+0x10/0x20 [ 21.273522] [ 21.273546] kfence-#91: 0x000000001bdd2ab8-0x0000000048a2d879, size=32, cache=kmalloc-32 [ 21.273546] [ 21.273598] allocated by task 296 on cpu 0 at 21.272591s (0.001003s ago): [ 21.273694] test_alloc+0x29c/0x628 [ 21.273735] test_use_after_free_read+0xd0/0x248 [ 21.273776] kunit_try_run_case+0x170/0x3f0 [ 21.273815] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.273859] kthread+0x328/0x630 [ 21.273894] ret_from_fork+0x10/0x20 [ 21.273962] [ 21.274138] freed by task 296 on cpu 0 at 21.272658s (0.001362s ago): [ 21.274309] test_use_after_free_read+0x1c0/0x248 [ 21.274393] kunit_try_run_case+0x170/0x3f0 [ 21.274452] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.274510] kthread+0x328/0x630 [ 21.274547] ret_from_fork+0x10/0x20 [ 21.274736] [ 21.274806] CPU: 0 UID: 0 PID: 296 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 21.274998] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.275059] Hardware name: linux,dummy-virt (DT) [ 21.275094] ==================================================================
[ 18.893153] ================================================================== [ 18.893763] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x129/0x270 [ 18.893763] [ 18.894203] Use-after-free read at 0x(____ptrval____) (in kfence-#82): [ 18.894906] test_use_after_free_read+0x129/0x270 [ 18.895467] kunit_try_run_case+0x1a5/0x480 [ 18.895654] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 18.896089] kthread+0x337/0x6f0 [ 18.896354] ret_from_fork+0x116/0x1d0 [ 18.896691] ret_from_fork_asm+0x1a/0x30 [ 18.896986] [ 18.897186] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 18.897186] [ 18.897614] allocated by task 313 on cpu 1 at 18.892940s (0.004672s ago): [ 18.897934] test_alloc+0x364/0x10f0 [ 18.898135] test_use_after_free_read+0xdc/0x270 [ 18.898332] kunit_try_run_case+0x1a5/0x480 [ 18.898540] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 18.898833] kthread+0x337/0x6f0 [ 18.899023] ret_from_fork+0x116/0x1d0 [ 18.899168] ret_from_fork_asm+0x1a/0x30 [ 18.899369] [ 18.899629] freed by task 313 on cpu 1 at 18.892993s (0.006550s ago): [ 18.900013] test_use_after_free_read+0x1e7/0x270 [ 18.900263] kunit_try_run_case+0x1a5/0x480 [ 18.900470] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 18.900679] kthread+0x337/0x6f0 [ 18.900867] ret_from_fork+0x116/0x1d0 [ 18.901026] ret_from_fork_asm+0x1a/0x30 [ 18.901230] [ 18.901376] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 18.901815] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.902022] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 18.902340] ================================================================== [ 18.997049] ================================================================== [ 18.997465] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x129/0x270 [ 18.997465] [ 18.997948] Use-after-free read at 0x(____ptrval____) (in kfence-#83): [ 18.998208] test_use_after_free_read+0x129/0x270 [ 18.998466] kunit_try_run_case+0x1a5/0x480 [ 18.998711] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 18.998981] kthread+0x337/0x6f0 [ 18.999144] ret_from_fork+0x116/0x1d0 [ 18.999282] ret_from_fork_asm+0x1a/0x30 [ 18.999524] [ 18.999620] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test [ 18.999620] [ 18.999920] allocated by task 315 on cpu 0 at 18.996924s (0.002994s ago): [ 19.000235] test_alloc+0x2a6/0x10f0 [ 19.000427] test_use_after_free_read+0xdc/0x270 [ 19.000821] kunit_try_run_case+0x1a5/0x480 [ 19.001149] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 19.001380] kthread+0x337/0x6f0 [ 19.002019] ret_from_fork+0x116/0x1d0 [ 19.002206] ret_from_fork_asm+0x1a/0x30 [ 19.002634] [ 19.002732] freed by task 315 on cpu 0 at 18.996970s (0.005760s ago): [ 19.003035] test_use_after_free_read+0xfb/0x270 [ 19.003261] kunit_try_run_case+0x1a5/0x480 [ 19.003793] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 19.004057] kthread+0x337/0x6f0 [ 19.004364] ret_from_fork+0x116/0x1d0 [ 19.004692] ret_from_fork_asm+0x1a/0x30 [ 19.005006] [ 19.005158] CPU: 0 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 19.005852] Tainted: [B]=BAD_PAGE, [N]=TEST [ 19.006058] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 19.006645] ==================================================================
[ 18.257117] ================================================================== [ 18.257538] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x129/0x270 [ 18.257538] [ 18.258145] Use-after-free read at 0x(____ptrval____) (in kfence-#72): [ 18.258524] test_use_after_free_read+0x129/0x270 [ 18.258701] kunit_try_run_case+0x1a5/0x480 [ 18.259104] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 18.259371] kthread+0x337/0x6f0 [ 18.259558] ret_from_fork+0x116/0x1d0 [ 18.259775] ret_from_fork_asm+0x1a/0x30 [ 18.260015] [ 18.260163] kfence-#72: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 18.260163] [ 18.260585] allocated by task 314 on cpu 0 at 18.256891s (0.003692s ago): [ 18.260890] test_alloc+0x364/0x10f0 [ 18.261080] test_use_after_free_read+0xdc/0x270 [ 18.261323] kunit_try_run_case+0x1a5/0x480 [ 18.261571] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 18.261799] kthread+0x337/0x6f0 [ 18.261923] ret_from_fork+0x116/0x1d0 [ 18.262068] ret_from_fork_asm+0x1a/0x30 [ 18.262316] [ 18.262618] freed by task 314 on cpu 0 at 18.256954s (0.005533s ago): [ 18.263023] test_use_after_free_read+0x1e7/0x270 [ 18.263288] kunit_try_run_case+0x1a5/0x480 [ 18.263626] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 18.263871] kthread+0x337/0x6f0 [ 18.264032] ret_from_fork+0x116/0x1d0 [ 18.264250] ret_from_fork_asm+0x1a/0x30 [ 18.264501] [ 18.264606] CPU: 0 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 18.265004] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.265344] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 18.265781] ================================================================== [ 18.361111] ================================================================== [ 18.361496] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x129/0x270 [ 18.361496] [ 18.362012] Use-after-free read at 0x(____ptrval____) (in kfence-#73): [ 18.362323] test_use_after_free_read+0x129/0x270 [ 18.362564] kunit_try_run_case+0x1a5/0x480 [ 18.362815] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 18.363109] kthread+0x337/0x6f0 [ 18.363305] ret_from_fork+0x116/0x1d0 [ 18.363481] ret_from_fork_asm+0x1a/0x30 [ 18.363693] [ 18.363769] kfence-#73: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test [ 18.363769] [ 18.364155] allocated by task 316 on cpu 0 at 18.360977s (0.003177s ago): [ 18.364505] test_alloc+0x2a6/0x10f0 [ 18.364674] test_use_after_free_read+0xdc/0x270 [ 18.364896] kunit_try_run_case+0x1a5/0x480 [ 18.365142] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 18.365428] kthread+0x337/0x6f0 [ 18.365614] ret_from_fork+0x116/0x1d0 [ 18.365807] ret_from_fork_asm+0x1a/0x30 [ 18.366018] [ 18.366113] freed by task 316 on cpu 0 at 18.361025s (0.005086s ago): [ 18.366373] test_use_after_free_read+0xfb/0x270 [ 18.366573] kunit_try_run_case+0x1a5/0x480 [ 18.366818] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 18.367113] kthread+0x337/0x6f0 [ 18.367304] ret_from_fork+0x116/0x1d0 [ 18.367487] ret_from_fork_asm+0x1a/0x30 [ 18.367703] [ 18.367844] CPU: 0 UID: 0 PID: 316 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 18.368421] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.368589] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 18.368896] ==================================================================