Hay
Date
June 2, 2025, 2:13 p.m.

Environment
qemu-arm64
qemu-x86_64

[   29.043359] ==================================================================
[   29.043870] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   29.043870] 
[   29.044433] Out-of-bounds read at 0x0000000083c662b8 (105B right of kfence-#170):
[   29.044875]  test_kmalloc_aligned_oob_read+0x238/0x468
[   29.045437]  kunit_try_run_case+0x170/0x3f0
[   29.045812]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.046590]  kthread+0x318/0x620
[   29.046966]  ret_from_fork+0x10/0x20
[   29.047287] 
[   29.047556] kfence-#170: 0x00000000f845ba6f-0x000000002375806f, size=73, cache=kmalloc-96
[   29.047556] 
[   29.048407] allocated by task 313 on cpu 1 at 29.042905s (0.005491s ago):
[   29.048972]  test_alloc+0x29c/0x628
[   29.049420]  test_kmalloc_aligned_oob_read+0x100/0x468
[   29.049998]  kunit_try_run_case+0x170/0x3f0
[   29.050458]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.051033]  kthread+0x318/0x620
[   29.051438]  ret_from_fork+0x10/0x20
[   29.051861] 
[   29.052120] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N 6.14.10-rc1 #1
[   29.052855] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.053320] Hardware name: linux,dummy-virt (DT)
[   29.053776] ==================================================================

[   23.566118] ==================================================================
[   23.566519] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27f/0x570
[   23.566519] 
[   23.566866] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#118):
[   23.567651]  test_kmalloc_aligned_oob_read+0x27f/0x570
[   23.567897]  kunit_try_run_case+0x1a6/0x480
[   23.568123]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.568361]  kthread+0x324/0x6e0
[   23.568539]  ret_from_fork+0x41/0x80
[   23.569081]  ret_from_fork_asm+0x1a/0x30
[   23.569251] 
[   23.569486] kfence-#118: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   23.569486] 
[   23.569973] allocated by task 331 on cpu 1 at 23.565883s (0.004087s ago):
[   23.570396]  test_alloc+0x365/0x10f0
[   23.570567]  test_kmalloc_aligned_oob_read+0x106/0x570
[   23.570782]  kunit_try_run_case+0x1a6/0x480
[   23.570965]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.571201]  kthread+0x324/0x6e0
[   23.571351]  ret_from_fork+0x41/0x80
[   23.571508]  ret_from_fork_asm+0x1a/0x30
[   23.572120] 
[   23.572237] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N 6.14.10-rc1 #1
[   23.572726] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.572982] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   23.573436] ==================================================================