Hay
Date
July 15, 2025, 2:10 p.m.

Environment
qemu-arm64
qemu-i386
qemu-x86_64

[  114.477897] ==================================================================
[  114.478557] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x18c/0x240
[  114.478557] 
[  114.479322] Out-of-bounds read at 0x0000000045916c13 (201B right of kfence-#193):
[  114.479922]  test_kmalloc_aligned_oob_read+0x18c/0x240
[  114.480571]  kunit_try_run_case+0x8c/0x124
[  114.481164]  kunit_generic_run_threadfn_adapter+0x38/0x54
[  114.481825]  kthread+0x15c/0x170
[  114.482279]  ret_from_fork+0x10/0x20
[  114.482762] 
[  114.483010] kfence-#193: 0x00000000f9a1b62a-0x00000000ca863223, size=73, cache=kmalloc-128
[  114.483010] 
[  114.483893] allocated by task 275 on cpu 0 at 114.477249s:
[  114.484616]  test_alloc+0x1e8/0x3b4
[  114.485063]  test_kmalloc_aligned_oob_read+0xd4/0x240
[  114.485629]  kunit_try_run_case+0x8c/0x124
[  114.486228]  kunit_generic_run_threadfn_adapter+0x38/0x54
[  114.486825]  kthread+0x15c/0x170
[  114.487248]  ret_from_fork+0x10/0x20
[  114.487677] 
[  114.487918] CPU: 0 PID: 275 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[  114.488678] Hardware name: linux,dummy-virt (DT)
[  114.489163] ==================================================================

[   21.163221] ==================================================================
[   21.163526] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0xb9/0x122
[   21.163526] 
[   21.163799] Out-of-bounds read at 0x(ptrval) (81B right of kfence-#82):
[   21.164230]  test_kmalloc_aligned_oob_read+0xb9/0x122
[   21.164461]  kunit_try_run_case+0x52/0x80
[   21.164842]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   21.165054]  kthread+0xda/0x100
[   21.165149]  ret_from_fork+0x1c/0x28
[   21.165270] 
[   21.165346] kfence-#82: 0x(ptrval)-0x(ptrval), size=73, cache=kmalloc-96
[   21.165346] 
[   21.165689] allocated by task 215 on cpu 1 at 21.163090s:
[   21.165855]  test_alloc+0xc2/0x224
[   21.166012]  test_kmalloc_aligned_oob_read+0x47/0x122
[   21.166928]  kunit_try_run_case+0x52/0x80
[   21.167104]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   21.167369]  kthread+0xda/0x100
[   21.167633]  ret_from_fork+0x1c/0x28
[   21.167766] 
[   21.167894] CPU: 1 PID: 215 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[   21.168299] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   21.168757] ==================================================================

[   40.170013] ==================================================================
[   40.170700] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x180/0x221
[   40.170700] 
[   40.171222] Out-of-bounds read at 0x(____ptrval____) (81B right of kfence-#149):
[   40.171637]  test_kmalloc_aligned_oob_read+0x180/0x221
[   40.171952]  kunit_try_run_case+0x8f/0xd0
[   40.172223]  kunit_generic_run_threadfn_adapter+0x2f/0x50
[   40.172523]  kthread+0x17b/0x1b0
[   40.172763]  ret_from_fork+0x22/0x30
[   40.172987] 
[   40.173123] kfence-#149: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   40.173123] 
[   40.173598] allocated by task 295 on cpu 0 at 40.169780s:
[   40.173898]  test_alloc+0x21e/0x7f3
[   40.174130]  test_kmalloc_aligned_oob_read+0xca/0x221
[   40.174734]  kunit_try_run_case+0x8f/0xd0
[   40.175441]  kunit_generic_run_threadfn_adapter+0x2f/0x50
[   40.175925]  kthread+0x17b/0x1b0
[   40.176258]  ret_from_fork+0x22/0x30
[   40.176597] 
[   40.176822] CPU: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[   40.177404] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   40.177976] ==================================================================