Hay
Date
July 9, 2025, 1:08 p.m.

Environment
qemu-arm64
qemu-x86_64

[   40.644365] ==================================================================
[   40.644465] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   40.644465] 
[   40.644570] Out-of-bounds read at 0x00000000b728b0f1 (105B right of kfence-#191):
[   40.644632]  test_kmalloc_aligned_oob_read+0x238/0x468
[   40.644685]  kunit_try_run_case+0x170/0x3f0
[   40.644732]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.644779]  kthread+0x328/0x630
[   40.644820]  ret_from_fork+0x10/0x20
[   40.644862] 
[   40.644888] kfence-#191: 0x00000000e0c8d5c5-0x000000006cf5bc39, size=73, cache=kmalloc-96
[   40.644888] 
[   40.644941] allocated by task 355 on cpu 1 at 40.644119s (0.000819s ago):
[   40.645012]  test_alloc+0x29c/0x628
[   40.645068]  test_kmalloc_aligned_oob_read+0x100/0x468
[   40.645121]  kunit_try_run_case+0x170/0x3f0
[   40.645163]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.645207]  kthread+0x328/0x630
[   40.645244]  ret_from_fork+0x10/0x20
[   40.645283] 
[   40.645333] CPU: 1 UID: 0 PID: 355 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250709 #1 PREEMPT 
[   40.645417] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.645446] Hardware name: linux,dummy-virt (DT)
[   40.645483] ==================================================================

[   35.804376] ==================================================================
[   35.804792] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   35.804792] 
[   35.805612] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#158):
[   35.805864]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   35.806056]  kunit_try_run_case+0x1a5/0x480
[   35.806201]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.806370]  kthread+0x337/0x6f0
[   35.806490]  ret_from_fork+0x116/0x1d0
[   35.806618]  ret_from_fork_asm+0x1a/0x30
[   35.806788] 
[   35.806888] kfence-#158: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   35.806888] 
[   35.807227] allocated by task 373 on cpu 0 at 35.804128s (0.003097s ago):
[   35.807520]  test_alloc+0x364/0x10f0
[   35.807703]  test_kmalloc_aligned_oob_read+0x105/0x560
[   35.807928]  kunit_try_run_case+0x1a5/0x480
[   35.808067]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.808282]  kthread+0x337/0x6f0
[   35.808443]  ret_from_fork+0x116/0x1d0
[   35.808623]  ret_from_fork_asm+0x1a/0x30
[   35.808819] 
[   35.808912] CPU: 0 UID: 0 PID: 373 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc5-next-20250709 #1 PREEMPT(voluntary) 
[   35.809474] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   35.809716] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   35.810071] ==================================================================