Hay
Date
June 19, 2025, 12:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   41.134619] ==================================================================
[   41.134741] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   41.134741] 
[   41.134864] Out-of-bounds read at 0x0000000097471e0b (105B right of kfence-#169):
[   41.134979]  test_kmalloc_aligned_oob_read+0x238/0x468
[   41.135043]  kunit_try_run_case+0x170/0x3f0
[   41.135095]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.135145]  kthread+0x328/0x630
[   41.135190]  ret_from_fork+0x10/0x20
[   41.135236] 
[   41.135265] kfence-#169: 0x0000000061126404-0x00000000f549304d, size=73, cache=kmalloc-96
[   41.135265] 
[   41.135324] allocated by task 334 on cpu 0 at 41.134264s (0.001056s ago):
[   41.135409]  test_alloc+0x29c/0x628
[   41.135456]  test_kmalloc_aligned_oob_read+0x100/0x468
[   41.135506]  kunit_try_run_case+0x170/0x3f0
[   41.135549]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.135597]  kthread+0x328/0x630
[   41.135636]  ret_from_fork+0x10/0x20
[   41.135680] 
[   41.135733] CPU: 0 UID: 0 PID: 334 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250619 #1 PREEMPT 
[   41.135832] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.135867] Hardware name: linux,dummy-virt (DT)
[   41.135922] ==================================================================

[   38.445245] ==================================================================
[   38.445722] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   38.445722] 
[   38.446386] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#168):
[   38.446901]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   38.447297]  kunit_try_run_case+0x1a5/0x480
[   38.447560]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.447857]  kthread+0x337/0x6f0
[   38.448185]  ret_from_fork+0x116/0x1d0
[   38.448493]  ret_from_fork_asm+0x1a/0x30
[   38.448772] 
[   38.448882] kfence-#168: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   38.448882] 
[   38.449902] allocated by task 352 on cpu 0 at 38.444772s (0.005124s ago):
[   38.450417]  test_alloc+0x364/0x10f0
[   38.450612]  test_kmalloc_aligned_oob_read+0x105/0x560
[   38.451091]  kunit_try_run_case+0x1a5/0x480
[   38.451544]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   38.451859]  kthread+0x337/0x6f0
[   38.452191]  ret_from_fork+0x116/0x1d0
[   38.452523]  ret_from_fork_asm+0x1a/0x30
[   38.452784] 
[   38.452998] CPU: 0 UID: 0 PID: 352 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250619 #1 PREEMPT(voluntary) 
[   38.454054] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.454660] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   38.455033] ==================================================================