Date
July 16, 2025, 3:10 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 27.431935] ================================================================== [ 27.432018] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 27.432018] [ 27.432083] Corrupted memory at 0x0000000069ec44c2 [ ! . . . . . . . . . . . . . . . ] (in kfence-#150): [ 27.432391] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 27.432443] kunit_try_run_case+0x170/0x3f0 [ 27.432487] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.432533] kthread+0x328/0x630 [ 27.432571] ret_from_fork+0x10/0x20 [ 27.432610] [ 27.432635] kfence-#150: 0x000000002d8586ae-0x000000001890e905, size=73, cache=kmalloc-96 [ 27.432635] [ 27.432690] allocated by task 325 on cpu 1 at 27.431684s (0.001003s ago): [ 27.432766] test_alloc+0x29c/0x628 [ 27.432808] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 27.432852] kunit_try_run_case+0x170/0x3f0 [ 27.432893] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.432939] kthread+0x328/0x630 [ 27.432976] ret_from_fork+0x10/0x20 [ 27.433015] [ 27.433038] freed by task 325 on cpu 1 at 27.431846s (0.001188s ago): [ 27.433102] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 27.433144] kunit_try_run_case+0x170/0x3f0 [ 27.433185] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.433228] kthread+0x328/0x630 [ 27.433263] ret_from_fork+0x10/0x20 [ 27.433302] [ 27.433346] CPU: 1 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 27.433425] Tainted: [B]=BAD_PAGE, [N]=TEST [ 27.433454] Hardware name: linux,dummy-virt (DT) [ 27.433487] ==================================================================
[ 24.868512] ================================================================== [ 24.868925] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 24.868925] [ 24.869329] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#138): [ 24.869881] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 24.870150] kunit_try_run_case+0x1a5/0x480 [ 24.870340] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 24.871136] kthread+0x337/0x6f0 [ 24.871294] ret_from_fork+0x116/0x1d0 [ 24.871729] ret_from_fork_asm+0x1a/0x30 [ 24.872026] [ 24.872121] kfence-#138: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 24.872121] [ 24.872684] allocated by task 342 on cpu 1 at 24.868275s (0.004406s ago): [ 24.873106] test_alloc+0x364/0x10f0 [ 24.873304] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 24.873698] kunit_try_run_case+0x1a5/0x480 [ 24.873922] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 24.874274] kthread+0x337/0x6f0 [ 24.874516] ret_from_fork+0x116/0x1d0 [ 24.874670] ret_from_fork_asm+0x1a/0x30 [ 24.875000] [ 24.875101] freed by task 342 on cpu 1 at 24.868399s (0.006700s ago): [ 24.875482] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 24.875856] kunit_try_run_case+0x1a5/0x480 [ 24.876137] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 24.876352] kthread+0x337/0x6f0 [ 24.876541] ret_from_fork+0x116/0x1d0 [ 24.876912] ret_from_fork_asm+0x1a/0x30 [ 24.877090] [ 24.877223] CPU: 1 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 24.877884] Tainted: [B]=BAD_PAGE, [N]=TEST [ 24.878080] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 24.878597] ==================================================================