Date
July 22, 2025, 5:13 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 40.917502] ================================================================== [ 40.917594] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 40.917594] [ 40.917658] Corrupted memory at 0x000000005057b64a [ ! . . . . . . . . . . . . . . . ] (in kfence-#182): [ 40.917980] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 40.918029] kunit_try_run_case+0x170/0x3f0 [ 40.918073] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.918115] kthread+0x328/0x630 [ 40.918154] ret_from_fork+0x10/0x20 [ 40.918200] [ 40.918225] kfence-#182: 0x000000003fc5fb02-0x000000007dccb406, size=73, cache=kmalloc-96 [ 40.918225] [ 40.918281] allocated by task 356 on cpu 0 at 40.917258s (0.001018s ago): [ 40.918345] test_alloc+0x29c/0x628 [ 40.918384] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 40.918425] kunit_try_run_case+0x170/0x3f0 [ 40.918465] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.918508] kthread+0x328/0x630 [ 40.918544] ret_from_fork+0x10/0x20 [ 40.918585] [ 40.918608] freed by task 356 on cpu 0 at 40.917404s (0.001200s ago): [ 40.918668] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 40.918710] kunit_try_run_case+0x170/0x3f0 [ 40.918750] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.918793] kthread+0x328/0x630 [ 40.918839] ret_from_fork+0x10/0x20 [ 40.918879] [ 40.918927] CPU: 0 UID: 0 PID: 356 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc7-next-20250722 #1 PREEMPT [ 40.919013] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 40.919044] Hardware name: linux,dummy-virt (DT) [ 40.919079] ==================================================================
[ 38.148025] ================================================================== [ 38.148454] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 38.148454] [ 38.148846] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#166): [ 38.149480] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 38.149731] kunit_try_run_case+0x1a5/0x480 [ 38.149962] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 38.150222] kthread+0x337/0x6f0 [ 38.150562] ret_from_fork+0x116/0x1d0 [ 38.150720] ret_from_fork_asm+0x1a/0x30 [ 38.150943] [ 38.151043] kfence-#166: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 38.151043] [ 38.151875] allocated by task 373 on cpu 0 at 38.147747s (0.004124s ago): [ 38.152201] test_alloc+0x364/0x10f0 [ 38.152598] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 38.152803] kunit_try_run_case+0x1a5/0x480 [ 38.153105] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 38.153472] kthread+0x337/0x6f0 [ 38.153618] ret_from_fork+0x116/0x1d0 [ 38.153818] ret_from_fork_asm+0x1a/0x30 [ 38.154203] [ 38.154302] freed by task 373 on cpu 0 at 38.147905s (0.006395s ago): [ 38.154596] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 38.154828] kunit_try_run_case+0x1a5/0x480 [ 38.155038] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 38.155516] kthread+0x337/0x6f0 [ 38.155742] ret_from_fork+0x116/0x1d0 [ 38.155930] ret_from_fork_asm+0x1a/0x30 [ 38.156290] [ 38.156407] CPU: 0 UID: 0 PID: 373 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7-next-20250722 #1 PREEMPT(voluntary) [ 38.157049] Tainted: [B]=BAD_PAGE, [N]=TEST [ 38.157334] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 38.157707] ==================================================================