Hay
Date
July 1, 2025, 11:08 a.m.

Environment
qemu-arm64
qemu-x86_64

[   29.623997] ==================================================================
[   29.624115] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   29.624115] 
[   29.624251] Out-of-bounds read at 0x0000000002497dd9 (105B right of kfence-#155):
[   29.624319]  test_kmalloc_aligned_oob_read+0x238/0x468
[   29.624372]  kunit_try_run_case+0x170/0x3f0
[   29.624420]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.624469]  kthread+0x328/0x630
[   29.624509]  ret_from_fork+0x10/0x20
[   29.624552] 
[   29.624579] kfence-#155: 0x0000000096064e42-0x00000000beae620d, size=73, cache=kmalloc-96
[   29.624579] 
[   29.624639] allocated by task 324 on cpu 1 at 29.623712s (0.000923s ago):
[   29.624718]  test_alloc+0x29c/0x628
[   29.624761]  test_kmalloc_aligned_oob_read+0x100/0x468
[   29.624807]  kunit_try_run_case+0x170/0x3f0
[   29.624851]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.624898]  kthread+0x328/0x630
[   29.624935]  ret_from_fork+0x10/0x20
[   29.624978] 
[   29.625032] CPU: 1 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   29.625118] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.625162] Hardware name: linux,dummy-virt (DT)
[   29.625199] ==================================================================

[   23.273582] ==================================================================
[   23.274081] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   23.274081] 
[   23.274501] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#133):
[   23.274905]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   23.275105]  kunit_try_run_case+0x1a5/0x480
[   23.275347]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.275608]  kthread+0x337/0x6f0
[   23.275749]  ret_from_fork+0x116/0x1d0
[   23.275963]  ret_from_fork_asm+0x1a/0x30
[   23.276168] 
[   23.276271] kfence-#133: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   23.276271] 
[   23.276745] allocated by task 340 on cpu 1 at 23.273307s (0.003435s ago):
[   23.276990]  test_alloc+0x364/0x10f0
[   23.277187]  test_kmalloc_aligned_oob_read+0x105/0x560
[   23.277453]  kunit_try_run_case+0x1a5/0x480
[   23.277684]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.277926]  kthread+0x337/0x6f0
[   23.278086]  ret_from_fork+0x116/0x1d0
[   23.278229]  ret_from_fork_asm+0x1a/0x30
[   23.278401] 
[   23.278533] CPU: 1 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   23.279102] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.279251] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   23.279877] ==================================================================