Date
July 1, 2025, 12:10 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 28.811637] ================================================================== [ 28.811759] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 28.811759] [ 28.811834] Corrupted memory at 0x00000000bbc9798b [ ! . . . . . . . . . . . . . . . ] (in kfence-#159): [ 28.812156] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 28.812206] kunit_try_run_case+0x170/0x3f0 [ 28.812250] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 28.812294] kthread+0x328/0x630 [ 28.812331] ret_from_fork+0x10/0x20 [ 28.812373] [ 28.812397] kfence-#159: 0x00000000209b5705-0x000000008d4e2900, size=73, cache=kmalloc-96 [ 28.812397] [ 28.812467] allocated by task 325 on cpu 0 at 28.811371s (0.001092s ago): [ 28.812531] test_alloc+0x29c/0x628 [ 28.812572] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 28.812614] kunit_try_run_case+0x170/0x3f0 [ 28.812654] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 28.812698] kthread+0x328/0x630 [ 28.812733] ret_from_fork+0x10/0x20 [ 28.812773] [ 28.812796] freed by task 325 on cpu 0 at 28.811545s (0.001247s ago): [ 28.812857] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 28.812901] kunit_try_run_case+0x170/0x3f0 [ 28.812940] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 28.812983] kthread+0x328/0x630 [ 28.813018] ret_from_fork+0x10/0x20 [ 28.813058] [ 28.813103] CPU: 0 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 28.813183] Tainted: [B]=BAD_PAGE, [N]=TEST [ 28.813212] Hardware name: linux,dummy-virt (DT) [ 28.813247] ==================================================================
[ 22.961663] ================================================================== [ 22.962172] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 22.962172] [ 22.962548] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#130): [ 22.963116] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 22.963344] kunit_try_run_case+0x1a5/0x480 [ 22.963602] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 22.963849] kthread+0x337/0x6f0 [ 22.963979] ret_from_fork+0x116/0x1d0 [ 22.964166] ret_from_fork_asm+0x1a/0x30 [ 22.964367] [ 22.964467] kfence-#130: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 22.964467] [ 22.964836] allocated by task 342 on cpu 0 at 22.961404s (0.003430s ago): [ 22.965155] test_alloc+0x364/0x10f0 [ 22.965359] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 22.965577] kunit_try_run_case+0x1a5/0x480 [ 22.965788] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 22.965992] kthread+0x337/0x6f0 [ 22.966176] ret_from_fork+0x116/0x1d0 [ 22.966334] ret_from_fork_asm+0x1a/0x30 [ 22.966473] [ 22.966545] freed by task 342 on cpu 0 at 22.961544s (0.004999s ago): [ 22.966821] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 22.967072] kunit_try_run_case+0x1a5/0x480 [ 22.967280] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 22.967454] kthread+0x337/0x6f0 [ 22.967574] ret_from_fork+0x116/0x1d0 [ 22.967777] ret_from_fork_asm+0x1a/0x30 [ 22.967978] [ 22.968109] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 22.968650] Tainted: [B]=BAD_PAGE, [N]=TEST [ 22.968805] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 22.969254] ==================================================================