Date
June 24, 2025, 12:47 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 36.753169] ================================================================== [ 36.753266] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 36.753266] [ 36.753342] Corrupted memory at 0x000000006bc5f0f0 [ ! . . . . . . . . . . . . . . . ] (in kfence-#184): [ 36.753730] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 36.753795] kunit_try_run_case+0x170/0x3f0 [ 36.753851] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 36.753909] kthread+0x328/0x630 [ 36.753961] ret_from_fork+0x10/0x20 [ 36.754015] [ 36.754045] kfence-#184: 0x000000004fa7576b-0x00000000d68da643, size=73, cache=kmalloc-96 [ 36.754045] [ 36.754110] allocated by task 327 on cpu 1 at 36.752808s (0.001297s ago): [ 36.754185] test_alloc+0x29c/0x628 [ 36.754235] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 36.754287] kunit_try_run_case+0x170/0x3f0 [ 36.754342] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 36.754416] kthread+0x328/0x630 [ 36.754468] ret_from_fork+0x10/0x20 [ 36.754520] [ 36.754548] freed by task 327 on cpu 1 at 36.753013s (0.001531s ago): [ 36.754623] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 36.754677] kunit_try_run_case+0x170/0x3f0 [ 36.754728] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 36.754784] kthread+0x328/0x630 [ 36.754832] ret_from_fork+0x10/0x20 [ 36.754882] [ 36.754930] CPU: 1 UID: 0 PID: 327 Comm: kunit_try_catch Tainted: G B N 6.15.4-rc2 #1 PREEMPT [ 36.755029] Tainted: [B]=BAD_PAGE, [N]=TEST [ 36.755066] Hardware name: linux,dummy-virt (DT) [ 36.755107] ==================================================================
[ 23.275347] ================================================================== [ 23.275751] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 23.275751] [ 23.276034] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#139): [ 23.277355] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 23.277776] kunit_try_run_case+0x1a5/0x480 [ 23.277982] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.278181] kthread+0x337/0x6f0 [ 23.278475] ret_from_fork+0x41/0x80 [ 23.278786] ret_from_fork_asm+0x1a/0x30 [ 23.279207] [ 23.279372] kfence-#139: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 23.279372] [ 23.279986] allocated by task 345 on cpu 1 at 23.274946s (0.005035s ago): [ 23.280497] test_alloc+0x364/0x10f0 [ 23.280807] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 23.281119] kunit_try_run_case+0x1a5/0x480 [ 23.281309] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.281519] kthread+0x337/0x6f0 [ 23.281679] ret_from_fork+0x41/0x80 [ 23.281969] ret_from_fork_asm+0x1a/0x30 [ 23.282322] [ 23.282498] freed by task 345 on cpu 1 at 23.275177s (0.007316s ago): [ 23.283028] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 23.283405] kunit_try_run_case+0x1a5/0x480 [ 23.283845] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.284493] kthread+0x337/0x6f0 [ 23.284813] ret_from_fork+0x41/0x80 [ 23.284994] ret_from_fork_asm+0x1a/0x30 [ 23.285174] [ 23.285326] CPU: 1 UID: 0 PID: 345 Comm: kunit_try_catch Tainted: G B N 6.15.4-rc2 #1 PREEMPT(voluntary) [ 23.286111] Tainted: [B]=BAD_PAGE, [N]=TEST [ 23.286337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 23.287048] ==================================================================