Date
July 19, 2025, 11:12 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 26.104488] ================================================================== [ 26.104587] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 26.104587] [ 26.104648] Corrupted memory at 0x00000000d576347b [ ! . . . . . . . . . . . . . . . ] (in kfence-#147): [ 26.104980] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 26.105029] kunit_try_run_case+0x170/0x3f0 [ 26.105074] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 26.105119] kthread+0x328/0x630 [ 26.105158] ret_from_fork+0x10/0x20 [ 26.105197] [ 26.105221] kfence-#147: 0x00000000576b9f28-0x000000006254fa02, size=73, cache=kmalloc-96 [ 26.105221] [ 26.105276] allocated by task 325 on cpu 0 at 26.104271s (0.001001s ago): [ 26.105338] test_alloc+0x29c/0x628 [ 26.105381] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 26.105424] kunit_try_run_case+0x170/0x3f0 [ 26.105462] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 26.105505] kthread+0x328/0x630 [ 26.105539] ret_from_fork+0x10/0x20 [ 26.105578] [ 26.105602] freed by task 325 on cpu 0 at 26.104393s (0.001205s ago): [ 26.105667] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 26.105720] kunit_try_run_case+0x170/0x3f0 [ 26.105759] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 26.105802] kthread+0x328/0x630 [ 26.105838] ret_from_fork+0x10/0x20 [ 26.105876] [ 26.105919] CPU: 0 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 26.105997] Tainted: [B]=BAD_PAGE, [N]=TEST [ 26.106025] Hardware name: linux,dummy-virt (DT) [ 26.106060] ==================================================================
[ 24.868916] ================================================================== [ 24.869322] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 24.869322] [ 24.869685] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#140): [ 24.870299] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 24.870659] kunit_try_run_case+0x1a5/0x480 [ 24.870854] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 24.871041] kthread+0x337/0x6f0 [ 24.871245] ret_from_fork+0x116/0x1d0 [ 24.871435] ret_from_fork_asm+0x1a/0x30 [ 24.871692] [ 24.871791] kfence-#140: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 24.871791] [ 24.872173] allocated by task 343 on cpu 1 at 24.868672s (0.003498s ago): [ 24.872495] test_alloc+0x364/0x10f0 [ 24.872686] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 24.872957] kunit_try_run_case+0x1a5/0x480 [ 24.873127] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 24.873307] kthread+0x337/0x6f0 [ 24.873495] ret_from_fork+0x116/0x1d0 [ 24.873685] ret_from_fork_asm+0x1a/0x30 [ 24.873855] [ 24.873928] freed by task 343 on cpu 1 at 24.868806s (0.005119s ago): [ 24.874379] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 24.874641] kunit_try_run_case+0x1a5/0x480 [ 24.874844] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 24.875101] kthread+0x337/0x6f0 [ 24.875275] ret_from_fork+0x116/0x1d0 [ 24.875503] ret_from_fork_asm+0x1a/0x30 [ 24.875656] [ 24.875751] CPU: 1 UID: 0 PID: 343 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 24.876144] Tainted: [B]=BAD_PAGE, [N]=TEST [ 24.876367] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 24.876765] ==================================================================