Date
July 20, 2025, 8:11 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 25.305547] ================================================================== [ 25.305630] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 25.305630] [ 25.305691] Corrupted memory at 0x00000000b16235c0 [ ! . . . . . . . . . . . . . . . ] (in kfence-#141): [ 25.306012] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 25.306061] kunit_try_run_case+0x170/0x3f0 [ 25.306106] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 25.306151] kthread+0x328/0x630 [ 25.306204] ret_from_fork+0x10/0x20 [ 25.306244] [ 25.306269] kfence-#141: 0x000000008d2c0288-0x0000000013422e46, size=73, cache=kmalloc-96 [ 25.306269] [ 25.306324] allocated by task 326 on cpu 1 at 25.305317s (0.001003s ago): [ 25.306386] test_alloc+0x29c/0x628 [ 25.306428] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 25.306472] kunit_try_run_case+0x170/0x3f0 [ 25.306511] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 25.306555] kthread+0x328/0x630 [ 25.306590] ret_from_fork+0x10/0x20 [ 25.306630] [ 25.306653] freed by task 326 on cpu 1 at 25.305455s (0.001195s ago): [ 25.306715] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 25.306758] kunit_try_run_case+0x170/0x3f0 [ 25.306799] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 25.306842] kthread+0x328/0x630 [ 25.306878] ret_from_fork+0x10/0x20 [ 25.306918] [ 25.306964] CPU: 1 UID: 0 PID: 326 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 25.307042] Tainted: [B]=BAD_PAGE, [N]=TEST [ 25.307071] Hardware name: linux,dummy-virt (DT) [ 25.307107] ==================================================================
[ 23.771663] ================================================================== [ 23.772105] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 23.772105] [ 23.772465] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#123): [ 23.773168] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 23.773381] kunit_try_run_case+0x1a5/0x480 [ 23.773651] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.773966] kthread+0x337/0x6f0 [ 23.774115] ret_from_fork+0x116/0x1d0 [ 23.774322] ret_from_fork_asm+0x1a/0x30 [ 23.774549] [ 23.774656] kfence-#123: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 23.774656] [ 23.775129] allocated by task 343 on cpu 1 at 23.771368s (0.003759s ago): [ 23.775507] test_alloc+0x364/0x10f0 [ 23.775710] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 23.776039] kunit_try_run_case+0x1a5/0x480 [ 23.776203] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.776426] kthread+0x337/0x6f0 [ 23.776671] ret_from_fork+0x116/0x1d0 [ 23.776872] ret_from_fork_asm+0x1a/0x30 [ 23.777067] [ 23.777145] freed by task 343 on cpu 1 at 23.771536s (0.005605s ago): [ 23.777719] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 23.778000] kunit_try_run_case+0x1a5/0x480 [ 23.778236] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.778428] kthread+0x337/0x6f0 [ 23.778597] ret_from_fork+0x116/0x1d0 [ 23.778845] ret_from_fork_asm+0x1a/0x30 [ 23.779118] [ 23.779535] CPU: 1 UID: 0 PID: 343 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 23.780544] Tainted: [B]=BAD_PAGE, [N]=TEST [ 23.780798] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 23.781358] ==================================================================