Date
July 6, 2025, 11:09 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 27.502093] ================================================================== [ 27.502182] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468 [ 27.502182] [ 27.502296] Out-of-bounds read at 0x0000000041fcad6b (105B right of kfence-#137): [ 27.502355] test_kmalloc_aligned_oob_read+0x238/0x468 [ 27.502404] kunit_try_run_case+0x170/0x3f0 [ 27.502458] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.502502] kthread+0x328/0x630 [ 27.502541] ret_from_fork+0x10/0x20 [ 27.502582] [ 27.502607] kfence-#137: 0x000000005fea243b-0x00000000b6ce86a5, size=73, cache=kmalloc-96 [ 27.502607] [ 27.502659] allocated by task 323 on cpu 1 at 27.501867s (0.000788s ago): [ 27.502730] test_alloc+0x29c/0x628 [ 27.502771] test_kmalloc_aligned_oob_read+0x100/0x468 [ 27.502816] kunit_try_run_case+0x170/0x3f0 [ 27.502856] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.502900] kthread+0x328/0x630 [ 27.502936] ret_from_fork+0x10/0x20 [ 27.502976] [ 27.503023] CPU: 1 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 27.503101] Tainted: [B]=BAD_PAGE, [N]=TEST [ 27.503131] Hardware name: linux,dummy-virt (DT) [ 27.503167] ==================================================================
[ 23.896998] ================================================================== [ 23.897404] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560 [ 23.897404] [ 23.897922] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#137): [ 23.898317] test_kmalloc_aligned_oob_read+0x27e/0x560 [ 23.898625] kunit_try_run_case+0x1a5/0x480 [ 23.898829] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.899113] kthread+0x337/0x6f0 [ 23.899277] ret_from_fork+0x116/0x1d0 [ 23.899476] ret_from_fork_asm+0x1a/0x30 [ 23.899667] [ 23.899775] kfence-#137: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 23.899775] [ 23.900168] allocated by task 340 on cpu 0 at 23.896766s (0.003399s ago): [ 23.900518] test_alloc+0x364/0x10f0 [ 23.900690] test_kmalloc_aligned_oob_read+0x105/0x560 [ 23.900954] kunit_try_run_case+0x1a5/0x480 [ 23.901174] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.901460] kthread+0x337/0x6f0 [ 23.901586] ret_from_fork+0x116/0x1d0 [ 23.901739] ret_from_fork_asm+0x1a/0x30 [ 23.901974] [ 23.902103] CPU: 0 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 23.902587] Tainted: [B]=BAD_PAGE, [N]=TEST [ 23.902794] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 23.903212] ==================================================================