Date
Dec. 6, 2024, 3:11 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 39.335854] ================================================================== [ 39.336716] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248 [ 39.336716] [ 39.337947] Use-after-free read at 0x00000000f1237827 (in kfence-#148): [ 39.339201] test_use_after_free_read+0x114/0x248 [ 39.339800] test_use_after_free_read+0x1c0/0x248 [ 39.340550] kunit_try_run_case+0x14c/0x3d0 [ 39.341214] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 39.342043] kthread+0x24c/0x2d0 [ 39.342592] ret_from_fork+0x10/0x20 [ 39.343127] [ 39.343506] kfence-#148: 0x00000000f1237827-0x0000000096aafa70, size=32, cache=kmalloc-32 [ 39.343506] [ 39.344481] allocated by task 284 on cpu 1 at 39.335195s (0.009275s ago): [ 39.345422] test_alloc+0x298/0x620 [ 39.345908] test_use_after_free_read+0xd0/0x248 [ 39.346632] kunit_try_run_case+0x14c/0x3d0 [ 39.347288] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 39.347900] kthread+0x24c/0x2d0 [ 39.348487] ret_from_fork+0x10/0x20 [ 39.349150] [ 39.349832] freed by task 284 on cpu 1 at 39.335327s (0.014295s ago): [ 39.350853] test_use_after_free_read+0x1c0/0x248 [ 39.351578] kunit_try_run_case+0x14c/0x3d0 [ 39.352197] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 39.352942] kthread+0x24c/0x2d0 [ 39.353476] ret_from_fork+0x10/0x20 [ 39.354088] [ 39.354476] CPU: 1 UID: 0 PID: 284 Comm: kunit_try_catch Tainted: G B N 6.13.0-rc1-next-20241206 #1 [ 39.355609] Tainted: [B]=BAD_PAGE, [N]=TEST [ 39.356231] Hardware name: linux,dummy-virt (DT) [ 39.356832] ================================================================== [ 39.439651] ================================================================== [ 39.440445] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248 [ 39.440445] [ 39.441405] Use-after-free read at 0x0000000027a1664e (in kfence-#149): [ 39.442432] test_use_after_free_read+0x114/0x248 [ 39.443146] test_use_after_free_read+0xf0/0x248 [ 39.444095] kunit_try_run_case+0x14c/0x3d0 [ 39.444816] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 39.445677] kthread+0x24c/0x2d0 [ 39.446283] ret_from_fork+0x10/0x20 [ 39.447066] [ 39.447435] kfence-#149: 0x0000000027a1664e-0x00000000c336d6b1, size=32, cache=test [ 39.447435] [ 39.448439] allocated by task 286 on cpu 0 at 39.439236s (0.009192s ago): [ 39.449298] test_alloc+0x22c/0x620 [ 39.449830] test_use_after_free_read+0xd0/0x248 [ 39.450358] kunit_try_run_case+0x14c/0x3d0 [ 39.451084] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 39.451895] kthread+0x24c/0x2d0 [ 39.452529] ret_from_fork+0x10/0x20 [ 39.453138] [ 39.453578] freed by task 286 on cpu 0 at 39.439344s (0.014221s ago): [ 39.454469] test_use_after_free_read+0xf0/0x248 [ 39.455227] kunit_try_run_case+0x14c/0x3d0 [ 39.455831] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 39.456649] kthread+0x24c/0x2d0 [ 39.457146] ret_from_fork+0x10/0x20 [ 39.457809] [ 39.458264] CPU: 0 UID: 0 PID: 286 Comm: kunit_try_catch Tainted: G B N 6.13.0-rc1-next-20241206 #1 [ 39.459428] Tainted: [B]=BAD_PAGE, [N]=TEST [ 39.460086] Hardware name: linux,dummy-virt (DT) [ 39.460657] ==================================================================
[ 33.659377] ================================================================== [ 33.660090] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x12a/0x270 [ 33.660090] [ 33.660843] Use-after-free read at 0x(____ptrval____) (in kfence-#114): [ 33.661839] test_use_after_free_read+0x12a/0x270 [ 33.662710] kunit_try_run_case+0x1b3/0x490 [ 33.663055] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.663815] kthread+0x257/0x310 [ 33.664547] ret_from_fork+0x41/0x80 [ 33.664966] ret_from_fork_asm+0x1a/0x30 [ 33.665464] [ 33.665662] kfence-#114: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test [ 33.665662] [ 33.666683] allocated by task 305 on cpu 1 at 33.659142s (0.007536s ago): [ 33.667368] test_alloc+0x2a7/0x10d0 [ 33.667667] test_use_after_free_read+0xdd/0x270 [ 33.668275] kunit_try_run_case+0x1b3/0x490 [ 33.668809] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.669511] kthread+0x257/0x310 [ 33.669806] ret_from_fork+0x41/0x80 [ 33.670101] ret_from_fork_asm+0x1a/0x30 [ 33.670440] [ 33.670866] freed by task 305 on cpu 1 at 33.659236s (0.011626s ago): [ 33.671864] test_use_after_free_read+0xfc/0x270 [ 33.672562] kunit_try_run_case+0x1b3/0x490 [ 33.672912] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.673693] kthread+0x257/0x310 [ 33.674094] ret_from_fork+0x41/0x80 [ 33.674531] ret_from_fork_asm+0x1a/0x30 [ 33.674811] [ 33.675040] CPU: 1 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G B N 6.13.0-rc1-next-20241206 #1 [ 33.676271] Tainted: [B]=BAD_PAGE, [N]=TEST [ 33.676822] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 33.677985] ================================================================== [ 33.555485] ================================================================== [ 33.556362] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x12a/0x270 [ 33.556362] [ 33.557244] Use-after-free read at 0x(____ptrval____) (in kfence-#113): [ 33.558017] test_use_after_free_read+0x12a/0x270 [ 33.558380] kunit_try_run_case+0x1b3/0x490 [ 33.558683] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.559460] kthread+0x257/0x310 [ 33.559996] ret_from_fork+0x41/0x80 [ 33.560414] ret_from_fork_asm+0x1a/0x30 [ 33.561157] [ 33.561420] kfence-#113: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 33.561420] [ 33.562334] allocated by task 303 on cpu 0 at 33.555166s (0.007163s ago): [ 33.563102] test_alloc+0x35f/0x10d0 [ 33.563392] test_use_after_free_read+0xdd/0x270 [ 33.563764] kunit_try_run_case+0x1b3/0x490 [ 33.564404] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.565255] kthread+0x257/0x310 [ 33.565674] ret_from_fork+0x41/0x80 [ 33.566248] ret_from_fork_asm+0x1a/0x30 [ 33.566708] [ 33.566883] freed by task 303 on cpu 0 at 33.555249s (0.011630s ago): [ 33.567348] test_use_after_free_read+0x1e9/0x270 [ 33.567699] kunit_try_run_case+0x1b3/0x490 [ 33.568348] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.569306] kthread+0x257/0x310 [ 33.569865] ret_from_fork+0x41/0x80 [ 33.570560] ret_from_fork_asm+0x1a/0x30 [ 33.570977] [ 33.571378] CPU: 0 UID: 0 PID: 303 Comm: kunit_try_catch Tainted: G B N 6.13.0-rc1-next-20241206 #1 [ 33.572086] Tainted: [B]=BAD_PAGE, [N]=TEST [ 33.572368] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 33.573290] ==================================================================