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

Environment
qemu-arm64
qemu-i386
qemu-x86_64

[  109.070168] ==================================================================
[  109.070827] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0xe8/0x19c
[  109.070827] 
[  109.071536] Out-of-bounds write at 0x0000000084613f02 (1B left of kfence-#141):
[  109.072113]  test_out_of_bounds_write+0xe8/0x19c
[  109.072770]  kunit_try_run_case+0x8c/0x124
[  109.073437]  kunit_generic_run_threadfn_adapter+0x38/0x54
[  109.074120]  kthread+0x15c/0x170
[  109.074541]  ret_from_fork+0x10/0x20
[  109.074996] 
[  109.075247] kfence-#141: 0x00000000a9ce6219-0x000000001531dffa, size=32, cache=kmalloc-128
[  109.075247] 
[  109.076099] allocated by task 261 on cpu 1 at 109.069569s:
[  109.076794]  test_alloc+0x1e8/0x3b4
[  109.077190]  test_out_of_bounds_write+0xd4/0x19c
[  109.077691]  kunit_try_run_case+0x8c/0x124
[  109.078180]  kunit_generic_run_threadfn_adapter+0x38/0x54
[  109.078800]  kthread+0x15c/0x170
[  109.079213]  ret_from_fork+0x10/0x20
[  109.079625] 
[  109.079891] CPU: 1 PID: 261 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[  109.080688] Hardware name: linux,dummy-virt (DT)
[  109.081167] ==================================================================
[  109.277816] ==================================================================
[  109.278460] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0xe8/0x19c
[  109.278460] 
[  109.279566] Out-of-bounds write at 0x00000000b0ef18ae (1B left of kfence-#143):
[  109.280251]  test_out_of_bounds_write+0xe8/0x19c
[  109.280841]  kunit_try_run_case+0x8c/0x124
[  109.281415]  kunit_generic_run_threadfn_adapter+0x38/0x54
[  109.282064]  kthread+0x15c/0x170
[  109.282480]  ret_from_fork+0x10/0x20
[  109.282923] 
[  109.283143] kfence-#143: 0x00000000c8a5721b-0x000000003217a809, size=32, cache=test
[  109.283143] 
[  109.283978] allocated by task 262 on cpu 0 at 109.277255s:
[  109.284598]  test_alloc+0x1d8/0x3b4
[  109.285011]  test_out_of_bounds_write+0xd4/0x19c
[  109.285524]  kunit_try_run_case+0x8c/0x124
[  109.285997]  kunit_generic_run_threadfn_adapter+0x38/0x54
[  109.286594]  kthread+0x15c/0x170
[  109.287011]  ret_from_fork+0x10/0x20
[  109.287472] 
[  109.287714] CPU: 0 PID: 262 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[  109.288487] Hardware name: linux,dummy-virt (DT)
[  109.288952] ==================================================================

[   15.339260] ==================================================================
[   15.339564] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x59/0xcb
[   15.339564] 
[   15.339822] Out-of-bounds write at 0x(ptrval) (1B left of kfence-#26):
[   15.340152]  test_out_of_bounds_write+0x59/0xcb
[   15.340536]  kunit_try_run_case+0x52/0x80
[   15.340698]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   15.340902]  kthread+0xda/0x100
[   15.341027]  ret_from_fork+0x1c/0x28
[   15.341127] 
[   15.341182] kfence-#26: 0x(ptrval)-0x(ptrval), size=32, cache=kmalloc-32
[   15.341182] 
[   15.341524] allocated by task 201 on cpu 0 at 15.339197s:
[   15.341746]  test_alloc+0xc2/0x224
[   15.342504]  test_out_of_bounds_write+0x57/0xcb
[   15.342674]  kunit_try_run_case+0x52/0x80
[   15.342821]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   15.343088]  kthread+0xda/0x100
[   15.343366]  ret_from_fork+0x1c/0x28
[   15.343474] 
[   15.343558] CPU: 0 PID: 201 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[   15.344047] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.344404] ==================================================================
[   15.547130] ==================================================================
[   15.547426] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x59/0xcb
[   15.547426] 
[   15.547681] Out-of-bounds write at 0x(ptrval) (1B left of kfence-#28):
[   15.547964]  test_out_of_bounds_write+0x59/0xcb
[   15.548359]  kunit_try_run_case+0x52/0x80
[   15.548505]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   15.548723]  kthread+0xda/0x100
[   15.548841]  ret_from_fork+0x1c/0x28
[   15.548964] 
[   15.549043] kfence-#28: 0x(ptrval)-0x(ptrval), size=32, cache=test
[   15.549043] 
[   15.549275] allocated by task 202 on cpu 0 at 15.547095s:
[   15.549513]  test_alloc+0xb7/0x224
[   15.549668]  test_out_of_bounds_write+0x57/0xcb
[   15.549831]  kunit_try_run_case+0x52/0x80
[   15.550663]  kunit_generic_run_threadfn_adapter+0x16/0x20
[   15.550831]  kthread+0xda/0x100
[   15.550987]  ret_from_fork+0x1c/0x28
[   15.551176] 
[   15.551471] CPU: 0 PID: 202 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[   15.551827] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.552133] ==================================================================

[   33.929893] ==================================================================
[   33.930468] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0xd6/0x177
[   33.930468] 
[   33.931338] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#89):
[   33.931740]  test_out_of_bounds_write+0xd6/0x177
[   33.932016]  kunit_try_run_case+0x8f/0xd0
[   33.932239]  kunit_generic_run_threadfn_adapter+0x2f/0x50
[   33.932762]  kthread+0x17b/0x1b0
[   33.933029]  ret_from_fork+0x22/0x30
[   33.933248] 
[   33.933425] kfence-#89: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   33.933425] 
[   33.933854] allocated by task 282 on cpu 1 at 33.929746s:
[   33.934232]  test_alloc+0x20d/0x7f3
[   33.934479]  test_out_of_bounds_write+0xc6/0x177
[   33.934780]  kunit_try_run_case+0x8f/0xd0
[   33.935034]  kunit_generic_run_threadfn_adapter+0x2f/0x50
[   33.935434]  kthread+0x17b/0x1b0
[   33.935675]  ret_from_fork+0x22/0x30
[   33.935899] 
[   33.936073] CPU: 1 PID: 282 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[   33.936613] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.937083] ==================================================================
[   33.721984] ==================================================================
[   33.722679] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0xd6/0x177
[   33.722679] 
[   33.723233] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#87):
[   33.723565]  test_out_of_bounds_write+0xd6/0x177
[   33.723964]  kunit_try_run_case+0x8f/0xd0
[   33.724229]  kunit_generic_run_threadfn_adapter+0x2f/0x50
[   33.724514]  kthread+0x17b/0x1b0
[   33.724762]  ret_from_fork+0x22/0x30
[   33.725026] 
[   33.725173] kfence-#87: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   33.725173] 
[   33.725685] allocated by task 281 on cpu 0 at 33.721812s:
[   33.725965]  test_alloc+0x21e/0x7f3
[   33.726267]  test_out_of_bounds_write+0xc6/0x177
[   33.726550]  kunit_try_run_case+0x8f/0xd0
[   33.726808]  kunit_generic_run_threadfn_adapter+0x2f/0x50
[   33.727130]  kthread+0x17b/0x1b0
[   33.727421]  ret_from_fork+0x22/0x30
[   33.727685] 
[   33.727818] CPU: 0 PID: 281 Comm: kunit_try_catch Tainted: G    B            N 6.1.146-rc1 #1
[   33.728191] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.728688] ==================================================================