Date
July 2, 2025, 11:10 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 40.716205] ================================================================== [ 40.716289] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 40.716289] [ 40.716351] Corrupted memory at 0x000000008c5b98f3 [ ! . . . . . . . . . . . . . . . ] (in kfence-#178): [ 40.716672] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 40.716722] kunit_try_run_case+0x170/0x3f0 [ 40.716767] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.716812] kthread+0x328/0x630 [ 40.716851] ret_from_fork+0x10/0x20 [ 40.716891] [ 40.716917] kfence-#178: 0x0000000013cb0c2b-0x00000000141f9852, size=73, cache=kmalloc-96 [ 40.716917] [ 40.716990] allocated by task 358 on cpu 0 at 40.715978s (0.001008s ago): [ 40.717057] test_alloc+0x29c/0x628 [ 40.717099] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 40.717144] kunit_try_run_case+0x170/0x3f0 [ 40.717186] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.717233] kthread+0x328/0x630 [ 40.717270] ret_from_fork+0x10/0x20 [ 40.717312] [ 40.717336] freed by task 358 on cpu 0 at 40.716120s (0.001212s ago): [ 40.717401] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 40.717446] kunit_try_run_case+0x170/0x3f0 [ 40.717488] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 40.717532] kthread+0x328/0x630 [ 40.717570] ret_from_fork+0x10/0x20 [ 40.717611] [ 40.717652] CPU: 0 UID: 0 PID: 358 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250702 #1 PREEMPT [ 40.717736] Tainted: [B]=BAD_PAGE, [N]=TEST [ 40.717767] Hardware name: linux,dummy-virt (DT) [ 40.717801] ==================================================================
[ 44.164545] ================================================================== [ 44.164642] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 44.164642] [ 44.164708] Corrupted memory at 0x00000000f1fd5dd6 [ ! . . . . . . . . . . . . . . . ] (in kfence-#196): [ 44.165029] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 44.165080] kunit_try_run_case+0x170/0x3f0 [ 44.165126] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 44.165188] kthread+0x328/0x630 [ 44.165227] ret_from_fork+0x10/0x20 [ 44.165269] [ 44.165296] kfence-#196: 0x0000000055defe1e-0x000000006634942d, size=73, cache=kmalloc-96 [ 44.165296] [ 44.165351] allocated by task 356 on cpu 0 at 44.164307s (0.001040s ago): [ 44.165416] test_alloc+0x29c/0x628 [ 44.165458] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 44.165510] kunit_try_run_case+0x170/0x3f0 [ 44.165551] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 44.165596] kthread+0x328/0x630 [ 44.165634] ret_from_fork+0x10/0x20 [ 44.165674] [ 44.165699] freed by task 356 on cpu 0 at 44.164448s (0.001246s ago): [ 44.165763] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 44.165808] kunit_try_run_case+0x170/0x3f0 [ 44.165849] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 44.165894] kthread+0x328/0x630 [ 44.165931] ret_from_fork+0x10/0x20 [ 44.165972] [ 44.166017] CPU: 0 UID: 0 PID: 356 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250702 #1 PREEMPT [ 44.166100] Tainted: [B]=BAD_PAGE, [N]=TEST [ 44.166131] Hardware name: linux,dummy-virt (DT) [ 44.166176] ==================================================================
[ 34.458152] ================================================================== [ 34.458614] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 34.458614] [ 34.458977] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#152): [ 34.459615] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 34.459814] kunit_try_run_case+0x1a5/0x480 [ 34.460163] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 34.460371] kthread+0x337/0x6f0 [ 34.460511] ret_from_fork+0x116/0x1d0 [ 34.460799] ret_from_fork_asm+0x1a/0x30 [ 34.460939] [ 34.461009] kfence-#152: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 34.461009] [ 34.461448] allocated by task 373 on cpu 1 at 34.457898s (0.003547s ago): [ 34.461830] test_alloc+0x364/0x10f0 [ 34.462017] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 34.462227] kunit_try_run_case+0x1a5/0x480 [ 34.462425] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 34.462641] kthread+0x337/0x6f0 [ 34.462803] ret_from_fork+0x116/0x1d0 [ 34.462961] ret_from_fork_asm+0x1a/0x30 [ 34.463133] [ 34.463217] freed by task 373 on cpu 1 at 34.458036s (0.005179s ago): [ 34.463468] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 34.463634] kunit_try_run_case+0x1a5/0x480 [ 34.463799] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 34.464092] kthread+0x337/0x6f0 [ 34.464257] ret_from_fork+0x116/0x1d0 [ 34.464402] ret_from_fork_asm+0x1a/0x30 [ 34.464690] [ 34.464808] CPU: 1 UID: 0 PID: 373 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250702 #1 PREEMPT(voluntary) [ 34.465259] Tainted: [B]=BAD_PAGE, [N]=TEST [ 34.465417] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 34.465771] ==================================================================
[ 33.795860] ================================================================== [ 33.796324] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 33.796324] [ 33.796755] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#145): [ 33.797354] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 33.797530] kunit_try_run_case+0x1a5/0x480 [ 33.797947] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.798209] kthread+0x337/0x6f0 [ 33.798400] ret_from_fork+0x116/0x1d0 [ 33.798559] ret_from_fork_asm+0x1a/0x30 [ 33.798692] [ 33.798762] kfence-#145: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 33.798762] [ 33.799471] allocated by task 374 on cpu 1 at 33.795572s (0.003897s ago): [ 33.799770] test_alloc+0x364/0x10f0 [ 33.799963] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 33.800207] kunit_try_run_case+0x1a5/0x480 [ 33.800379] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.800572] kthread+0x337/0x6f0 [ 33.800753] ret_from_fork+0x116/0x1d0 [ 33.800962] ret_from_fork_asm+0x1a/0x30 [ 33.801157] [ 33.801225] freed by task 374 on cpu 1 at 33.795733s (0.005489s ago): [ 33.801430] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 33.801649] kunit_try_run_case+0x1a5/0x480 [ 33.801856] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.802226] kthread+0x337/0x6f0 [ 33.802351] ret_from_fork+0x116/0x1d0 [ 33.802473] ret_from_fork_asm+0x1a/0x30 [ 33.802602] [ 33.802695] CPU: 1 UID: 0 PID: 374 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250702 #1 PREEMPT(voluntary) [ 33.803364] Tainted: [B]=BAD_PAGE, [N]=TEST [ 33.803568] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 33.803995] ==================================================================