Date
June 16, 2025, 7:07 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 30.321821] ================================================================== [ 30.321976] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 30.321976] [ 30.322067] Corrupted memory at 0x00000000793a76a8 [ ! . . . . . . . . . . . . . . . ] (in kfence-#183): [ 30.322453] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 30.322523] kunit_try_run_case+0x170/0x3f0 [ 30.322582] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 30.322637] kthread+0x328/0x630 [ 30.322688] ret_from_fork+0x10/0x20 [ 30.322737] [ 30.322772] kfence-#183: 0x00000000b0e9ffe2-0x00000000c44fc44d, size=73, cache=kmalloc-96 [ 30.322772] [ 30.322849] allocated by task 334 on cpu 1 at 30.321503s (0.001340s ago): [ 30.322937] test_alloc+0x29c/0x628 [ 30.322991] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 30.323049] kunit_try_run_case+0x170/0x3f0 [ 30.323101] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 30.323165] kthread+0x328/0x630 [ 30.323215] ret_from_fork+0x10/0x20 [ 30.323263] [ 30.323293] freed by task 334 on cpu 1 at 30.321690s (0.001598s ago): [ 30.323368] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 30.323421] kunit_try_run_case+0x170/0x3f0 [ 30.323470] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 30.323522] kthread+0x328/0x630 [ 30.323566] ret_from_fork+0x10/0x20 [ 30.323615] [ 30.323678] CPU: 1 UID: 0 PID: 334 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250616 #1 PREEMPT [ 30.323778] Tainted: [B]=BAD_PAGE, [N]=TEST [ 30.323816] Hardware name: linux,dummy-virt (DT) [ 30.323870] ==================================================================
[ 22.933024] ================================================================== [ 22.933410] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 22.933410] [ 22.933820] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#130): [ 22.934552] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 22.934833] kunit_try_run_case+0x1a5/0x480 [ 22.934991] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 22.935243] kthread+0x337/0x6f0 [ 22.935467] ret_from_fork+0x116/0x1d0 [ 22.935660] ret_from_fork_asm+0x1a/0x30 [ 22.935858] [ 22.935985] kfence-#130: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 22.935985] [ 22.936320] allocated by task 351 on cpu 0 at 22.932735s (0.003583s ago): [ 22.936726] test_alloc+0x364/0x10f0 [ 22.936867] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 22.937103] kunit_try_run_case+0x1a5/0x480 [ 22.937338] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 22.937527] kthread+0x337/0x6f0 [ 22.937745] ret_from_fork+0x116/0x1d0 [ 22.937938] ret_from_fork_asm+0x1a/0x30 [ 22.938108] [ 22.938174] freed by task 351 on cpu 0 at 22.932886s (0.005286s ago): [ 22.938540] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 22.938767] kunit_try_run_case+0x1a5/0x480 [ 22.938972] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 22.939239] kthread+0x337/0x6f0 [ 22.939379] ret_from_fork+0x116/0x1d0 [ 22.939615] ret_from_fork_asm+0x1a/0x30 [ 22.939819] [ 22.939964] CPU: 0 UID: 0 PID: 351 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250616 #1 PREEMPT(voluntary) [ 22.940345] Tainted: [B]=BAD_PAGE, [N]=TEST [ 22.940752] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 22.941191] ==================================================================