Date
July 24, 2025, 4:41 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 41.499659] ================================================================== [ 41.499771] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 41.499771] [ 41.499838] Corrupted memory at 0x00000000f3dccbe0 [ ! . . . . . . . . . . . . . . . ] (in kfence-#177): [ 41.500157] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 41.500205] kunit_try_run_case+0x170/0x3f0 [ 41.500250] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 41.500296] kthread+0x328/0x630 [ 41.500335] ret_from_fork+0x10/0x20 [ 41.500375] [ 41.500400] kfence-#177: 0x00000000325e471f-0x000000006c6eb615, size=73, cache=kmalloc-96 [ 41.500400] [ 41.500459] allocated by task 356 on cpu 1 at 41.499421s (0.001034s ago): [ 41.500527] test_alloc+0x29c/0x628 [ 41.500565] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 41.500609] kunit_try_run_case+0x170/0x3f0 [ 41.500650] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 41.500693] kthread+0x328/0x630 [ 41.500728] ret_from_fork+0x10/0x20 [ 41.500782] [ 41.500807] freed by task 356 on cpu 1 at 41.499567s (0.001235s ago): [ 41.500870] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 41.500911] kunit_try_run_case+0x170/0x3f0 [ 41.500950] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 41.500993] kthread+0x328/0x630 [ 41.501030] ret_from_fork+0x10/0x20 [ 41.501069] [ 41.501115] CPU: 1 UID: 0 PID: 356 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7-next-20250724 #1 PREEMPT [ 41.501196] Tainted: [B]=BAD_PAGE, [N]=TEST [ 41.501225] Hardware name: linux,dummy-virt (DT) [ 41.501259] ==================================================================
[ 37.913426] ================================================================== [ 37.913935] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 37.913935] [ 37.914392] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#149): [ 37.915016] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 37.915267] kunit_try_run_case+0x1a5/0x480 [ 37.915513] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 37.915794] kthread+0x337/0x6f0 [ 37.915921] ret_from_fork+0x116/0x1d0 [ 37.916261] ret_from_fork_asm+0x1a/0x30 [ 37.916499] [ 37.916620] kfence-#149: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 37.916620] [ 37.917046] allocated by task 373 on cpu 0 at 37.913141s (0.003902s ago): [ 37.917283] test_alloc+0x364/0x10f0 [ 37.917509] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 37.917785] kunit_try_run_case+0x1a5/0x480 [ 37.917949] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 37.918275] kthread+0x337/0x6f0 [ 37.918390] ret_from_fork+0x116/0x1d0 [ 37.918514] ret_from_fork_asm+0x1a/0x30 [ 37.918754] [ 37.918848] freed by task 373 on cpu 0 at 37.913296s (0.005549s ago): [ 37.919285] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 37.919532] kunit_try_run_case+0x1a5/0x480 [ 37.919681] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 37.919908] kthread+0x337/0x6f0 [ 37.920123] ret_from_fork+0x116/0x1d0 [ 37.920316] ret_from_fork_asm+0x1a/0x30 [ 37.920541] [ 37.920673] CPU: 0 UID: 0 PID: 373 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc7-next-20250724 #1 PREEMPT(voluntary) [ 37.921283] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 37.921538] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 37.921927] ==================================================================