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

Environment
qemu-arm64
qemu-x86_64

[   20.500111] ==================================================================
[   20.500181] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   20.500181] 
[   20.500279] Out-of-bounds write at 0x00000000e58bfd0b (1B left of kfence-#88):
[   20.500342]  test_out_of_bounds_write+0x100/0x240
[   20.500392]  kunit_try_run_case+0x170/0x3f0
[   20.500437]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.500479]  kthread+0x328/0x630
[   20.500518]  ret_from_fork+0x10/0x20
[   20.500556] 
[   20.500581] kfence-#88: 0x00000000b9c338b8-0x0000000042bcc925, size=32, cache=kmalloc-32
[   20.500581] 
[   20.500633] allocated by task 292 on cpu 1 at 20.499967s (0.000662s ago):
[   20.500701]  test_alloc+0x29c/0x628
[   20.500740]  test_out_of_bounds_write+0xc8/0x240
[   20.500781]  kunit_try_run_case+0x170/0x3f0
[   20.500821]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.501122]  kthread+0x328/0x630
[   20.501419]  ret_from_fork+0x10/0x20
[   20.501792] 
[   20.502087] CPU: 1 UID: 0 PID: 292 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   20.502525] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.502561] Hardware name: linux,dummy-virt (DT)
[   20.502657] ==================================================================
[   20.605414] ==================================================================
[   20.605514] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   20.605514] 
[   20.605605] Out-of-bounds write at 0x00000000a861e4fd (1B left of kfence-#89):
[   20.605660]  test_out_of_bounds_write+0x100/0x240
[   20.605708]  kunit_try_run_case+0x170/0x3f0
[   20.606064]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.606295]  kthread+0x328/0x630
[   20.606460]  ret_from_fork+0x10/0x20
[   20.606540] 
[   20.606580] kfence-#89: 0x00000000e82a4ed2-0x00000000a527098a, size=32, cache=test
[   20.606580] 
[   20.606635] allocated by task 294 on cpu 1 at 20.605071s (0.001560s ago):
[   20.606705]  test_alloc+0x230/0x628
[   20.607020]  test_out_of_bounds_write+0xc8/0x240
[   20.607168]  kunit_try_run_case+0x170/0x3f0
[   20.607257]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.607304]  kthread+0x328/0x630
[   20.607369]  ret_from_fork+0x10/0x20
[   20.607774] 
[   20.607955] CPU: 1 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   20.608320] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.608437] Hardware name: linux,dummy-virt (DT)
[   20.608474] ==================================================================

[   18.271498] ==================================================================
[   18.271978] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   18.271978] 
[   18.272404] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#74):
[   18.272665]  test_out_of_bounds_write+0x10d/0x260
[   18.272988]  kunit_try_run_case+0x1a5/0x480
[   18.273213]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.273407]  kthread+0x337/0x6f0
[   18.273569]  ret_from_fork+0x116/0x1d0
[   18.273761]  ret_from_fork_asm+0x1a/0x30
[   18.273996] 
[   18.274082] kfence-#74: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.274082] 
[   18.274420] allocated by task 308 on cpu 1 at 18.271327s (0.003091s ago):
[   18.274732]  test_alloc+0x364/0x10f0
[   18.274863]  test_out_of_bounds_write+0xd4/0x260
[   18.275224]  kunit_try_run_case+0x1a5/0x480
[   18.275436]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.275647]  kthread+0x337/0x6f0
[   18.275810]  ret_from_fork+0x116/0x1d0
[   18.275985]  ret_from_fork_asm+0x1a/0x30
[   18.276128] 
[   18.276222] CPU: 1 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   18.276706] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.276845] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.277266] ==================================================================
[   18.375408] ==================================================================
[   18.375824] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   18.375824] 
[   18.376331] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#75):
[   18.377212]  test_out_of_bounds_write+0x10d/0x260
[   18.377463]  kunit_try_run_case+0x1a5/0x480
[   18.377829]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.378186]  kthread+0x337/0x6f0
[   18.378367]  ret_from_fork+0x116/0x1d0
[   18.378539]  ret_from_fork_asm+0x1a/0x30
[   18.378717] 
[   18.378791] kfence-#75: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.378791] 
[   18.379186] allocated by task 310 on cpu 1 at 18.375353s (0.003831s ago):
[   18.379493]  test_alloc+0x2a6/0x10f0
[   18.379658]  test_out_of_bounds_write+0xd4/0x260
[   18.380334]  kunit_try_run_case+0x1a5/0x480
[   18.380517]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.381063]  kthread+0x337/0x6f0
[   18.381330]  ret_from_fork+0x116/0x1d0
[   18.381585]  ret_from_fork_asm+0x1a/0x30
[   18.381897] 
[   18.382048] CPU: 1 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   18.382638] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.382991] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.383479] ==================================================================