Hay
Date
July 19, 2025, 11:12 p.m.

Environment
qemu-arm64
qemu-x86_64

[   25.792584] ==================================================================
[   25.792681] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   25.792681] 
[   25.792796] Out-of-bounds read at 0x00000000e4277de9 (105B right of kfence-#144):
[   25.792858]  test_kmalloc_aligned_oob_read+0x238/0x468
[   25.792909]  kunit_try_run_case+0x170/0x3f0
[   25.792955]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.792999]  kthread+0x328/0x630
[   25.793039]  ret_from_fork+0x10/0x20
[   25.793080] 
[   25.793105] kfence-#144: 0x00000000ab9d7fa2-0x00000000018b7c82, size=73, cache=kmalloc-96
[   25.793105] 
[   25.793160] allocated by task 323 on cpu 0 at 25.792323s (0.000833s ago):
[   25.793232]  test_alloc+0x29c/0x628
[   25.793273]  test_kmalloc_aligned_oob_read+0x100/0x468
[   25.793314]  kunit_try_run_case+0x170/0x3f0
[   25.793355]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.793400]  kthread+0x328/0x630
[   25.793436]  ret_from_fork+0x10/0x20
[   25.793476] 
[   25.793524] CPU: 0 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   25.793605] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.793643] Hardware name: linux,dummy-virt (DT)
[   25.793679] ==================================================================

[   24.764807] ==================================================================
[   24.765204] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   24.765204] 
[   24.765907] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#139):
[   24.766603]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   24.766947]  kunit_try_run_case+0x1a5/0x480
[   24.767183]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.767676]  kthread+0x337/0x6f0
[   24.767952]  ret_from_fork+0x116/0x1d0
[   24.768137]  ret_from_fork_asm+0x1a/0x30
[   24.768299] 
[   24.768590] kfence-#139: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   24.768590] 
[   24.769022] allocated by task 341 on cpu 0 at 24.764607s (0.004412s ago):
[   24.769542]  test_alloc+0x364/0x10f0
[   24.769823]  test_kmalloc_aligned_oob_read+0x105/0x560
[   24.770164]  kunit_try_run_case+0x1a5/0x480
[   24.770377]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.770762]  kthread+0x337/0x6f0
[   24.771033]  ret_from_fork+0x116/0x1d0
[   24.771201]  ret_from_fork_asm+0x1a/0x30
[   24.771698] 
[   24.771844] CPU: 0 UID: 0 PID: 341 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   24.772419] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.772635] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   24.773160] ==================================================================