Hay
Date
July 20, 2025, 11:12 a.m.

Environment
qemu-arm64
qemu-x86_64

[   19.608325] ==================================================================
[   19.608449] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   19.608449] 
[   19.608549] Out-of-bounds write at 0x00000000be8a8d34 (1B left of kfence-#84):
[   19.608606]  test_out_of_bounds_write+0x100/0x240
[   19.608834]  kunit_try_run_case+0x170/0x3f0
[   19.608930]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.608977]  kthread+0x328/0x630
[   19.609059]  ret_from_fork+0x10/0x20
[   19.609117] 
[   19.609159] kfence-#84: 0x00000000e3112cf0-0x0000000087342108, size=32, cache=test
[   19.609159] 
[   19.609248] allocated by task 293 on cpu 0 at 19.608007s (0.001236s ago):
[   19.609503]  test_alloc+0x230/0x628
[   19.609697]  test_out_of_bounds_write+0xc8/0x240
[   19.609749]  kunit_try_run_case+0x170/0x3f0
[   19.609798]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.609869]  kthread+0x328/0x630
[   19.609912]  ret_from_fork+0x10/0x20
[   19.609981] 
[   19.610025] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   19.610108] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.610137] Hardware name: linux,dummy-virt (DT)
[   19.610170] ==================================================================
[   19.293997] ==================================================================
[   19.294378] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   19.294378] 
[   19.294513] Out-of-bounds write at 0x00000000b2901723 (1B left of kfence-#81):
[   19.294575]  test_out_of_bounds_write+0x100/0x240
[   19.294986]  kunit_try_run_case+0x170/0x3f0
[   19.295104]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.295218]  kthread+0x328/0x630
[   19.295337]  ret_from_fork+0x10/0x20
[   19.295510] 
[   19.295627] kfence-#81: 0x000000005c7e1bd6-0x00000000afd816a2, size=32, cache=kmalloc-32
[   19.295627] 
[   19.296006] allocated by task 291 on cpu 0 at 19.293748s (0.002238s ago):
[   19.296170]  test_alloc+0x29c/0x628
[   19.296320]  test_out_of_bounds_write+0xc8/0x240
[   19.296390]  kunit_try_run_case+0x170/0x3f0
[   19.296764]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.296873]  kthread+0x328/0x630
[   19.296976]  ret_from_fork+0x10/0x20
[   19.297155] 
[   19.297248] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   19.297424] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.297500] Hardware name: linux,dummy-virt (DT)
[   19.297878] ==================================================================

[   17.551705] ==================================================================
[   17.552116] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.552116] 
[   17.552611] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#68):
[   17.552998]  test_out_of_bounds_write+0x10d/0x260
[   17.553227]  kunit_try_run_case+0x1a5/0x480
[   17.553433]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.553679]  kthread+0x337/0x6f0
[   17.553837]  ret_from_fork+0x116/0x1d0
[   17.554032]  ret_from_fork_asm+0x1a/0x30
[   17.554232] 
[   17.554317] kfence-#68: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.554317] 
[   17.555250] allocated by task 311 on cpu 0 at 17.551649s (0.003597s ago):
[   17.555505]  test_alloc+0x2a6/0x10f0
[   17.555643]  test_out_of_bounds_write+0xd4/0x260
[   17.556203]  kunit_try_run_case+0x1a5/0x480
[   17.556404]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.556649]  kthread+0x337/0x6f0
[   17.556806]  ret_from_fork+0x116/0x1d0
[   17.557126]  ret_from_fork_asm+0x1a/0x30
[   17.557299] 
[   17.557406] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   17.557930] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.558129] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.558489] ==================================================================
[   17.343739] ==================================================================
[   17.344152] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.344152] 
[   17.344600] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#66):
[   17.345152]  test_out_of_bounds_write+0x10d/0x260
[   17.345793]  kunit_try_run_case+0x1a5/0x480
[   17.346216]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.346638]  kthread+0x337/0x6f0
[   17.346850]  ret_from_fork+0x116/0x1d0
[   17.347167]  ret_from_fork_asm+0x1a/0x30
[   17.347476] 
[   17.347596] kfence-#66: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.347596] 
[   17.348162] allocated by task 309 on cpu 0 at 17.343632s (0.004528s ago):
[   17.348505]  test_alloc+0x364/0x10f0
[   17.348674]  test_out_of_bounds_write+0xd4/0x260
[   17.349139]  kunit_try_run_case+0x1a5/0x480
[   17.349317]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.349700]  kthread+0x337/0x6f0
[   17.349893]  ret_from_fork+0x116/0x1d0
[   17.350209]  ret_from_fork_asm+0x1a/0x30
[   17.350419] 
[   17.350713] CPU: 0 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   17.351180] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.351470] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.351947] ==================================================================