Hay
Date
July 16, 2025, 12:11 p.m.

Environment
qemu-arm64
qemu-x86_64

[   42.088339] ==================================================================
[   42.088422] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   42.088422] 
[   42.088532] Out-of-bounds read at 0x000000001f729449 (105B right of kfence-#193):
[   42.088598]  test_kmalloc_aligned_oob_read+0x238/0x468
[   42.088650]  kunit_try_run_case+0x170/0x3f0
[   42.088697]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   42.088745]  kthread+0x328/0x630
[   42.088785]  ret_from_fork+0x10/0x20
[   42.088826] 
[   42.088850] kfence-#193: 0x0000000092d4af12-0x00000000970304fc, size=73, cache=kmalloc-96
[   42.088850] 
[   42.088909] allocated by task 354 on cpu 1 at 42.088113s (0.000792s ago):
[   42.088984]  test_alloc+0x29c/0x628
[   42.089027]  test_kmalloc_aligned_oob_read+0x100/0x468
[   42.089071]  kunit_try_run_case+0x170/0x3f0
[   42.089110]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   42.089156]  kthread+0x328/0x630
[   42.089192]  ret_from_fork+0x10/0x20
[   42.089234] 
[   42.089279] CPU: 1 UID: 0 PID: 354 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT 
[   42.089366] Tainted: [B]=BAD_PAGE, [N]=TEST
[   42.089397] Hardware name: linux,dummy-virt (DT)
[   42.089433] ==================================================================

[   33.290480] ==================================================================
[   33.291042] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   33.291042] 
[   33.291405] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#139):
[   33.291756]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   33.291976]  kunit_try_run_case+0x1a5/0x480
[   33.292222]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.292451]  kthread+0x337/0x6f0
[   33.292636]  ret_from_fork+0x116/0x1d0
[   33.292853]  ret_from_fork_asm+0x1a/0x30
[   33.293021] 
[   33.293113] kfence-#139: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   33.293113] 
[   33.293518] allocated by task 372 on cpu 0 at 33.290204s (0.003311s ago):
[   33.293799]  test_alloc+0x364/0x10f0
[   33.293983]  test_kmalloc_aligned_oob_read+0x105/0x560
[   33.294178]  kunit_try_run_case+0x1a5/0x480
[   33.294322]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.294536]  kthread+0x337/0x6f0
[   33.294701]  ret_from_fork+0x116/0x1d0
[   33.294884]  ret_from_fork_asm+0x1a/0x30
[   33.295064] 
[   33.295156] CPU: 0 UID: 0 PID: 372 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT(voluntary) 
[   33.295738] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.295937] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.296315] ==================================================================