Hay
Date
June 20, 2025, 12:38 p.m.

Environment
qemu-arm64
qemu-x86_64

[   44.993729] ==================================================================
[   44.993914] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   44.993914] 
[   44.994047] Out-of-bounds read at 0x00000000ae43ab13 (105B right of kfence-#203):
[   44.994128]  test_kmalloc_aligned_oob_read+0x238/0x468
[   44.994192]  kunit_try_run_case+0x170/0x3f0
[   44.994243]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   44.994293]  kthread+0x328/0x630
[   44.994339]  ret_from_fork+0x10/0x20
[   44.994383] 
[   44.994414] kfence-#203: 0x00000000980e09ca-0x00000000f67e6062, size=73, cache=kmalloc-96
[   44.994414] 
[   44.994479] allocated by task 334 on cpu 1 at 44.993258s (0.001216s ago):
[   44.994570]  test_alloc+0x29c/0x628
[   44.994642]  test_kmalloc_aligned_oob_read+0x100/0x468
[   44.994706]  kunit_try_run_case+0x170/0x3f0
[   44.994753]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   44.994802]  kthread+0x328/0x630
[   44.994842]  ret_from_fork+0x10/0x20
[   44.994889] 
[   44.994948] CPU: 1 UID: 0 PID: 334 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT 
[   44.995046] Tainted: [B]=BAD_PAGE, [N]=TEST
[   44.995082] Hardware name: linux,dummy-virt (DT)
[   44.995125] ==================================================================

[   37.716599] ==================================================================
[   37.717122] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   37.717122] 
[   37.717649] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#157):
[   37.718288]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   37.719037]  kunit_try_run_case+0x1a5/0x480
[   37.719530]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   37.719956]  kthread+0x337/0x6f0
[   37.720180]  ret_from_fork+0x116/0x1d0
[   37.720533]  ret_from_fork_asm+0x1a/0x30
[   37.720733] 
[   37.720840] kfence-#157: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   37.720840] 
[   37.721216] allocated by task 352 on cpu 1 at 37.716170s (0.005040s ago):
[   37.721794]  test_alloc+0x364/0x10f0
[   37.722193]  test_kmalloc_aligned_oob_read+0x105/0x560
[   37.722649]  kunit_try_run_case+0x1a5/0x480
[   37.723026]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   37.723519]  kthread+0x337/0x6f0
[   37.723781]  ret_from_fork+0x116/0x1d0
[   37.724002]  ret_from_fork_asm+0x1a/0x30
[   37.724375] 
[   37.724619] CPU: 1 UID: 0 PID: 352 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT(voluntary) 
[   37.725275] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.725655] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   37.726427] ==================================================================