Hay
Date
July 15, 2025, 11:35 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   92.796855] ==================================================================
[   92.796996] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   92.796996] 
[   92.797154] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#207):
[   92.798834]  test_kmalloc_aligned_oob_read+0x238/0x468
[   92.803953]  kunit_try_run_case+0x170/0x3f0
[   92.808120]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   92.813589]  kthread+0x328/0x630
[   92.816801]  ret_from_fork+0x10/0x20
[   92.820359] 
[   92.821839] kfence-#207: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   92.821839] 
[   92.831476] allocated by task 404 on cpu 3 at 92.796818s (0.034654s ago):
[   92.838263]  test_alloc+0x29c/0x628
[   92.841713]  test_kmalloc_aligned_oob_read+0x100/0x468
[   92.846835]  kunit_try_run_case+0x170/0x3f0
[   92.851002]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   92.856470]  kthread+0x328/0x630
[   92.859682]  ret_from_fork+0x10/0x20
[   92.863242] 
[   92.864728] CPU: 3 UID: 0 PID: 404 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT 
[   92.875840] Tainted: [B]=BAD_PAGE, [N]=TEST
[   92.879995] Hardware name: WinLink E850-96 board (DT)
[   92.885032] ==================================================================

[   42.170299] ==================================================================
[   42.170399] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   42.170399] 
[   42.170519] Out-of-bounds read at 0x0000000097e63288 (105B right of kfence-#197):
[   42.170580]  test_kmalloc_aligned_oob_read+0x238/0x468
[   42.170630]  kunit_try_run_case+0x170/0x3f0
[   42.170673]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   42.170718]  kthread+0x328/0x630
[   42.170758]  ret_from_fork+0x10/0x20
[   42.170800] 
[   42.170824] kfence-#197: 0x00000000078d9283-0x0000000047d657d2, size=73, cache=kmalloc-96
[   42.170824] 
[   42.170876] allocated by task 355 on cpu 0 at 42.170043s (0.000828s ago):
[   42.170946]  test_alloc+0x29c/0x628
[   42.170987]  test_kmalloc_aligned_oob_read+0x100/0x468
[   42.171030]  kunit_try_run_case+0x170/0x3f0
[   42.171069]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   42.171116]  kthread+0x328/0x630
[   42.171153]  ret_from_fork+0x10/0x20
[   42.171191] 
[   42.171239] CPU: 0 UID: 0 PID: 355 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT 
[   42.171318] Tainted: [B]=BAD_PAGE, [N]=TEST
[   42.171346] Hardware name: linux,dummy-virt (DT)
[   42.171380] ==================================================================

[   35.390107] ==================================================================
[   35.390524] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   35.390524] 
[   35.391057] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#155):
[   35.391953]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   35.392440]  kunit_try_run_case+0x1a5/0x480
[   35.392815]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.393190]  kthread+0x337/0x6f0
[   35.393383]  ret_from_fork+0x116/0x1d0
[   35.393575]  ret_from_fork_asm+0x1a/0x30
[   35.393977] 
[   35.394164] kfence-#155: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   35.394164] 
[   35.394662] allocated by task 371 on cpu 0 at 35.389860s (0.004798s ago):
[   35.395102]  test_alloc+0x364/0x10f0
[   35.395430]  test_kmalloc_aligned_oob_read+0x105/0x560
[   35.395799]  kunit_try_run_case+0x1a5/0x480
[   35.396103]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.396378]  kthread+0x337/0x6f0
[   35.396690]  ret_from_fork+0x116/0x1d0
[   35.396969]  ret_from_fork_asm+0x1a/0x30
[   35.397253] 
[   35.397401] CPU: 0 UID: 0 PID: 371 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250715 #1 PREEMPT(voluntary) 
[   35.398032] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.398316] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   35.398800] ==================================================================