Hay
Date
July 17, 2025, 11:11 p.m.

Environment
qemu-arm64
qemu-x86_64

[   27.596550] ==================================================================
[   27.596650] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   27.596650] 
[   27.596749] Out-of-bounds read at 0x00000000fcbf08cb (105B right of kfence-#155):
[   27.596809]  test_kmalloc_aligned_oob_read+0x238/0x468
[   27.596859]  kunit_try_run_case+0x170/0x3f0
[   27.596922]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.596971]  kthread+0x328/0x630
[   27.597011]  ret_from_fork+0x10/0x20
[   27.597050] 
[   27.597076] kfence-#155: 0x0000000074b629a6-0x00000000e9471ff3, size=73, cache=kmalloc-96
[   27.597076] 
[   27.597130] allocated by task 323 on cpu 0 at 27.596237s (0.000888s ago):
[   27.597200]  test_alloc+0x29c/0x628
[   27.597240]  test_kmalloc_aligned_oob_read+0x100/0x468
[   27.597283]  kunit_try_run_case+0x170/0x3f0
[   27.597322]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.597366]  kthread+0x328/0x630
[   27.597402]  ret_from_fork+0x10/0x20
[   27.597442] 
[   27.597491] CPU: 0 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   27.597568] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.597598] Hardware name: linux,dummy-virt (DT)
[   27.597633] ==================================================================

[   22.627368] ==================================================================
[   22.627812] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   22.627812] 
[   22.628245] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#122):
[   22.629035]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   22.629368]  kunit_try_run_case+0x1a5/0x480
[   22.629826]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.630113]  kthread+0x337/0x6f0
[   22.630459]  ret_from_fork+0x116/0x1d0
[   22.630663]  ret_from_fork_asm+0x1a/0x30
[   22.630877] 
[   22.631208] kfence-#122: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   22.631208] 
[   22.631613] allocated by task 340 on cpu 1 at 22.627145s (0.004466s ago):
[   22.632166]  test_alloc+0x364/0x10f0
[   22.632450]  test_kmalloc_aligned_oob_read+0x105/0x560
[   22.632832]  kunit_try_run_case+0x1a5/0x480
[   22.633028]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.633420]  kthread+0x337/0x6f0
[   22.633686]  ret_from_fork+0x116/0x1d0
[   22.633888]  ret_from_fork_asm+0x1a/0x30
[   22.634228] 
[   22.634453] CPU: 1 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   22.635000] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.635306] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   22.635806] ==================================================================