Date
July 10, 2025, 9:07 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 40.059475] ================================================================== [ 40.059588] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 40.059588] [ 40.059654] Corrupted memory at 0x00000000f514dc38 [ ! . . . . . . . . . . . . . . . ] (in kfence-#182): [ 40.059971] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 40.060022] kunit_try_run_case+0x170/0x3f0 [ 40.060069] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.060115] kthread+0x328/0x630 [ 40.060167] ret_from_fork+0x10/0x20 [ 40.060208] [ 40.060233] kfence-#182: 0x00000000933e4bdd-0x0000000086f2a264, size=73, cache=kmalloc-96 [ 40.060233] [ 40.060289] allocated by task 356 on cpu 0 at 40.059198s (0.001088s ago): [ 40.060356] test_alloc+0x29c/0x628 [ 40.060396] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 40.060441] kunit_try_run_case+0x170/0x3f0 [ 40.060481] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.060527] kthread+0x328/0x630 [ 40.060562] ret_from_fork+0x10/0x20 [ 40.060601] [ 40.060625] freed by task 356 on cpu 0 at 40.059372s (0.001249s ago): [ 40.060690] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 40.060734] kunit_try_run_case+0x170/0x3f0 [ 40.060775] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.060821] kthread+0x328/0x630 [ 40.060857] ret_from_fork+0x10/0x20 [ 40.060896] [ 40.060942] CPU: 0 UID: 0 PID: 356 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5-next-20250710 #1 PREEMPT [ 40.061025] Tainted: [B]=BAD_PAGE, [N]=TEST [ 40.061057] Hardware name: linux,dummy-virt (DT) [ 40.061091] ==================================================================
[ 37.732378] ================================================================== [ 37.732792] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 37.732792] [ 37.733247] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#167): [ 37.733829] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 37.734104] kunit_try_run_case+0x1a5/0x480 [ 37.734315] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 37.734731] kthread+0x337/0x6f0 [ 37.734903] ret_from_fork+0x116/0x1d0 [ 37.735054] ret_from_fork_asm+0x1a/0x30 [ 37.735190] [ 37.735265] kfence-#167: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 37.735265] [ 37.735775] allocated by task 373 on cpu 0 at 37.732107s (0.003664s ago): [ 37.736113] test_alloc+0x364/0x10f0 [ 37.736301] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 37.736589] kunit_try_run_case+0x1a5/0x480 [ 37.736740] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 37.736910] kthread+0x337/0x6f0 [ 37.737074] ret_from_fork+0x116/0x1d0 [ 37.737281] ret_from_fork_asm+0x1a/0x30 [ 37.737503] [ 37.737598] freed by task 373 on cpu 0 at 37.732250s (0.005346s ago): [ 37.737923] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 37.738141] kunit_try_run_case+0x1a5/0x480 [ 37.738308] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 37.738592] kthread+0x337/0x6f0 [ 37.738771] ret_from_fork+0x116/0x1d0 [ 37.738912] ret_from_fork_asm+0x1a/0x30 [ 37.739044] [ 37.739153] CPU: 0 UID: 0 PID: 373 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5-next-20250710 #1 PREEMPT(voluntary) [ 37.739788] Tainted: [B]=BAD_PAGE, [N]=TEST [ 37.740181] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 37.740474] ==================================================================