Hay
Date
June 16, 2025, 7:07 a.m.

Environment
qemu-arm64
qemu-x86_64

[   29.905659] ==================================================================
[   29.905751] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   29.905751] 
[   29.905904] Out-of-bounds read at 0x00000000bafd51cc (105B right of kfence-#179):
[   29.905986]  test_kmalloc_aligned_oob_read+0x238/0x468
[   29.906050]  kunit_try_run_case+0x170/0x3f0
[   29.906112]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.906164]  kthread+0x328/0x630
[   29.906208]  ret_from_fork+0x10/0x20
[   29.906254] 
[   29.906284] kfence-#179: 0x00000000a0484d4e-0x00000000635fb133, size=73, cache=kmalloc-96
[   29.906284] 
[   29.906345] allocated by task 332 on cpu 1 at 29.905402s (0.000938s ago):
[   29.906427]  test_alloc+0x29c/0x628
[   29.906476]  test_kmalloc_aligned_oob_read+0x100/0x468
[   29.906525]  kunit_try_run_case+0x170/0x3f0
[   29.906569]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.906618]  kthread+0x328/0x630
[   29.906659]  ret_from_fork+0x10/0x20
[   29.906706] 
[   29.906770] CPU: 1 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT 
[   29.906874] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.906912] Hardware name: linux,dummy-virt (DT)
[   29.906957] ==================================================================

[   22.829009] ==================================================================
[   22.829412] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   22.829412] 
[   22.829817] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#129):
[   22.830202]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   22.830436]  kunit_try_run_case+0x1a5/0x480
[   22.831064]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.831488]  kthread+0x337/0x6f0
[   22.831659]  ret_from_fork+0x116/0x1d0
[   22.831847]  ret_from_fork_asm+0x1a/0x30
[   22.831997] 
[   22.832069] kfence-#129: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   22.832069] 
[   22.832590] allocated by task 349 on cpu 1 at 22.828776s (0.003811s ago):
[   22.832946]  test_alloc+0x364/0x10f0
[   22.833160]  test_kmalloc_aligned_oob_read+0x105/0x560
[   22.833398]  kunit_try_run_case+0x1a5/0x480
[   22.833584]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.833848]  kthread+0x337/0x6f0
[   22.834012]  ret_from_fork+0x116/0x1d0
[   22.834182]  ret_from_fork_asm+0x1a/0x30
[   22.834342] 
[   22.834499] CPU: 1 UID: 0 PID: 349 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250616 #1 PREEMPT(voluntary) 
[   22.834945] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.835073] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   22.835488] ==================================================================