Hay
Date
July 10, 2025, 9:07 a.m.

Environment
qemu-arm64
qemu-x86_64

[   39.851552] ==================================================================
[   39.851660] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   39.851660] 
[   39.851764] Out-of-bounds read at 0x000000008b323e30 (105B right of kfence-#180):
[   39.851825]  test_kmalloc_aligned_oob_read+0x238/0x468
[   39.851878]  kunit_try_run_case+0x170/0x3f0
[   39.851926]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.851972]  kthread+0x328/0x630
[   39.852011]  ret_from_fork+0x10/0x20
[   39.852052] 
[   39.852077] kfence-#180: 0x000000007da4b9e2-0x00000000aa06dc4d, size=73, cache=kmalloc-96
[   39.852077] 
[   39.852146] allocated by task 354 on cpu 0 at 39.851255s (0.000887s ago):
[   39.852218]  test_alloc+0x29c/0x628
[   39.852261]  test_kmalloc_aligned_oob_read+0x100/0x468
[   39.852304]  kunit_try_run_case+0x170/0x3f0
[   39.852346]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.852391]  kthread+0x328/0x630
[   39.852428]  ret_from_fork+0x10/0x20
[   39.852467] 
[   39.852516] CPU: 0 UID: 0 PID: 354 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250710 #1 PREEMPT 
[   39.852599] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.852629] Hardware name: linux,dummy-virt (DT)
[   39.852664] ==================================================================

[   37.524247] ==================================================================
[   37.524749] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   37.524749] 
[   37.525106] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#165):
[   37.525456]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   37.526243]  kunit_try_run_case+0x1a5/0x480
[   37.526666]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   37.526999]  kthread+0x337/0x6f0
[   37.527287]  ret_from_fork+0x116/0x1d0
[   37.527451]  ret_from_fork_asm+0x1a/0x30
[   37.527710] 
[   37.527805] kfence-#165: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   37.527805] 
[   37.528217] allocated by task 371 on cpu 1 at 37.524026s (0.004187s ago):
[   37.528529]  test_alloc+0x364/0x10f0
[   37.529031]  test_kmalloc_aligned_oob_read+0x105/0x560
[   37.529240]  kunit_try_run_case+0x1a5/0x480
[   37.529652]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   37.529986]  kthread+0x337/0x6f0
[   37.530137]  ret_from_fork+0x116/0x1d0
[   37.530443]  ret_from_fork_asm+0x1a/0x30
[   37.530686] 
[   37.530952] CPU: 1 UID: 0 PID: 371 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250710 #1 PREEMPT(voluntary) 
[   37.531517] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.531813] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   37.532258] ==================================================================