Hay
Date
July 18, 2025, 1:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   41.196406] ==================================================================
[   41.196502] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   41.196502] 
[   41.196598] Out-of-bounds read at 0x000000007685b912 (105B right of kfence-#176):
[   41.196659]  test_kmalloc_aligned_oob_read+0x238/0x468
[   41.196707]  kunit_try_run_case+0x170/0x3f0
[   41.196751]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.196794]  kthread+0x328/0x630
[   41.196832]  ret_from_fork+0x10/0x20
[   41.196874] 
[   41.196899] kfence-#176: 0x000000002d0fd72d-0x0000000069fbfcc2, size=73, cache=kmalloc-96
[   41.196899] 
[   41.196953] allocated by task 354 on cpu 0 at 41.196140s (0.000809s ago):
[   41.197023]  test_alloc+0x29c/0x628
[   41.197062]  test_kmalloc_aligned_oob_read+0x100/0x468
[   41.197116]  kunit_try_run_case+0x170/0x3f0
[   41.197156]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.197199]  kthread+0x328/0x630
[   41.197236]  ret_from_fork+0x10/0x20
[   41.197274] 
[   41.197319] CPU: 0 UID: 0 PID: 354 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250718 #1 PREEMPT 
[   41.197401] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.197430] Hardware name: linux,dummy-virt (DT)
[   41.197465] ==================================================================


[   35.746319] ==================================================================
[   35.746709] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   35.746709] 
[   35.747127] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#150):
[   35.747475]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   35.747684]  kunit_try_run_case+0x1a5/0x480
[   35.747893]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.748146]  kthread+0x337/0x6f0
[   35.748301]  ret_from_fork+0x116/0x1d0
[   35.748989]  ret_from_fork_asm+0x1a/0x30
[   35.749360] 
[   35.749468] kfence-#150: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   35.749468] 
[   35.749982] allocated by task 371 on cpu 1 at 35.746094s (0.003885s ago):
[   35.750289]  test_alloc+0x364/0x10f0
[   35.750465]  test_kmalloc_aligned_oob_read+0x105/0x560
[   35.750683]  kunit_try_run_case+0x1a5/0x480
[   35.750879]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.751105]  kthread+0x337/0x6f0
[   35.751249]  ret_from_fork+0x116/0x1d0
[   35.751411]  ret_from_fork_asm+0x1a/0x30
[   35.752062] 
[   35.752174] CPU: 1 UID: 0 PID: 371 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250718 #1 PREEMPT(voluntary) 
[   35.752903] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.753059] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   35.753579] ==================================================================