Date
July 23, 2025, 3:10 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 40.985104] ================================================================== [ 40.985203] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 40.985203] [ 40.985268] Corrupted memory at 0x00000000039546ab [ ! . . . . . . . . . . . . . . . ] (in kfence-#181): [ 40.985580] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 40.985628] kunit_try_run_case+0x170/0x3f0 [ 40.985672] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.985715] kthread+0x328/0x630 [ 40.985755] ret_from_fork+0x10/0x20 [ 40.985795] [ 40.985820] kfence-#181: 0x000000008efb0950-0x000000002df0f7f5, size=73, cache=kmalloc-96 [ 40.985820] [ 40.985876] allocated by task 358 on cpu 1 at 40.984844s (0.001028s ago): [ 40.985953] test_alloc+0x29c/0x628 [ 40.985992] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 40.986033] kunit_try_run_case+0x170/0x3f0 [ 40.986072] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.986115] kthread+0x328/0x630 [ 40.986151] ret_from_fork+0x10/0x20 [ 40.986191] [ 40.986214] freed by task 358 on cpu 1 at 40.985008s (0.001202s ago): [ 40.986274] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 40.986315] kunit_try_run_case+0x170/0x3f0 [ 40.986359] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.986404] kthread+0x328/0x630 [ 40.986439] ret_from_fork+0x10/0x20 [ 40.986477] [ 40.986523] CPU: 1 UID: 0 PID: 358 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc7-next-20250723 #1 PREEMPT [ 40.986607] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 40.986638] Hardware name: linux,dummy-virt (DT) [ 40.986671] ==================================================================
[ 36.285011] ================================================================== [ 36.285460] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 36.285460] [ 36.285852] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#153): [ 36.286853] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 36.287315] kunit_try_run_case+0x1a5/0x480 [ 36.287534] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 36.287744] kthread+0x337/0x6f0 [ 36.287921] ret_from_fork+0x116/0x1d0 [ 36.288381] ret_from_fork_asm+0x1a/0x30 [ 36.288671] [ 36.288783] kfence-#153: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 36.288783] [ 36.289327] allocated by task 374 on cpu 1 at 36.284728s (0.004595s ago): [ 36.289736] test_alloc+0x364/0x10f0 [ 36.290079] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 36.290421] kunit_try_run_case+0x1a5/0x480 [ 36.290603] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 36.291002] kthread+0x337/0x6f0 [ 36.291156] ret_from_fork+0x116/0x1d0 [ 36.291361] ret_from_fork_asm+0x1a/0x30 [ 36.291748] [ 36.291864] freed by task 374 on cpu 1 at 36.284882s (0.006978s ago): [ 36.292208] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 36.292439] kunit_try_run_case+0x1a5/0x480 [ 36.292624] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 36.292860] kthread+0x337/0x6f0 [ 36.293019] ret_from_fork+0x116/0x1d0 [ 36.293581] ret_from_fork_asm+0x1a/0x30 [ 36.293755] [ 36.293967] CPU: 1 UID: 0 PID: 374 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7-next-20250723 #1 PREEMPT(voluntary) [ 36.294711] Tainted: [B]=BAD_PAGE, [N]=TEST [ 36.294999] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 36.295466] ==================================================================