Date
July 18, 2025, 1:09 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 41.300417] ================================================================== [ 41.300502] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 41.300502] [ 41.300561] Corrupted memory at 0x00000000ac1a6f84 [ ! . . . . . . . . . . . . . . . ] (in kfence-#177): [ 41.300868] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 41.300914] kunit_try_run_case+0x170/0x3f0 [ 41.300956] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 41.300999] kthread+0x328/0x630 [ 41.301036] ret_from_fork+0x10/0x20 [ 41.301091] [ 41.301116] kfence-#177: 0x0000000082fb8f60-0x000000008012127b, size=73, cache=kmalloc-96 [ 41.301116] [ 41.301170] allocated by task 356 on cpu 0 at 41.300141s (0.001026s ago): [ 41.301233] test_alloc+0x29c/0x628 [ 41.301270] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 41.301312] kunit_try_run_case+0x170/0x3f0 [ 41.301350] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 41.301393] kthread+0x328/0x630 [ 41.301429] ret_from_fork+0x10/0x20 [ 41.301468] [ 41.301492] freed by task 356 on cpu 0 at 41.300330s (0.001158s ago): [ 41.301556] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 41.301597] kunit_try_run_case+0x170/0x3f0 [ 41.301636] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 41.301679] kthread+0x328/0x630 [ 41.301716] ret_from_fork+0x10/0x20 [ 41.301755] [ 41.301795] CPU: 0 UID: 0 PID: 356 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250718 #1 PREEMPT [ 41.301878] Tainted: [B]=BAD_PAGE, [N]=TEST [ 41.301907] Hardware name: linux,dummy-virt (DT) [ 41.301940] ==================================================================
[ 36.058333] ================================================================== [ 36.058741] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 36.058741] [ 36.059084] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#153): [ 36.059654] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 36.059871] kunit_try_run_case+0x1a5/0x480 [ 36.060082] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 36.060268] kthread+0x337/0x6f0 [ 36.060388] ret_from_fork+0x116/0x1d0 [ 36.060544] ret_from_fork_asm+0x1a/0x30 [ 36.060737] [ 36.060825] kfence-#153: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 36.060825] [ 36.061238] allocated by task 373 on cpu 0 at 36.058119s (0.003116s ago): [ 36.061496] test_alloc+0x364/0x10f0 [ 36.061673] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 36.061890] kunit_try_run_case+0x1a5/0x480 [ 36.062082] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 36.062299] kthread+0x337/0x6f0 [ 36.062450] ret_from_fork+0x116/0x1d0 [ 36.062614] ret_from_fork_asm+0x1a/0x30 [ 36.062782] [ 36.062871] freed by task 373 on cpu 0 at 36.058252s (0.004617s ago): [ 36.063143] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 36.063359] kunit_try_run_case+0x1a5/0x480 [ 36.063541] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 36.063758] kthread+0x337/0x6f0 [ 36.063909] ret_from_fork+0x116/0x1d0 [ 36.064047] ret_from_fork_asm+0x1a/0x30 [ 36.064241] [ 36.064353] CPU: 0 UID: 0 PID: 373 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250718 #1 PREEMPT(voluntary) [ 36.064719] Tainted: [B]=BAD_PAGE, [N]=TEST [ 36.064854] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 36.065128] ==================================================================