Hay
Date
May 23, 2025, 11:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   34.065633] ==================================================================
[   34.065804] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   34.065804] 
[   34.066013] Out-of-bounds write at 0x0000000017fdd83e (1B left of kfence-#156):
[   34.066172]  test_out_of_bounds_write+0x100/0x240
[   34.066305]  kunit_try_run_case+0x170/0x3f0
[   34.066427]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.066798]  kthread+0x328/0x630
[   34.067469]  ret_from_fork+0x10/0x20
[   34.067609] 
[   34.067945] kfence-#156: 0x00000000f473a692-0x000000007b442707, size=32, cache=test
[   34.067945] 
[   34.068317] allocated by task 295 on cpu 0 at 34.065434s (0.002858s ago):
[   34.068609]  test_alloc+0x230/0x628
[   34.068716]  test_out_of_bounds_write+0xc8/0x240
[   34.068834]  kunit_try_run_case+0x170/0x3f0
[   34.069101]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.069576]  kthread+0x328/0x630
[   34.069818]  ret_from_fork+0x10/0x20
[   34.069981] 
[   34.070063] CPU: 0 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7 #1 PREEMPT 
[   34.070228] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.070299] Hardware name: linux,dummy-virt (DT)
[   34.070371] ==================================================================
[   33.531557] ==================================================================
[   33.531750] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   33.531750] 
[   33.532047] Out-of-bounds write at 0x00000000e15fbddd (1B left of kfence-#151):
[   33.532825]  test_out_of_bounds_write+0x100/0x240
[   33.533001]  kunit_try_run_case+0x170/0x3f0
[   33.533188]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.533352]  kthread+0x328/0x630
[   33.533526]  ret_from_fork+0x10/0x20
[   33.533650] 
[   33.533757] kfence-#151: 0x0000000063b11c0a-0x00000000d5a2888f, size=32, cache=kmalloc-32
[   33.533757] 
[   33.533925] allocated by task 293 on cpu 0 at 33.530877s (0.003037s ago):
[   33.534096]  test_alloc+0x29c/0x628
[   33.534215]  test_out_of_bounds_write+0xc8/0x240
[   33.534332]  kunit_try_run_case+0x170/0x3f0
[   33.534485]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.534679]  kthread+0x328/0x630
[   33.534897]  ret_from_fork+0x10/0x20
[   33.535013] 
[   33.535185] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7 #1 PREEMPT 
[   33.535722] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.535851] Hardware name: linux,dummy-virt (DT)
[   33.535949] ==================================================================

[   17.526283] ==================================================================
[   17.526799] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.526799] 
[   17.527437] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#66):
[   17.527743]  test_out_of_bounds_write+0x10d/0x260
[   17.527941]  kunit_try_run_case+0x1a5/0x480
[   17.528163]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.528450]  kthread+0x337/0x6f0
[   17.528575]  ret_from_fork+0x41/0x80
[   17.528760]  ret_from_fork_asm+0x1a/0x30
[   17.528958] 
[   17.529120] kfence-#66: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.529120] 
[   17.529437] allocated by task 310 on cpu 0 at 17.526182s (0.003253s ago):
[   17.529806]  test_alloc+0x364/0x10f0
[   17.530035]  test_out_of_bounds_write+0xd4/0x260
[   17.530272]  kunit_try_run_case+0x1a5/0x480
[   17.530518]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.530763]  kthread+0x337/0x6f0
[   17.530938]  ret_from_fork+0x41/0x80
[   17.531149]  ret_from_fork_asm+0x1a/0x30
[   17.531358] 
[   17.531482] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7 #1 PREEMPT(voluntary) 
[   17.532027] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.532164] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.532760] ==================================================================
[   17.630291] ==================================================================
[   17.630804] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.630804] 
[   17.631854] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#67):
[   17.632147]  test_out_of_bounds_write+0x10d/0x260
[   17.632394]  kunit_try_run_case+0x1a5/0x480
[   17.632992]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.633230]  kthread+0x337/0x6f0
[   17.633402]  ret_from_fork+0x41/0x80
[   17.633756]  ret_from_fork_asm+0x1a/0x30
[   17.634046] 
[   17.634135] kfence-#67: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.634135] 
[   17.634678] allocated by task 312 on cpu 0 at 17.630230s (0.004445s ago):
[   17.635155]  test_alloc+0x2a6/0x10f0
[   17.635419]  test_out_of_bounds_write+0xd4/0x260
[   17.635731]  kunit_try_run_case+0x1a5/0x480
[   17.635908]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.636140]  kthread+0x337/0x6f0
[   17.636286]  ret_from_fork+0x41/0x80
[   17.636750]  ret_from_fork_asm+0x1a/0x30
[   17.636944] 
[   17.637052] CPU: 0 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7 #1 PREEMPT(voluntary) 
[   17.637686] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.637957] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.638334] ==================================================================