Date
July 10, 2025, 11:10 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 25.658511] ================================================================== [ 25.658603] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 25.658603] [ 25.658669] Corrupted memory at 0x0000000003922afd [ ! . . . . . . . . . . . . . . . ] (in kfence-#139): [ 25.658982] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 25.659034] kunit_try_run_case+0x170/0x3f0 [ 25.659090] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 25.659137] kthread+0x328/0x630 [ 25.659174] ret_from_fork+0x10/0x20 [ 25.659216] [ 25.659239] kfence-#139: 0x000000007c23b283-0x00000000842810ec, size=73, cache=kmalloc-96 [ 25.659239] [ 25.659295] allocated by task 325 on cpu 1 at 25.658248s (0.001043s ago): [ 25.659357] test_alloc+0x29c/0x628 [ 25.659399] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 25.659442] kunit_try_run_case+0x170/0x3f0 [ 25.659484] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 25.659530] kthread+0x328/0x630 [ 25.659566] ret_from_fork+0x10/0x20 [ 25.659607] [ 25.659631] freed by task 325 on cpu 1 at 25.658419s (0.001208s ago): [ 25.659692] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 25.659737] kunit_try_run_case+0x170/0x3f0 [ 25.659778] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 25.659824] kthread+0x328/0x630 [ 25.659860] ret_from_fork+0x10/0x20 [ 25.659901] [ 25.659942] CPU: 1 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT [ 25.660021] Tainted: [B]=BAD_PAGE, [N]=TEST [ 25.660051] Hardware name: linux,dummy-virt (DT) [ 25.660093] ==================================================================
[ 24.541874] ================================================================== [ 24.542276] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 24.542276] [ 24.542774] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#134): [ 24.543362] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 24.543585] kunit_try_run_case+0x1a5/0x480 [ 24.543831] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 24.544098] kthread+0x337/0x6f0 [ 24.544311] ret_from_fork+0x116/0x1d0 [ 24.544513] ret_from_fork_asm+0x1a/0x30 [ 24.544656] [ 24.544728] kfence-#134: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 24.544728] [ 24.545100] allocated by task 343 on cpu 1 at 24.541610s (0.003488s ago): [ 24.545532] test_alloc+0x364/0x10f0 [ 24.545740] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 24.545927] kunit_try_run_case+0x1a5/0x480 [ 24.546143] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 24.546461] kthread+0x337/0x6f0 [ 24.546640] ret_from_fork+0x116/0x1d0 [ 24.546841] ret_from_fork_asm+0x1a/0x30 [ 24.547010] [ 24.547107] freed by task 343 on cpu 1 at 24.541753s (0.005352s ago): [ 24.547463] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 24.547698] kunit_try_run_case+0x1a5/0x480 [ 24.547938] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 24.548208] kthread+0x337/0x6f0 [ 24.548382] ret_from_fork+0x116/0x1d0 [ 24.548549] ret_from_fork_asm+0x1a/0x30 [ 24.548685] [ 24.548779] CPU: 1 UID: 0 PID: 343 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT(voluntary) [ 24.549566] Tainted: [B]=BAD_PAGE, [N]=TEST [ 24.549785] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 24.550201] ==================================================================