Hay
Date
July 8, 2025, 7:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   30.580131] ==================================================================
[   30.580236] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   30.580236] 
[   30.580338] Out-of-bounds read at 0x00000000ab592a25 (105B right of kfence-#153):
[   30.580398]  test_kmalloc_aligned_oob_read+0x238/0x468
[   30.580447]  kunit_try_run_case+0x170/0x3f0
[   30.580492]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.580536]  kthread+0x328/0x630
[   30.580575]  ret_from_fork+0x10/0x20
[   30.580616] 
[   30.580640] kfence-#153: 0x0000000018ea57af-0x00000000b981af42, size=73, cache=kmalloc-96
[   30.580640] 
[   30.580693] allocated by task 323 on cpu 1 at 30.579877s (0.000812s ago):
[   30.580778]  test_alloc+0x29c/0x628
[   30.580819]  test_kmalloc_aligned_oob_read+0x100/0x468
[   30.580864]  kunit_try_run_case+0x170/0x3f0
[   30.580904]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.580947]  kthread+0x328/0x630
[   30.580983]  ret_from_fork+0x10/0x20
[   30.581023] 
[   30.581069] CPU: 1 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   30.581151] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.581182] Hardware name: linux,dummy-virt (DT)
[   30.581218] ==================================================================

[   24.472578] ==================================================================
[   24.472984] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   24.472984] 
[   24.473454] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#128):
[   24.474253]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   24.474865]  kunit_try_run_case+0x1a5/0x480
[   24.475093]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.475347]  kthread+0x337/0x6f0
[   24.475775]  ret_from_fork+0x116/0x1d0
[   24.475979]  ret_from_fork_asm+0x1a/0x30
[   24.476378] 
[   24.476580] kfence-#128: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   24.476580] 
[   24.477158] allocated by task 340 on cpu 1 at 24.472378s (0.004777s ago):
[   24.477477]  test_alloc+0x364/0x10f0
[   24.477814]  test_kmalloc_aligned_oob_read+0x105/0x560
[   24.478142]  kunit_try_run_case+0x1a5/0x480
[   24.478440]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.478784]  kthread+0x337/0x6f0
[   24.478970]  ret_from_fork+0x116/0x1d0
[   24.479280]  ret_from_fork_asm+0x1a/0x30
[   24.479617] 
[   24.479770] CPU: 1 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   24.480398] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.480635] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   24.481018] ==================================================================