Date
July 3, 2025, 10:10 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 43.684987] ================================================================== [ 43.685088] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 43.685088] [ 43.685154] Corrupted memory at 0x00000000f5f033ec [ ! . . . . . . . . . . . . . . . ] (in kfence-#210): [ 43.685464] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 43.685519] kunit_try_run_case+0x170/0x3f0 [ 43.685563] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 43.685611] kthread+0x328/0x630 [ 43.685650] ret_from_fork+0x10/0x20 [ 43.685690] [ 43.685714] kfence-#210: 0x0000000023598719-0x00000000eea394ba, size=73, cache=kmalloc-96 [ 43.685714] [ 43.685770] allocated by task 357 on cpu 1 at 43.684721s (0.001046s ago): [ 43.685848] test_alloc+0x29c/0x628 [ 43.685891] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 43.685938] kunit_try_run_case+0x170/0x3f0 [ 43.685986] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 43.686031] kthread+0x328/0x630 [ 43.686068] ret_from_fork+0x10/0x20 [ 43.686108] [ 43.686133] freed by task 357 on cpu 1 at 43.684885s (0.001244s ago): [ 43.686199] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 43.686246] kunit_try_run_case+0x170/0x3f0 [ 43.686289] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 43.686336] kthread+0x328/0x630 [ 43.686372] ret_from_fork+0x10/0x20 [ 43.686411] [ 43.686459] CPU: 1 UID: 0 PID: 357 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250703 #1 PREEMPT [ 43.686542] Tainted: [B]=BAD_PAGE, [N]=TEST [ 43.686572] Hardware name: linux,dummy-virt (DT) [ 43.686606] ==================================================================
[ 34.457752] ================================================================== [ 34.458286] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 34.458286] [ 34.458680] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#150): [ 34.459320] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 34.459558] kunit_try_run_case+0x1a5/0x480 [ 34.459760] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 34.459975] kthread+0x337/0x6f0 [ 34.460143] ret_from_fork+0x116/0x1d0 [ 34.460357] ret_from_fork_asm+0x1a/0x30 [ 34.460517] [ 34.460611] kfence-#150: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 34.460611] [ 34.460999] allocated by task 374 on cpu 0 at 34.457482s (0.003515s ago): [ 34.461300] test_alloc+0x364/0x10f0 [ 34.461495] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 34.461719] kunit_try_run_case+0x1a5/0x480 [ 34.461896] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 34.462142] kthread+0x337/0x6f0 [ 34.462268] ret_from_fork+0x116/0x1d0 [ 34.462395] ret_from_fork_asm+0x1a/0x30 [ 34.462540] [ 34.462649] freed by task 374 on cpu 0 at 34.457626s (0.005021s ago): [ 34.462946] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 34.463212] kunit_try_run_case+0x1a5/0x480 [ 34.463365] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 34.463593] kthread+0x337/0x6f0 [ 34.463758] ret_from_fork+0x116/0x1d0 [ 34.463941] ret_from_fork_asm+0x1a/0x30 [ 34.464081] [ 34.464176] CPU: 0 UID: 0 PID: 374 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4-next-20250703 #1 PREEMPT(voluntary) [ 34.464925] Tainted: [B]=BAD_PAGE, [N]=TEST [ 34.465122] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 34.465431] ==================================================================