Date
July 9, 2025, 1:08 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 40.852367] ================================================================== [ 40.852466] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 40.852466] [ 40.852534] Corrupted memory at 0x000000000a6de091 [ ! . . . . . . . . . . . . . . . ] (in kfence-#193): [ 40.852847] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 40.852897] kunit_try_run_case+0x170/0x3f0 [ 40.852943] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.852988] kthread+0x328/0x630 [ 40.853027] ret_from_fork+0x10/0x20 [ 40.853086] [ 40.853111] kfence-#193: 0x000000002439b7a2-0x00000000b694b061, size=73, cache=kmalloc-96 [ 40.853111] [ 40.853166] allocated by task 357 on cpu 0 at 40.852114s (0.001048s ago): [ 40.853232] test_alloc+0x29c/0x628 [ 40.853273] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 40.853315] kunit_try_run_case+0x170/0x3f0 [ 40.853357] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.853401] kthread+0x328/0x630 [ 40.853439] ret_from_fork+0x10/0x20 [ 40.853479] [ 40.853502] freed by task 357 on cpu 0 at 40.852261s (0.001237s ago): [ 40.853565] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 40.853609] kunit_try_run_case+0x170/0x3f0 [ 40.853650] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.853694] kthread+0x328/0x630 [ 40.853730] ret_from_fork+0x10/0x20 [ 40.853770] [ 40.853819] CPU: 0 UID: 0 PID: 357 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5-next-20250709 #1 PREEMPT [ 40.853902] Tainted: [B]=BAD_PAGE, [N]=TEST [ 40.853932] Hardware name: linux,dummy-virt (DT) [ 40.853968] ==================================================================
[ 35.908509] ================================================================== [ 35.908964] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 35.908964] [ 35.909334] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#159): [ 35.910001] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 35.910207] kunit_try_run_case+0x1a5/0x480 [ 35.910448] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 35.910704] kthread+0x337/0x6f0 [ 35.910905] ret_from_fork+0x116/0x1d0 [ 35.911104] ret_from_fork_asm+0x1a/0x30 [ 35.911274] [ 35.911341] kfence-#159: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 35.911341] [ 35.911728] allocated by task 375 on cpu 1 at 35.908236s (0.003490s ago): [ 35.912007] test_alloc+0x364/0x10f0 [ 35.912614] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 35.912923] kunit_try_run_case+0x1a5/0x480 [ 35.913071] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 35.913289] kthread+0x337/0x6f0 [ 35.913446] ret_from_fork+0x116/0x1d0 [ 35.913620] ret_from_fork_asm+0x1a/0x30 [ 35.914123] [ 35.914230] freed by task 375 on cpu 1 at 35.908382s (0.005845s ago): [ 35.914800] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 35.915093] kunit_try_run_case+0x1a5/0x480 [ 35.915248] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 35.915501] kthread+0x337/0x6f0 [ 35.915639] ret_from_fork+0x116/0x1d0 [ 35.915840] ret_from_fork_asm+0x1a/0x30 [ 35.916068] [ 35.916176] CPU: 1 UID: 0 PID: 375 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc5-next-20250709 #1 PREEMPT(voluntary) [ 35.916623] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 35.916878] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 35.917244] ==================================================================