Hay
Date
July 23, 2025, 2:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   19.889506] ==================================================================
[   19.889608] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   19.889608] 
[   19.889966] Out-of-bounds write at 0x00000000124f38c3 (1B left of kfence-#86):
[   19.890273]  test_out_of_bounds_write+0x100/0x240
[   19.890346]  kunit_try_run_case+0x170/0x3f0
[   19.890389]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.890783]  kthread+0x328/0x630
[   19.890849]  ret_from_fork+0x10/0x20
[   19.890912] 
[   19.891304] kfence-#86: 0x000000008302907a-0x00000000eeab7d50, size=32, cache=test
[   19.891304] 
[   19.891560] allocated by task 293 on cpu 0 at 19.889308s (0.002210s ago):
[   19.891734]  test_alloc+0x230/0x628
[   19.892128]  test_out_of_bounds_write+0xc8/0x240
[   19.892248]  kunit_try_run_case+0x170/0x3f0
[   19.892425]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.892486]  kthread+0x328/0x630
[   19.892800]  ret_from_fork+0x10/0x20
[   19.892969] 
[   19.893089] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   19.893583] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.893695] Hardware name: linux,dummy-virt (DT)
[   19.893776] ==================================================================
[   19.576942] ==================================================================
[   19.577017] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   19.577017] 
[   19.577245] Out-of-bounds write at 0x0000000045117a8f (1B left of kfence-#83):
[   19.577436]  test_out_of_bounds_write+0x100/0x240
[   19.577499]  kunit_try_run_case+0x170/0x3f0
[   19.577812]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.577979]  kthread+0x328/0x630
[   19.578035]  ret_from_fork+0x10/0x20
[   19.578078] 
[   19.578114] kfence-#83: 0x00000000904c20a0-0x00000000c081050d, size=32, cache=kmalloc-32
[   19.578114] 
[   19.578172] allocated by task 291 on cpu 0 at 19.576369s (0.001799s ago):
[   19.578242]  test_alloc+0x29c/0x628
[   19.578282]  test_out_of_bounds_write+0xc8/0x240
[   19.578325]  kunit_try_run_case+0x170/0x3f0
[   19.578364]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.578419]  kthread+0x328/0x630
[   19.578472]  ret_from_fork+0x10/0x20
[   19.578515] 
[   19.579100] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   19.579202] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.579232] Hardware name: linux,dummy-virt (DT)
[   19.579267] ==================================================================

[   18.316647] ==================================================================
[   18.317083] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   18.317083] 
[   18.317557] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#74):
[   18.317900]  test_out_of_bounds_write+0x10d/0x260
[   18.318125]  kunit_try_run_case+0x1a5/0x480
[   18.318594]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.318813]  kthread+0x337/0x6f0
[   18.318987]  ret_from_fork+0x116/0x1d0
[   18.319157]  ret_from_fork_asm+0x1a/0x30
[   18.319382] 
[   18.319478] kfence-#74: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.319478] 
[   18.319844] allocated by task 308 on cpu 0 at 18.316516s (0.003326s ago):
[   18.320122]  test_alloc+0x364/0x10f0
[   18.321268]  test_out_of_bounds_write+0xd4/0x260
[   18.321507]  kunit_try_run_case+0x1a5/0x480
[   18.321798]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.322152]  kthread+0x337/0x6f0
[   18.322416]  ret_from_fork+0x116/0x1d0
[   18.322717]  ret_from_fork_asm+0x1a/0x30
[   18.322951] 
[   18.323075] CPU: 0 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   18.323635] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.323874] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.324218] ==================================================================
[   18.628568] ==================================================================
[   18.628991] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   18.628991] 
[   18.629443] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#77):
[   18.629791]  test_out_of_bounds_write+0x10d/0x260
[   18.629974]  kunit_try_run_case+0x1a5/0x480
[   18.630189]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.630447]  kthread+0x337/0x6f0
[   18.630576]  ret_from_fork+0x116/0x1d0
[   18.630907]  ret_from_fork_asm+0x1a/0x30
[   18.631115] 
[   18.631261] kfence-#77: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.631261] 
[   18.631534] allocated by task 310 on cpu 0 at 18.628509s (0.003021s ago):
[   18.631978]  test_alloc+0x2a6/0x10f0
[   18.632513]  test_out_of_bounds_write+0xd4/0x260
[   18.632704]  kunit_try_run_case+0x1a5/0x480
[   18.632888]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.633529]  kthread+0x337/0x6f0
[   18.633733]  ret_from_fork+0x116/0x1d0
[   18.633929]  ret_from_fork_asm+0x1a/0x30
[   18.634289] 
[   18.634408] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   18.634839] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.635009] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.635373] ==================================================================