Date
May 12, 2025, 11:48 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 27.378725] ================================================================== [ 27.378795] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468 [ 27.378795] [ 27.378895] Out-of-bounds read at 0x000000009f98511c (105B right of kfence-#163): [ 27.378958] test_kmalloc_aligned_oob_read+0x238/0x468 [ 27.379009] kunit_try_run_case+0x170/0x3f0 [ 27.379066] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.379110] kthread+0x328/0x630 [ 27.379153] ret_from_fork+0x10/0x20 [ 27.379191] [ 27.379216] kfence-#163: 0x0000000004ab0743-0x00000000bfb0b80e, size=73, cache=kmalloc-96 [ 27.379216] [ 27.379270] allocated by task 323 on cpu 1 at 27.378428s (0.000837s ago): [ 27.379341] test_alloc+0x29c/0x628 [ 27.379379] test_kmalloc_aligned_oob_read+0x100/0x468 [ 27.379421] kunit_try_run_case+0x170/0x3f0 [ 27.379457] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.379499] kthread+0x328/0x630 [ 27.379535] ret_from_fork+0x10/0x20 [ 27.379574] [ 27.379620] CPU: 1 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc6-next-20250512 #1 PREEMPT [ 27.379700] Tainted: [B]=BAD_PAGE, [N]=TEST [ 27.379731] Hardware name: linux,dummy-virt (DT) [ 27.379767] ==================================================================
[ 30.066375] ================================================================== [ 30.066918] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560 [ 30.066918] [ 30.067346] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#160): [ 30.067802] test_kmalloc_aligned_oob_read+0x27e/0x560 [ 30.068183] kunit_try_run_case+0x1a5/0x480 [ 30.068424] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 30.068639] kthread+0x337/0x6f0 [ 30.068832] ret_from_fork+0x116/0x1d0 [ 30.069001] ret_from_fork_asm+0x1a/0x30 [ 30.069178] [ 30.069294] kfence-#160: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 30.069294] [ 30.069641] allocated by task 340 on cpu 0 at 30.065743s (0.003893s ago): [ 30.070230] test_alloc+0x364/0x10f0 [ 30.070574] test_kmalloc_aligned_oob_read+0x105/0x560 [ 30.070830] kunit_try_run_case+0x1a5/0x480 [ 30.071032] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 30.071248] kthread+0x337/0x6f0 [ 30.071418] ret_from_fork+0x116/0x1d0 [ 30.071583] ret_from_fork_asm+0x1a/0x30 [ 30.071923] [ 30.072164] CPU: 0 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc6-next-20250512 #1 PREEMPT(voluntary) [ 30.073070] Tainted: [B]=BAD_PAGE, [N]=TEST [ 30.073430] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 30.074008] ==================================================================