Hay
Date
July 11, 2025, 10:11 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   94.165097] ==================================================================
[   94.165237] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   94.165237] 
[   94.165402] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#219):
[   94.167074]  test_kmalloc_aligned_oob_read+0x238/0x468
[   94.172195]  kunit_try_run_case+0x170/0x3f0
[   94.176362]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   94.181830]  kthread+0x328/0x630
[   94.185042]  ret_from_fork+0x10/0x20
[   94.188601] 
[   94.190080] kfence-#219: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   94.190080] 
[   94.199715] allocated by task 407 on cpu 5 at 94.165062s (0.034651s ago):
[   94.206501]  test_alloc+0x29c/0x628
[   94.209955]  test_kmalloc_aligned_oob_read+0x100/0x468
[   94.215076]  kunit_try_run_case+0x170/0x3f0
[   94.219243]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   94.224712]  kthread+0x328/0x630
[   94.227923]  ret_from_fork+0x10/0x20
[   94.231484] 
[   94.232970] CPU: 5 UID: 0 PID: 407 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT 
[   94.244077] Tainted: [B]=BAD_PAGE, [N]=TEST
[   94.248237] Hardware name: WinLink E850-96 board (DT)
[   94.253275] ==================================================================

[   40.142288] ==================================================================
[   40.142407] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   40.142407] 
[   40.142513] Out-of-bounds read at 0x0000000085951910 (105B right of kfence-#185):
[   40.142578]  test_kmalloc_aligned_oob_read+0x238/0x468
[   40.142646]  kunit_try_run_case+0x170/0x3f0
[   40.142695]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.142738]  kthread+0x328/0x630
[   40.142780]  ret_from_fork+0x10/0x20
[   40.142821] 
[   40.142845] kfence-#185: 0x000000002a3ca38a-0x00000000dd544513, size=73, cache=kmalloc-96
[   40.142845] 
[   40.142901] allocated by task 354 on cpu 1 at 40.142012s (0.000885s ago):
[   40.142974]  test_alloc+0x29c/0x628
[   40.143016]  test_kmalloc_aligned_oob_read+0x100/0x468
[   40.143071]  kunit_try_run_case+0x170/0x3f0
[   40.143113]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.143154]  kthread+0x328/0x630
[   40.143193]  ret_from_fork+0x10/0x20
[   40.143233] 
[   40.143282] CPU: 1 UID: 0 PID: 354 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT 
[   40.143376] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.143407] Hardware name: linux,dummy-virt (DT)
[   40.143443] ==================================================================

[   34.887857] ==================================================================
[   34.888246] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   34.888246] 
[   34.888681] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#153):
[   34.889388]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   34.889615]  kunit_try_run_case+0x1a5/0x480
[   34.890072]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.890316]  kthread+0x337/0x6f0
[   34.890597]  ret_from_fork+0x116/0x1d0
[   34.890763]  ret_from_fork_asm+0x1a/0x30
[   34.890965] 
[   34.891052] kfence-#153: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   34.891052] 
[   34.891716] allocated by task 373 on cpu 1 at 34.887606s (0.004107s ago):
[   34.892010]  test_alloc+0x364/0x10f0
[   34.892330]  test_kmalloc_aligned_oob_read+0x105/0x560
[   34.892646]  kunit_try_run_case+0x1a5/0x480
[   34.892924]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.893224]  kthread+0x337/0x6f0
[   34.893356]  ret_from_fork+0x116/0x1d0
[   34.893573]  ret_from_fork_asm+0x1a/0x30
[   34.893771] 
[   34.893878] CPU: 1 UID: 0 PID: 373 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT(voluntary) 
[   34.894385] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.894871] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.895343] ==================================================================