Hay
Date
July 9, 2025, 11:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   27.432297] ==================================================================
[   27.432399] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   27.432399] 
[   27.432509] Out-of-bounds read at 0x0000000089f25eb5 (105B right of kfence-#152):
[   27.432571]  test_kmalloc_aligned_oob_read+0x238/0x468
[   27.432622]  kunit_try_run_case+0x170/0x3f0
[   27.432668]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.432712]  kthread+0x328/0x630
[   27.432753]  ret_from_fork+0x10/0x20
[   27.432795] 
[   27.432819] kfence-#152: 0x0000000019ab6fca-0x00000000cf760768, size=73, cache=kmalloc-96
[   27.432819] 
[   27.432873] allocated by task 323 on cpu 0 at 27.432024s (0.000845s ago):
[   27.432946]  test_alloc+0x29c/0x628
[   27.432986]  test_kmalloc_aligned_oob_read+0x100/0x468
[   27.433029]  kunit_try_run_case+0x170/0x3f0
[   27.433068]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.433111]  kthread+0x328/0x630
[   27.433158]  ret_from_fork+0x10/0x20
[   27.433197] 
[   27.433247] CPU: 0 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   27.433330] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.433358] Hardware name: linux,dummy-virt (DT)
[   27.433393] ==================================================================

[   23.627554] ==================================================================
[   23.627946] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   23.627946] 
[   23.628434] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#126):
[   23.628695]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   23.628884]  kunit_try_run_case+0x1a5/0x480
[   23.629031]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.629570]  kthread+0x337/0x6f0
[   23.629741]  ret_from_fork+0x116/0x1d0
[   23.629875]  ret_from_fork_asm+0x1a/0x30
[   23.630027] 
[   23.630155] kfence-#126: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   23.630155] 
[   23.630743] allocated by task 340 on cpu 0 at 23.627334s (0.003406s ago):
[   23.631601]  test_alloc+0x364/0x10f0
[   23.631811]  test_kmalloc_aligned_oob_read+0x105/0x560
[   23.632028]  kunit_try_run_case+0x1a5/0x480
[   23.632175]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.632349]  kthread+0x337/0x6f0
[   23.632468]  ret_from_fork+0x116/0x1d0
[   23.632808]  ret_from_fork_asm+0x1a/0x30
[   23.633363] 
[   23.633480] CPU: 0 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   23.634131] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.634344] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   23.634882] ==================================================================