Hay
Date
June 17, 2025, 3:39 p.m.

Environment
qemu-arm64
qemu-i386
qemu-x86_64

[   97.640619] ==================================================================
[   97.641579] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0xd8/0x1b0
[   97.641579] 
[   97.642760] Out-of-bounds write at 0x000000003097a418 (1B left of kfence-#157):
[   97.643997]  test_out_of_bounds_write+0xd8/0x1b0
[   97.645166]  kunit_try_run_case+0x114/0x298
[   97.646026]  kunit_generic_run_threadfn_adapter+0x38/0x60
[   97.647007]  kthread+0x18c/0x1a8
[   97.647738]  ret_from_fork+0x10/0x20
[   97.648557] 
[   97.649019] kfence-#157: 0x000000002c170f12-0x0000000022420cbc, size=32, cache=kmalloc-32
[   97.649019] 
[   97.650304] allocated by task 236 on cpu 1 at 97.640233s:
[   97.651636]  test_alloc+0x228/0x3e8
[   97.652295]  test_out_of_bounds_write+0xc0/0x1b0
[   97.653242]  kunit_try_run_case+0x114/0x298
[   97.654095]  kunit_generic_run_threadfn_adapter+0x38/0x60
[   97.655132]  kthread+0x18c/0x1a8
[   97.655846]  ret_from_fork+0x10/0x20
[   97.656609] 
[   97.657096] CPU: 1 PID: 236 Comm: kunit_try_catch Tainted: G    B            N 6.6.94-rc1 #1
[   97.658223] Hardware name: linux,dummy-virt (DT)
[   97.658976] ==================================================================
[   97.744716] ==================================================================
[   97.745695] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0xd8/0x1b0
[   97.745695] 
[   97.746786] Out-of-bounds write at 0x000000003a434f3a (1B left of kfence-#158):
[   97.748155]  test_out_of_bounds_write+0xd8/0x1b0
[   97.749198]  kunit_try_run_case+0x114/0x298
[   97.750160]  kunit_generic_run_threadfn_adapter+0x38/0x60
[   97.751228]  kthread+0x18c/0x1a8
[   97.751988]  ret_from_fork+0x10/0x20
[   97.752829] 
[   97.753293] kfence-#158: 0x0000000054b2fa39-0x000000000970be42, size=32, cache=test
[   97.753293] 
[   97.754473] allocated by task 238 on cpu 1 at 97.744500s:
[   97.755640]  test_alloc+0x1bc/0x3e8
[   97.756343]  test_out_of_bounds_write+0xc0/0x1b0
[   97.757361]  kunit_try_run_case+0x114/0x298
[   97.758195]  kunit_generic_run_threadfn_adapter+0x38/0x60
[   97.759151]  kthread+0x18c/0x1a8
[   97.759853]  ret_from_fork+0x10/0x20
[   97.760613] 
[   97.761067] CPU: 1 PID: 238 Comm: kunit_try_catch Tainted: G    B            N 6.6.94-rc1 #1
[   97.762307] Hardware name: linux,dummy-virt (DT)
[   97.762923] ==================================================================


[   15.560324] ==================================================================
[   15.560605] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x59/0x108
[   15.560605] 
[   15.561000] Out-of-bounds write at 0x(ptrval) (1B left of kfence-#31):
[   15.561177]  test_out_of_bounds_write+0x59/0x108
[   15.561736]  kunit_try_run_case+0x8a/0x1c4
[   15.562043]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   15.562170]  kthread+0xe0/0x108
[   15.562256]  ret_from_fork+0x40/0x4c
[   15.562351]  ret_from_fork_asm+0x12/0x18
[   15.562455]  restore_all_switch_stack+0x0/0xc3
[   15.562579] 
[   15.562642] kfence-#31: 0x(ptrval)-0x(ptrval), size=32, cache=test
[   15.562642] 
[   15.562864] allocated by task 138 on cpu 0 at 15.560283s:
[   15.563034]  test_alloc+0xed/0x2d4
[   15.563140]  test_out_of_bounds_write+0x57/0x108
[   15.563277]  kunit_try_run_case+0x8a/0x1c4
[   15.563455]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   15.563868]  kthread+0xe0/0x108
[   15.564088]  ret_from_fork+0x40/0x4c
[   15.564330]  ret_from_fork_asm+0x12/0x18
[   15.564579]  restore_all_switch_stack+0x0/0xc3
[   15.564869] 
[   15.564938] CPU: 0 PID: 138 Comm: kunit_try_catch Tainted: G    B            N 6.6.94-rc1 #1
[   15.565144] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.565353] ==================================================================
[   15.352366] ==================================================================
[   15.352625] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x59/0x108
[   15.352625] 
[   15.352983] Out-of-bounds write at 0x(ptrval) (1B left of kfence-#29):
[   15.353160]  test_out_of_bounds_write+0x59/0x108
[   15.353395]  kunit_try_run_case+0x8a/0x1c4
[   15.353617]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   15.353951]  kthread+0xe0/0x108
[   15.354153]  ret_from_fork+0x40/0x4c
[   15.354253]  ret_from_fork_asm+0x12/0x18
[   15.354341]  restore_all_switch_stack+0x0/0xc3
[   15.354443] 
[   15.354490] kfence-#29: 0x(ptrval)-0x(ptrval), size=32, cache=kmalloc-32
[   15.354490] 
[   15.354759] allocated by task 136 on cpu 0 at 15.352295s:
[   15.355067]  test_alloc+0x153/0x2d4
[   15.355290]  test_out_of_bounds_write+0x57/0x108
[   15.355575]  kunit_try_run_case+0x8a/0x1c4
[   15.355825]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   15.356016]  kthread+0xe0/0x108
[   15.356178]  ret_from_fork+0x40/0x4c
[   15.356285]  ret_from_fork_asm+0x12/0x18
[   15.356398]  restore_all_switch_stack+0x0/0xc3
[   15.356623] 
[   15.356754] CPU: 0 PID: 136 Comm: kunit_try_catch Tainted: G    B            N 6.6.94-rc1 #1
[   15.357227] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.357434] ==================================================================


