Hay
Date
July 14, 2025, 10:38 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   91.425772] ==================================================================
[   91.425904] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   91.425904] 
[   91.426073] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#204):
[   91.431373]  test_kmalloc_aligned_oob_read+0x238/0x468
[   91.436491]  kunit_try_run_case+0x170/0x3f0
[   91.440658]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   91.446126]  kthread+0x328/0x630
[   91.449338]  ret_from_fork+0x10/0x20
[   91.452897] 
[   91.454375] kfence-#204: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   91.454375] 
[   91.464010] allocated by task 407 on cpu 0 at 91.425736s (0.038272s ago):
[   91.470799]  test_alloc+0x29c/0x628
[   91.474251]  test_kmalloc_aligned_oob_read+0x100/0x468
[   91.479372]  kunit_try_run_case+0x170/0x3f0
[   91.483539]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   91.489007]  kthread+0x328/0x630
[   91.492219]  ret_from_fork+0x10/0x20
[   91.495780] 
[   91.497265] CPU: 0 UID: 0 PID: 407 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250714 #1 PREEMPT 
[   91.508373] Tainted: [B]=BAD_PAGE, [N]=TEST
[   91.512533] Hardware name: WinLink E850-96 board (DT)
[   91.517569] ==================================================================

[   39.612928] ==================================================================
[   39.613038] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   39.613038] 
[   39.613159] Out-of-bounds read at 0x000000003f5cf870 (105B right of kfence-#180):
[   39.613220]  test_kmalloc_aligned_oob_read+0x238/0x468
[   39.613270]  kunit_try_run_case+0x170/0x3f0
[   39.613317]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.613357]  kthread+0x328/0x630
[   39.613396]  ret_from_fork+0x10/0x20
[   39.613434] 
[   39.613460] kfence-#180: 0x00000000cd52b3f1-0x00000000af8cae3d, size=73, cache=kmalloc-96
[   39.613460] 
[   39.613514] allocated by task 354 on cpu 0 at 39.612676s (0.000834s ago):
[   39.613585]  test_alloc+0x29c/0x628
[   39.613630]  test_kmalloc_aligned_oob_read+0x100/0x468
[   39.613673]  kunit_try_run_case+0x170/0x3f0
[   39.613714]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.613753]  kthread+0x328/0x630
[   39.613789]  ret_from_fork+0x10/0x20
[   39.613828] 
[   39.613876] CPU: 0 UID: 0 PID: 354 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250714 #1 PREEMPT 
[   39.613957] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.613985] Hardware name: linux,dummy-virt (DT)
[   39.614020] ==================================================================

[   36.052526] ==================================================================
[   36.053111] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   36.053111] 
[   36.053504] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#158):
[   36.053889]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   36.054114]  kunit_try_run_case+0x1a5/0x480
[   36.054286]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   36.054507]  kthread+0x337/0x6f0
[   36.054672]  ret_from_fork+0x116/0x1d0
[   36.054861]  ret_from_fork_asm+0x1a/0x30
[   36.055011] 
[   36.055105] kfence-#158: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   36.055105] 
[   36.055454] allocated by task 372 on cpu 0 at 36.052290s (0.003161s ago):
[   36.055761]  test_alloc+0x364/0x10f0
[   36.055944]  test_kmalloc_aligned_oob_read+0x105/0x560
[   36.056276]  kunit_try_run_case+0x1a5/0x480
[   36.056526]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   36.056709]  kthread+0x337/0x6f0
[   36.056876]  ret_from_fork+0x116/0x1d0
[   36.057152]  ret_from_fork_asm+0x1a/0x30
[   36.057361] 
[   36.057472] CPU: 0 UID: 0 PID: 372 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc6-next-20250714 #1 PREEMPT(voluntary) 
[   36.057953] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   36.058288] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   36.058633] ==================================================================