Date
June 7, 2025, 10:40 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 32.626026] ================================================================== [ 32.626725] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248 [ 32.626725] [ 32.627707] Use-after-free read at 0x0000000048c48b14 (in kfence-#122): [ 32.628354] test_use_after_free_read+0x114/0x248 [ 32.629330] kunit_try_run_case+0x170/0x3f0 [ 32.630005] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 32.630759] kthread+0x318/0x620 [ 32.631380] ret_from_fork+0x10/0x20 [ 32.632046] [ 32.632478] kfence-#122: 0x0000000048c48b14-0x00000000d83cd514, size=32, cache=test [ 32.632478] [ 32.633674] allocated by task 286 on cpu 1 at 32.625703s (0.007956s ago): [ 32.634547] test_alloc+0x230/0x628 [ 32.635169] test_use_after_free_read+0xd0/0x248 [ 32.635730] kunit_try_run_case+0x170/0x3f0 [ 32.636468] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 32.637038] kthread+0x318/0x620 [ 32.637601] ret_from_fork+0x10/0x20 [ 32.638131] [ 32.638501] freed by task 286 on cpu 1 at 32.625792s (0.012697s ago): [ 32.639417] test_use_after_free_read+0xf0/0x248 [ 32.640054] kunit_try_run_case+0x170/0x3f0 [ 32.640647] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 32.641351] kthread+0x318/0x620 [ 32.641853] ret_from_fork+0x10/0x20 [ 32.642411] [ 32.642833] CPU: 1 UID: 0 PID: 286 Comm: kunit_try_catch Tainted: G B N 6.14.11-rc1 #1 [ 32.643848] Tainted: [B]=BAD_PAGE, [N]=TEST [ 32.644441] Hardware name: linux,dummy-virt (DT) [ 32.645005] ================================================================== [ 32.522098] ================================================================== [ 32.522817] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248 [ 32.522817] [ 32.523634] Use-after-free read at 0x00000000618392db (in kfence-#121): [ 32.524488] test_use_after_free_read+0x114/0x248 [ 32.525239] kunit_try_run_case+0x170/0x3f0 [ 32.525843] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 32.526568] kthread+0x318/0x620 [ 32.527197] ret_from_fork+0x10/0x20 [ 32.527734] [ 32.528120] kfence-#121: 0x00000000618392db-0x000000004a3b76d5, size=32, cache=kmalloc-32 [ 32.528120] [ 32.529006] allocated by task 284 on cpu 1 at 32.521673s (0.007322s ago): [ 32.529921] test_alloc+0x29c/0x628 [ 32.530602] test_use_after_free_read+0xd0/0x248 [ 32.531221] kunit_try_run_case+0x170/0x3f0 [ 32.531812] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 32.532543] kthread+0x318/0x620 [ 32.533069] ret_from_fork+0x10/0x20 [ 32.533608] [ 32.534233] freed by task 284 on cpu 1 at 32.521786s (0.012242s ago): [ 32.535081] test_use_after_free_read+0x1c0/0x248 [ 32.535609] kunit_try_run_case+0x170/0x3f0 [ 32.536199] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 32.536868] kthread+0x318/0x620 [ 32.537403] ret_from_fork+0x10/0x20 [ 32.537980] [ 32.538384] CPU: 1 UID: 0 PID: 284 Comm: kunit_try_catch Tainted: G B N 6.14.11-rc1 #1 [ 32.539345] Tainted: [B]=BAD_PAGE, [N]=TEST [ 32.539902] Hardware name: linux,dummy-virt (DT) [ 32.540448] ==================================================================
[ 25.755418] ================================================================== [ 25.756019] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x12a/0x270 [ 25.756019] [ 25.756859] Use-after-free read at 0x(____ptrval____) (in kfence-#101): [ 25.757603] test_use_after_free_read+0x12a/0x270 [ 25.758236] kunit_try_run_case+0x1a6/0x480 [ 25.758756] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 25.759339] kthread+0x324/0x6e0 [ 25.759649] ret_from_fork+0x41/0x80 [ 25.760074] ret_from_fork_asm+0x1a/0x30 [ 25.760545] [ 25.760736] kfence-#101: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 25.760736] [ 25.761411] allocated by task 303 on cpu 0 at 25.755110s (0.006295s ago): [ 25.761818] test_alloc+0x365/0x10f0 [ 25.762268] test_use_after_free_read+0xdd/0x270 [ 25.762682] kunit_try_run_case+0x1a6/0x480 [ 25.763110] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 25.763583] kthread+0x324/0x6e0 [ 25.764152] ret_from_fork+0x41/0x80 [ 25.764435] ret_from_fork_asm+0x1a/0x30 [ 25.764997] [ 25.765222] freed by task 303 on cpu 0 at 25.755238s (0.009979s ago): [ 25.765762] test_use_after_free_read+0x1e9/0x270 [ 25.766205] kunit_try_run_case+0x1a6/0x480 [ 25.766747] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 25.767097] kthread+0x324/0x6e0 [ 25.767566] ret_from_fork+0x41/0x80 [ 25.768064] ret_from_fork_asm+0x1a/0x30 [ 25.768601] [ 25.768819] CPU: 0 UID: 0 PID: 303 Comm: kunit_try_catch Tainted: G B N 6.14.11-rc1 #1 [ 25.769472] Tainted: [B]=BAD_PAGE, [N]=TEST [ 25.769934] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 25.770730] ================================================================== [ 25.859320] ================================================================== [ 25.859860] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x12a/0x270 [ 25.859860] [ 25.860548] Use-after-free read at 0x(____ptrval____) (in kfence-#102): [ 25.860888] test_use_after_free_read+0x12a/0x270 [ 25.861437] kunit_try_run_case+0x1a6/0x480 [ 25.861816] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 25.862264] kthread+0x324/0x6e0 [ 25.862641] ret_from_fork+0x41/0x80 [ 25.863053] ret_from_fork_asm+0x1a/0x30 [ 25.863389] [ 25.863548] kfence-#102: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test [ 25.863548] [ 25.864215] allocated by task 305 on cpu 0 at 25.859094s (0.005115s ago): [ 25.864872] test_alloc+0x2a7/0x10f0 [ 25.865119] test_use_after_free_read+0xdd/0x270 [ 25.865619] kunit_try_run_case+0x1a6/0x480 [ 25.866072] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 25.866782] kthread+0x324/0x6e0 [ 25.867057] ret_from_fork+0x41/0x80 [ 25.867342] ret_from_fork_asm+0x1a/0x30 [ 25.867756] [ 25.867995] freed by task 305 on cpu 0 at 25.859195s (0.008794s ago): [ 25.868811] test_use_after_free_read+0xfc/0x270 [ 25.869221] kunit_try_run_case+0x1a6/0x480 [ 25.869490] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 25.869936] kthread+0x324/0x6e0 [ 25.870287] ret_from_fork+0x41/0x80 [ 25.870685] ret_from_fork_asm+0x1a/0x30 [ 25.871216] [ 25.871561] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G B N 6.14.11-rc1 #1 [ 25.872134] Tainted: [B]=BAD_PAGE, [N]=TEST [ 25.872486] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 25.873348] ==================================================================