Date
July 16, 2025, 12:11 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 42.296439] ================================================================== [ 42.296551] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 42.296551] [ 42.296619] Corrupted memory at 0x00000000857bedcb [ ! . . . . . . . . . . . . . . . ] (in kfence-#195): [ 42.296935] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 42.296989] kunit_try_run_case+0x170/0x3f0 [ 42.297034] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 42.297079] kthread+0x328/0x630 [ 42.297118] ret_from_fork+0x10/0x20 [ 42.297157] [ 42.297183] kfence-#195: 0x00000000360065ee-0x000000002c567863, size=73, cache=kmalloc-96 [ 42.297183] [ 42.297243] allocated by task 356 on cpu 1 at 42.296203s (0.001035s ago): [ 42.297310] test_alloc+0x29c/0x628 [ 42.297352] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 42.297400] kunit_try_run_case+0x170/0x3f0 [ 42.297462] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 42.297519] kthread+0x328/0x630 [ 42.297557] ret_from_fork+0x10/0x20 [ 42.297598] [ 42.297622] freed by task 356 on cpu 1 at 42.296345s (0.001273s ago): [ 42.297690] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 42.297738] kunit_try_run_case+0x170/0x3f0 [ 42.297778] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 42.297824] kthread+0x328/0x630 [ 42.297861] ret_from_fork+0x10/0x20 [ 42.297901] [ 42.297944] CPU: 1 UID: 0 PID: 356 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250716 #1 PREEMPT [ 42.298032] Tainted: [B]=BAD_PAGE, [N]=TEST [ 42.298063] Hardware name: linux,dummy-virt (DT) [ 42.298096] ==================================================================
[ 33.706451] ================================================================== [ 33.706994] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 33.706994] [ 33.707353] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#143): [ 33.707965] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 33.708228] kunit_try_run_case+0x1a5/0x480 [ 33.708385] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.708656] kthread+0x337/0x6f0 [ 33.708904] ret_from_fork+0x116/0x1d0 [ 33.709057] ret_from_fork_asm+0x1a/0x30 [ 33.709196] [ 33.709264] kfence-#143: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 33.709264] [ 33.709710] allocated by task 374 on cpu 1 at 33.706161s (0.003547s ago): [ 33.710019] test_alloc+0x364/0x10f0 [ 33.710143] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 33.710410] kunit_try_run_case+0x1a5/0x480 [ 33.710635] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.710902] kthread+0x337/0x6f0 [ 33.711083] ret_from_fork+0x116/0x1d0 [ 33.711248] ret_from_fork_asm+0x1a/0x30 [ 33.711420] [ 33.711501] freed by task 374 on cpu 1 at 33.706305s (0.005194s ago): [ 33.711786] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 33.712010] kunit_try_run_case+0x1a5/0x480 [ 33.712154] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 33.712325] kthread+0x337/0x6f0 [ 33.712483] ret_from_fork+0x116/0x1d0 [ 33.712666] ret_from_fork_asm+0x1a/0x30 [ 33.712859] [ 33.712991] CPU: 1 UID: 0 PID: 374 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250716 #1 PREEMPT(voluntary) [ 33.713455] Tainted: [B]=BAD_PAGE, [N]=TEST [ 33.713589] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 33.714338] ==================================================================