Date
May 26, 2025, 9:10 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 29.007942] ================================================================== [ 29.008053] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 29.008053] [ 29.008122] Corrupted memory at 0x00000000bd2894e9 [ ! . . . . . . . . . . . . . . . ] (in kfence-#166): [ 29.008437] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 29.008504] kunit_try_run_case+0x170/0x3f0 [ 29.008551] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 29.008594] kthread+0x328/0x630 [ 29.008631] ret_from_fork+0x10/0x20 [ 29.008671] [ 29.008696] kfence-#166: 0x00000000ac65a7c9-0x00000000c108eb28, size=73, cache=kmalloc-96 [ 29.008696] [ 29.008756] allocated by task 325 on cpu 1 at 29.007643s (0.001108s ago): [ 29.008818] test_alloc+0x29c/0x628 [ 29.008861] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 29.008905] kunit_try_run_case+0x170/0x3f0 [ 29.008945] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 29.008989] kthread+0x328/0x630 [ 29.009024] ret_from_fork+0x10/0x20 [ 29.009063] [ 29.009089] freed by task 325 on cpu 1 at 29.007798s (0.001287s ago): [ 29.009150] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 29.009194] kunit_try_run_case+0x170/0x3f0 [ 29.009234] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 29.009277] kthread+0x328/0x630 [ 29.009313] ret_from_fork+0x10/0x20 [ 29.009365] [ 29.009411] CPU: 1 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc7-next-20250526 #1 PREEMPT [ 29.009494] Tainted: [B]=BAD_PAGE, [N]=TEST [ 29.009524] Hardware name: linux,dummy-virt (DT) [ 29.009557] ==================================================================
[ 22.123592] ================================================================== [ 22.123975] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 22.123975] [ 22.124398] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#127): [ 22.125009] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 22.125284] kunit_try_run_case+0x1a5/0x480 [ 22.125484] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 22.125725] kthread+0x337/0x6f0 [ 22.125885] ret_from_fork+0x116/0x1d0 [ 22.126059] ret_from_fork_asm+0x1a/0x30 [ 22.126267] [ 22.126344] kfence-#127: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 22.126344] [ 22.126743] allocated by task 343 on cpu 1 at 22.123316s (0.003424s ago): [ 22.127060] test_alloc+0x364/0x10f0 [ 22.127240] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 22.127458] kunit_try_run_case+0x1a5/0x480 [ 22.127670] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 22.127930] kthread+0x337/0x6f0 [ 22.128054] ret_from_fork+0x116/0x1d0 [ 22.128219] ret_from_fork_asm+0x1a/0x30 [ 22.128427] [ 22.128510] freed by task 343 on cpu 1 at 22.123469s (0.005038s ago): [ 22.128719] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 22.129150] kunit_try_run_case+0x1a5/0x480 [ 22.129481] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 22.129731] kthread+0x337/0x6f0 [ 22.129854] ret_from_fork+0x116/0x1d0 [ 22.130040] ret_from_fork_asm+0x1a/0x30 [ 22.130236] [ 22.130357] CPU: 1 UID: 0 PID: 343 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc7-next-20250526 #1 PREEMPT(voluntary) [ 22.130958] Tainted: [B]=BAD_PAGE, [N]=TEST [ 22.131158] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 22.131513] ==================================================================