[   37.505005] ==================================================================
[   37.505616] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0xd9/0x1a0
[   37.505616] 
[   37.506239] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#91):
[   37.506628]  test_out_of_bounds_write+0xd9/0x1a0
[   37.507028]  kunit_try_run_case+0x120/0x290
[   37.507362]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   37.507708]  kthread+0x19e/0x1e0
[   37.507969]  ret_from_fork+0x41/0x70
[   37.508227]  ret_from_fork_asm+0x1b/0x30
[   37.508480] 
[   37.508606] kfence-#91: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   37.508606] 
[   37.509184] allocated by task 251 on cpu 1 at 37.504877s:
[   37.509501]  test_alloc+0x2ad/0x8e0
[   37.509793]  test_out_of_bounds_write+0xc9/0x1a0
[   37.510135]  kunit_try_run_case+0x120/0x290
[   37.510442]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   37.510757]  kthread+0x19e/0x1e0
[   37.510964]  ret_from_fork+0x41/0x70
[   37.511210]  ret_from_fork_asm+0x1b/0x30
[   37.511444] 
[   37.511589] CPU: 1 PID: 251 Comm: kunit_try_catch Tainted: G    B            N 6.6.94-rc1 #1
[   37.512084] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   37.512514] ==================================================================
[   37.608995] ==================================================================
[   37.609527] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0xd9/0x1a0
[   37.609527] 
[   37.610213] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#92):
[   37.610700]  test_out_of_bounds_write+0xd9/0x1a0
[   37.611020]  kunit_try_run_case+0x120/0x290
[   37.611365]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   37.611774]  kthread+0x19e/0x1e0
[   37.612083]  ret_from_fork+0x41/0x70
[   37.612301]  ret_from_fork_asm+0x1b/0x30
[   37.612603] 
[   37.612731] kfence-#92: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   37.612731] 
[   37.613273] allocated by task 253 on cpu 1 at 37.608920s:
[   37.613661]  test_alloc+0x1f9/0x8e0
[   37.613944]  test_out_of_bounds_write+0xc9/0x1a0
[   37.614240]  kunit_try_run_case+0x120/0x290
[   37.614504]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   37.614956]  kthread+0x19e/0x1e0
[   37.615182]  ret_from_fork+0x41/0x70
[   37.615404]  ret_from_fork_asm+0x1b/0x30
[   37.615710] 
[   37.615828] CPU: 1 PID: 253 Comm: kunit_try_catch Tainted: G    B            N 6.6.94-rc1 #1
[   37.616370] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   37.616833] ==================================================================