Date
June 25, 2025, 8:08 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 38.368544] ================================================================== [ 38.368636] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 38.368636] [ 38.368699] Corrupted memory at 0x00000000b0604dca [ ! . . . . . . . . . . . . . . . ] (in kfence-#158): [ 38.369011] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 38.369058] kunit_try_run_case+0x170/0x3f0 [ 38.369102] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 38.369146] kthread+0x328/0x630 [ 38.369184] ret_from_fork+0x10/0x20 [ 38.369224] [ 38.369249] kfence-#158: 0x000000008755540d-0x000000009152afee, size=73, cache=kmalloc-96 [ 38.369249] [ 38.369301] allocated by task 337 on cpu 0 at 38.368293s (0.001004s ago): [ 38.369363] test_alloc+0x29c/0x628 [ 38.369417] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 38.369462] kunit_try_run_case+0x170/0x3f0 [ 38.369502] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 38.369548] kthread+0x328/0x630 [ 38.369582] ret_from_fork+0x10/0x20 [ 38.369622] [ 38.369645] freed by task 337 on cpu 0 at 38.368449s (0.001193s ago): [ 38.369707] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 38.369751] kunit_try_run_case+0x170/0x3f0 [ 38.369792] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 38.369836] kthread+0x328/0x630 [ 38.369873] ret_from_fork+0x10/0x20 [ 38.369915] [ 38.369960] CPU: 0 UID: 0 PID: 337 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250625 #1 PREEMPT [ 38.370042] Tainted: [B]=BAD_PAGE, [N]=TEST [ 38.370071] Hardware name: linux,dummy-virt (DT) [ 38.370104] ==================================================================
[ 32.764641] ================================================================== [ 32.765067] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 32.765067] [ 32.765462] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#129): [ 32.766091] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 32.766350] kunit_try_run_case+0x1a5/0x480 [ 32.766521] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 32.766764] kthread+0x337/0x6f0 [ 32.766928] ret_from_fork+0x116/0x1d0 [ 32.767118] ret_from_fork_asm+0x1a/0x30 [ 32.767279] [ 32.767369] kfence-#129: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 32.767369] [ 32.767711] allocated by task 354 on cpu 1 at 32.764371s (0.003337s ago): [ 32.768033] test_alloc+0x364/0x10f0 [ 32.768216] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 32.768462] kunit_try_run_case+0x1a5/0x480 [ 32.768632] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 32.768890] kthread+0x337/0x6f0 [ 32.769052] ret_from_fork+0x116/0x1d0 [ 32.769242] ret_from_fork_asm+0x1a/0x30 [ 32.769377] [ 32.769440] freed by task 354 on cpu 1 at 32.764516s (0.004921s ago): [ 32.769682] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 32.769915] kunit_try_run_case+0x1a5/0x480 [ 32.770093] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 32.770639] kthread+0x337/0x6f0 [ 32.770797] ret_from_fork+0x116/0x1d0 [ 32.770985] ret_from_fork_asm+0x1a/0x30 [ 32.771201] [ 32.771326] CPU: 1 UID: 0 PID: 354 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250625 #1 PREEMPT(voluntary) [ 32.771835] Tainted: [B]=BAD_PAGE, [N]=TEST [ 32.772046] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 32.772345] ==================================================================