Date
Dec. 4, 2024, 3:07 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 41.011055] ================================================================== [ 41.012100] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248 [ 41.012100] [ 41.013249] Use-after-free read at 0x000000003c5a3b65 (in kfence-#140): [ 41.014445] test_use_after_free_read+0x114/0x248 [ 41.015406] test_use_after_free_read+0xf0/0x248 [ 41.016021] kunit_try_run_case+0x14c/0x3d0 [ 41.016677] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 41.017449] kthread+0x24c/0x2d0 [ 41.017955] ret_from_fork+0x10/0x20 [ 41.018578] [ 41.019051] kfence-#140: 0x000000003c5a3b65-0x00000000ff482700, size=32, cache=test [ 41.019051] [ 41.020103] allocated by task 285 on cpu 1 at 41.010695s (0.009399s ago): [ 41.021068] test_alloc+0x22c/0x620 [ 41.021587] test_use_after_free_read+0xd0/0x248 [ 41.022371] kunit_try_run_case+0x14c/0x3d0 [ 41.022957] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 41.023850] kthread+0x24c/0x2d0 [ 41.024374] ret_from_fork+0x10/0x20 [ 41.024881] [ 41.025262] freed by task 285 on cpu 1 at 41.010798s (0.014455s ago): [ 41.026164] test_use_after_free_read+0xf0/0x248 [ 41.026982] kunit_try_run_case+0x14c/0x3d0 [ 41.027556] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 41.028318] kthread+0x24c/0x2d0 [ 41.028944] ret_from_fork+0x10/0x20 [ 41.029453] [ 41.029901] CPU: 1 UID: 0 PID: 285 Comm: kunit_try_catch Tainted: G B N 6.13.0-rc1-next-20241204 #1 [ 41.031063] Tainted: [B]=BAD_PAGE, [N]=TEST [ 41.031776] Hardware name: linux,dummy-virt (DT) [ 41.032430] ================================================================== [ 40.907224] ================================================================== [ 40.908171] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248 [ 40.908171] [ 40.909175] Use-after-free read at 0x000000004f4e8da3 (in kfence-#139): [ 40.909880] test_use_after_free_read+0x114/0x248 [ 40.910815] test_use_after_free_read+0x1c0/0x248 [ 40.911503] kunit_try_run_case+0x14c/0x3d0 [ 40.912236] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.913033] kthread+0x24c/0x2d0 [ 40.913558] ret_from_fork+0x10/0x20 [ 40.914217] [ 40.914595] kfence-#139: 0x000000004f4e8da3-0x00000000c74ad180, size=32, cache=kmalloc-32 [ 40.914595] [ 40.915909] allocated by task 283 on cpu 0 at 40.906662s (0.009237s ago): [ 40.916862] test_alloc+0x298/0x620 [ 40.917412] test_use_after_free_read+0xd0/0x248 [ 40.918163] kunit_try_run_case+0x14c/0x3d0 [ 40.918798] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.919507] kthread+0x24c/0x2d0 [ 40.920101] ret_from_fork+0x10/0x20 [ 40.920656] [ 40.921264] freed by task 283 on cpu 0 at 40.906783s (0.014325s ago): [ 40.922371] test_use_after_free_read+0x1c0/0x248 [ 40.923086] kunit_try_run_case+0x14c/0x3d0 [ 40.923692] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.924402] kthread+0x24c/0x2d0 [ 40.924968] ret_from_fork+0x10/0x20 [ 40.925563] [ 40.925986] CPU: 0 UID: 0 PID: 283 Comm: kunit_try_catch Tainted: G B N 6.13.0-rc1-next-20241204 #1 [ 40.927961] Tainted: [B]=BAD_PAGE, [N]=TEST [ 40.928439] Hardware name: linux,dummy-virt (DT) [ 40.928935] ==================================================================
[ 32.176168] ================================================================== [ 32.176978] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x12a/0x270 [ 32.176978] [ 32.177694] Use-after-free read at 0x(____ptrval____) (in kfence-#110): [ 32.178535] test_use_after_free_read+0x12a/0x270 [ 32.178963] kunit_try_run_case+0x1b3/0x490 [ 32.179498] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 32.180008] kthread+0x257/0x310 [ 32.180457] ret_from_fork+0x41/0x80 [ 32.180897] ret_from_fork_asm+0x1a/0x30 [ 32.181293] [ 32.181622] kfence-#110: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 32.181622] [ 32.182353] allocated by task 303 on cpu 0 at 32.175843s (0.006490s ago): [ 32.183147] test_alloc+0x35f/0x10d0 [ 32.183573] test_use_after_free_read+0xdd/0x270 [ 32.184100] kunit_try_run_case+0x1b3/0x490 [ 32.184663] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 32.185026] kthread+0x257/0x310 [ 32.185699] ret_from_fork+0x41/0x80 [ 32.186144] ret_from_fork_asm+0x1a/0x30 [ 32.186611] [ 32.187135] freed by task 303 on cpu 0 at 32.175950s (0.011005s ago): [ 32.187804] test_use_after_free_read+0x1e9/0x270 [ 32.188200] kunit_try_run_case+0x1b3/0x490 [ 32.188826] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 32.189571] kthread+0x257/0x310 [ 32.190071] ret_from_fork+0x41/0x80 [ 32.190517] ret_from_fork_asm+0x1a/0x30 [ 32.190979] [ 32.191262] CPU: 0 UID: 0 PID: 303 Comm: kunit_try_catch Tainted: G B N 6.13.0-rc1-next-20241204 #1 [ 32.192026] Tainted: [B]=BAD_PAGE, [N]=TEST [ 32.192796] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 32.193748] ================================================================== [ 32.280050] ================================================================== [ 32.280555] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x12a/0x270 [ 32.280555] [ 32.281030] Use-after-free read at 0x(____ptrval____) (in kfence-#111): [ 32.281794] test_use_after_free_read+0x12a/0x270 [ 32.282485] kunit_try_run_case+0x1b3/0x490 [ 32.282971] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 32.283483] kthread+0x257/0x310 [ 32.283885] ret_from_fork+0x41/0x80 [ 32.284444] ret_from_fork_asm+0x1a/0x30 [ 32.284845] [ 32.285060] kfence-#111: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test [ 32.285060] [ 32.286082] allocated by task 305 on cpu 0 at 32.279838s (0.006240s ago): [ 32.286567] test_alloc+0x2a7/0x10d0 [ 32.287085] test_use_after_free_read+0xdd/0x270 [ 32.287678] kunit_try_run_case+0x1b3/0x490 [ 32.287984] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 32.288679] kthread+0x257/0x310 [ 32.289165] ret_from_fork+0x41/0x80 [ 32.289646] ret_from_fork_asm+0x1a/0x30 [ 32.290149] [ 32.290433] freed by task 305 on cpu 0 at 32.279917s (0.010512s ago): [ 32.291030] test_use_after_free_read+0xfc/0x270 [ 32.291518] kunit_try_run_case+0x1b3/0x490 [ 32.292027] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 32.292429] kthread+0x257/0x310 [ 32.292681] ret_from_fork+0x41/0x80 [ 32.293190] ret_from_fork_asm+0x1a/0x30 [ 32.293816] [ 32.294110] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G B N 6.13.0-rc1-next-20241204 #1 [ 32.295121] Tainted: [B]=BAD_PAGE, [N]=TEST [ 32.295509] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 32.296363] ==================================================================