Hay
Date
July 17, 2025, 10:12 a.m.

Environment
qemu-arm64
qemu-x86_64

[   41.964951] ==================================================================
[   41.965020] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   41.965020] 
[   41.965128] Out-of-bounds read at 0x00000000be69f390 (105B right of kfence-#207):
[   41.965189]  test_kmalloc_aligned_oob_read+0x238/0x468
[   41.965236]  kunit_try_run_case+0x170/0x3f0
[   41.965280]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.965324]  kthread+0x328/0x630
[   41.965365]  ret_from_fork+0x10/0x20
[   41.965404] 
[   41.965428] kfence-#207: 0x00000000717a17ae-0x000000007b3acd41, size=73, cache=kmalloc-96
[   41.965428] 
[   41.965481] allocated by task 354 on cpu 1 at 41.964725s (0.000752s ago):
[   41.965554]  test_alloc+0x29c/0x628
[   41.965593]  test_kmalloc_aligned_oob_read+0x100/0x468
[   41.965634]  kunit_try_run_case+0x170/0x3f0
[   41.965673]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.965715]  kthread+0x328/0x630
[   41.965751]  ret_from_fork+0x10/0x20
[   41.965790] 
[   41.965836] CPU: 1 UID: 0 PID: 354 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT 
[   41.965919] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.965947] Hardware name: linux,dummy-virt (DT)
[   41.965982] ==================================================================

[   35.286747] ==================================================================
[   35.287156] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   35.287156] 
[   35.287551] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#136):
[   35.287892]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   35.288124]  kunit_try_run_case+0x1a5/0x480
[   35.288354]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.288527]  kthread+0x337/0x6f0
[   35.288695]  ret_from_fork+0x116/0x1d0
[   35.288868]  ret_from_fork_asm+0x1a/0x30
[   35.289034] 
[   35.289142] kfence-#136: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   35.289142] 
[   35.289552] allocated by task 372 on cpu 1 at 35.286525s (0.003025s ago):
[   35.289871]  test_alloc+0x364/0x10f0
[   35.290050]  test_kmalloc_aligned_oob_read+0x105/0x560
[   35.290304]  kunit_try_run_case+0x1a5/0x480
[   35.290487]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.290693]  kthread+0x337/0x6f0
[   35.290859]  ret_from_fork+0x116/0x1d0
[   35.291026]  ret_from_fork_asm+0x1a/0x30
[   35.291199] 
[   35.291337] CPU: 1 UID: 0 PID: 372 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT(voluntary) 
[   35.291745] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.291876] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   35.292233] ==================================================================