Hay
Date
June 26, 2025, 11:12 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   75.609133] ==================================================================
[   75.609274] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   75.609274] 
[   75.609429] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#186):
[   75.611111]  test_kmalloc_aligned_oob_read+0x238/0x468
[   75.616232]  kunit_try_run_case+0x170/0x3f0
[   75.620398]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   75.625867]  kthread+0x328/0x630
[   75.629079]  ret_from_fork+0x10/0x20
[   75.632638] 
[   75.634117] kfence-#186: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   75.634117] 
[   75.643751] allocated by task 372 on cpu 5 at 75.609096s (0.034653s ago):
[   75.650535]  test_alloc+0x29c/0x628
[   75.653992]  test_kmalloc_aligned_oob_read+0x100/0x468
[   75.659113]  kunit_try_run_case+0x170/0x3f0
[   75.663280]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   75.668748]  kthread+0x328/0x630
[   75.671960]  ret_from_fork+0x10/0x20
[   75.675521] 
[   75.677005] CPU: 5 UID: 0 PID: 372 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT 
[   75.686900] Tainted: [B]=BAD_PAGE, [N]=TEST
[   75.691059] Hardware name: WinLink E850-96 board (DT)
[   75.696094] ==================================================================

[   27.816629] ==================================================================
[   27.816732] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   27.816732] 
[   27.816834] Out-of-bounds read at 0x0000000021ccf533 (105B right of kfence-#142):
[   27.816914]  test_kmalloc_aligned_oob_read+0x238/0x468
[   27.816965]  kunit_try_run_case+0x170/0x3f0
[   27.817011]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.817058]  kthread+0x328/0x630
[   27.817101]  ret_from_fork+0x10/0x20
[   27.817142] 
[   27.817168] kfence-#142: 0x000000001d093480-0x0000000072463100, size=73, cache=kmalloc-96
[   27.817168] 
[   27.817221] allocated by task 325 on cpu 0 at 27.816375s (0.000842s ago):
[   27.817294]  test_alloc+0x29c/0x628
[   27.817334]  test_kmalloc_aligned_oob_read+0x100/0x468
[   27.817377]  kunit_try_run_case+0x170/0x3f0
[   27.817419]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.817465]  kthread+0x328/0x630
[   27.817504]  ret_from_fork+0x10/0x20
[   27.817544] 
[   27.817592] CPU: 0 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT 
[   27.817675] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.817705] Hardware name: linux,dummy-virt (DT)
[   27.817743] ==================================================================

[   23.157297] ==================================================================
[   23.157720] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   23.157720] 
[   23.158181] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#140):
[   23.158523]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   23.158813]  kunit_try_run_case+0x1a5/0x480
[   23.158999]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.159263]  kthread+0x337/0x6f0
[   23.159438]  ret_from_fork+0x41/0x80
[   23.159637]  ret_from_fork_asm+0x1a/0x30
[   23.159853] 
[   23.159937] kfence-#140: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   23.159937] 
[   23.160370] allocated by task 342 on cpu 0 at 23.157070s (0.003298s ago):
[   23.160700]  test_alloc+0x364/0x10f0
[   23.160881]  test_kmalloc_aligned_oob_read+0x105/0x560
[   23.161151]  kunit_try_run_case+0x1a5/0x480
[   23.161315]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.161551]  kthread+0x337/0x6f0
[   23.161755]  ret_from_fork+0x41/0x80
[   23.161971]  ret_from_fork_asm+0x1a/0x30
[   23.162168] 
[   23.162295] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT(voluntary) 
[   23.162832] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.162974] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   23.164044] ==================================================================