Date
July 25, 2025, 3:13 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 44.247695] ================================================================== [ 44.247802] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 44.247802] [ 44.247865] Corrupted memory at 0x00000000707e18ca [ ! . . . . . . . . . . . . . . . ] (in kfence-#200): [ 44.248176] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 44.248224] kunit_try_run_case+0x170/0x3f0 [ 44.248267] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 44.248310] kthread+0x328/0x630 [ 44.248350] ret_from_fork+0x10/0x20 [ 44.248391] [ 44.248417] kfence-#200: 0x00000000f659e042-0x0000000006d26912, size=73, cache=kmalloc-96 [ 44.248417] [ 44.248472] allocated by task 357 on cpu 1 at 44.247424s (0.001044s ago): [ 44.248536] test_alloc+0x29c/0x628 [ 44.248574] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 44.248615] kunit_try_run_case+0x170/0x3f0 [ 44.248672] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 44.248715] kthread+0x328/0x630 [ 44.248752] ret_from_fork+0x10/0x20 [ 44.248792] [ 44.248816] freed by task 357 on cpu 1 at 44.247577s (0.001235s ago): [ 44.248878] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 44.248919] kunit_try_run_case+0x170/0x3f0 [ 44.248958] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 44.249002] kthread+0x328/0x630 [ 44.249037] ret_from_fork+0x10/0x20 [ 44.249076] [ 44.249122] CPU: 1 UID: 0 PID: 357 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc7-next-20250725 #1 PREEMPT [ 44.249208] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 44.249239] Hardware name: linux,dummy-virt (DT) [ 44.249271] ==================================================================
[ 35.804372] ================================================================== [ 35.804756] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 35.804756] [ 35.805187] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#137): [ 35.805844] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 35.806135] kunit_try_run_case+0x1a5/0x480 [ 35.806343] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 35.806581] kthread+0x337/0x6f0 [ 35.806757] ret_from_fork+0x116/0x1d0 [ 35.806959] ret_from_fork_asm+0x1a/0x30 [ 35.807200] [ 35.807288] kfence-#137: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 35.807288] [ 35.807703] allocated by task 374 on cpu 0 at 35.804100s (0.003600s ago): [ 35.807994] test_alloc+0x364/0x10f0 [ 35.808187] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 35.808421] kunit_try_run_case+0x1a5/0x480 [ 35.808619] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 35.808809] kthread+0x337/0x6f0 [ 35.808965] ret_from_fork+0x116/0x1d0 [ 35.809164] ret_from_fork_asm+0x1a/0x30 [ 35.809374] [ 35.809532] freed by task 374 on cpu 0 at 35.804246s (0.005271s ago): [ 35.809827] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 35.810040] kunit_try_run_case+0x1a5/0x480 [ 35.810266] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 35.810533] kthread+0x337/0x6f0 [ 35.810685] ret_from_fork+0x116/0x1d0 [ 35.810880] ret_from_fork_asm+0x1a/0x30 [ 35.811047] [ 35.811189] CPU: 0 UID: 0 PID: 374 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7-next-20250725 #1 PREEMPT(voluntary) [ 35.811679] Tainted: [B]=BAD_PAGE, [N]=TEST [ 35.811884] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 35.812203] ==================================================================