Date
July 17, 2025, 10:12 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 42.485095] ================================================================== [ 42.485196] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 42.485196] [ 42.485262] Corrupted memory at 0x00000000df05bd2d [ ! . . . . . . . . . . . . . . . ] (in kfence-#212): [ 42.485577] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 42.485625] kunit_try_run_case+0x170/0x3f0 [ 42.485666] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 42.485709] kthread+0x328/0x630 [ 42.485748] ret_from_fork+0x10/0x20 [ 42.485788] [ 42.485812] kfence-#212: 0x000000007dea4894-0x000000003c1a0da0, size=73, cache=kmalloc-96 [ 42.485812] [ 42.485866] allocated by task 356 on cpu 1 at 42.484836s (0.001026s ago): [ 42.485932] test_alloc+0x29c/0x628 [ 42.485970] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 42.486010] kunit_try_run_case+0x170/0x3f0 [ 42.486050] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 42.486106] kthread+0x328/0x630 [ 42.486143] ret_from_fork+0x10/0x20 [ 42.486183] [ 42.486206] freed by task 356 on cpu 1 at 42.484985s (0.001218s ago): [ 42.486272] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 42.486313] kunit_try_run_case+0x170/0x3f0 [ 42.486353] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 42.486395] kthread+0x328/0x630 [ 42.486432] ret_from_fork+0x10/0x20 [ 42.486472] [ 42.486514] CPU: 1 UID: 0 PID: 356 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250717 #1 PREEMPT [ 42.486595] Tainted: [B]=BAD_PAGE, [N]=TEST [ 42.486627] Hardware name: linux,dummy-virt (DT) [ 42.486660] ==================================================================
[ 35.702806] ================================================================== [ 35.703184] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 35.703184] [ 35.703766] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#140): [ 35.704338] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 35.705093] kunit_try_run_case+0x1a5/0x480 [ 35.705268] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 35.705577] kthread+0x337/0x6f0 [ 35.705871] ret_from_fork+0x116/0x1d0 [ 35.706047] ret_from_fork_asm+0x1a/0x30 [ 35.706445] [ 35.706554] kfence-#140: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 35.706554] [ 35.707042] allocated by task 374 on cpu 1 at 35.702550s (0.004490s ago): [ 35.707323] test_alloc+0x364/0x10f0 [ 35.707662] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 35.707953] kunit_try_run_case+0x1a5/0x480 [ 35.708127] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 35.708398] kthread+0x337/0x6f0 [ 35.708675] ret_from_fork+0x116/0x1d0 [ 35.708824] ret_from_fork_asm+0x1a/0x30 [ 35.709020] [ 35.709123] freed by task 374 on cpu 1 at 35.702684s (0.006437s ago): [ 35.709369] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 35.709896] kunit_try_run_case+0x1a5/0x480 [ 35.710069] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 35.710342] kthread+0x337/0x6f0 [ 35.710456] ret_from_fork+0x116/0x1d0 [ 35.710817] ret_from_fork_asm+0x1a/0x30 [ 35.711055] [ 35.711161] CPU: 1 UID: 0 PID: 374 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250717 #1 PREEMPT(voluntary) [ 35.711875] Tainted: [B]=BAD_PAGE, [N]=TEST [ 35.712142] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 35.712554] ==================================================================