Date
June 17, 2025, 6:35 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 27.546714] ================================================================== [ 27.546813] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 27.546813] [ 27.546880] Corrupted memory at 0x00000000a0aa9035 [ ! . . . . . . . . . . . . . . . ] (in kfence-#147): [ 27.547207] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 27.547258] kunit_try_run_case+0x170/0x3f0 [ 27.547301] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.547347] kthread+0x328/0x630 [ 27.547384] ret_from_fork+0x10/0x20 [ 27.547427] [ 27.547452] kfence-#147: 0x000000002e07f186-0x000000002601585f, size=73, cache=kmalloc-96 [ 27.547452] [ 27.547509] allocated by task 334 on cpu 0 at 27.546465s (0.001040s ago): [ 27.547571] test_alloc+0x29c/0x628 [ 27.547613] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 27.547657] kunit_try_run_case+0x170/0x3f0 [ 27.547698] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.547743] kthread+0x328/0x630 [ 27.547780] ret_from_fork+0x10/0x20 [ 27.547820] [ 27.547844] freed by task 334 on cpu 0 at 27.546614s (0.001226s ago): [ 27.547908] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 27.547963] kunit_try_run_case+0x170/0x3f0 [ 27.548003] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.548047] kthread+0x328/0x630 [ 27.548084] ret_from_fork+0x10/0x20 [ 27.548123] [ 27.548168] CPU: 0 UID: 0 PID: 334 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250617 #1 PREEMPT [ 27.548253] Tainted: [B]=BAD_PAGE, [N]=TEST [ 27.548284] Hardware name: linux,dummy-virt (DT) [ 27.548318] ==================================================================
[ 32.828149] ================================================================== [ 32.828748] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 32.828748] [ 32.829892] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#169): [ 32.831316] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 32.831802] kunit_try_run_case+0x1a5/0x480 [ 32.832329] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 32.832777] kthread+0x337/0x6f0 [ 32.833047] ret_from_fork+0x116/0x1d0 [ 32.833413] ret_from_fork_asm+0x1a/0x30 [ 32.833857] [ 32.834055] kfence-#169: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 32.834055] [ 32.834680] allocated by task 352 on cpu 1 at 32.827795s (0.006880s ago): [ 32.835104] test_alloc+0x364/0x10f0 [ 32.835411] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 32.835731] kunit_try_run_case+0x1a5/0x480 [ 32.836162] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 32.836656] kthread+0x337/0x6f0 [ 32.837050] ret_from_fork+0x116/0x1d0 [ 32.837457] ret_from_fork_asm+0x1a/0x30 [ 32.837720] [ 32.837903] freed by task 352 on cpu 1 at 32.828024s (0.009874s ago): [ 32.838357] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 32.838860] kunit_try_run_case+0x1a5/0x480 [ 32.839319] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 32.839816] kthread+0x337/0x6f0 [ 32.840256] ret_from_fork+0x116/0x1d0 [ 32.840694] ret_from_fork_asm+0x1a/0x30 [ 32.841120] [ 32.841400] CPU: 1 UID: 0 PID: 352 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250617 #1 PREEMPT(voluntary) [ 32.842062] Tainted: [B]=BAD_PAGE, [N]=TEST [ 32.842387] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 32.842933] ==================================================================