Hay
Date
July 22, 2025, 2:40 p.m.

Environment
qemu-arm64
qemu-x86_64

[   21.436134] ==================================================================
[   21.436292] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   21.436292] 
[   21.436661] Out-of-bounds write at 0x000000003de17f05 (1B left of kfence-#87):
[   21.436760]  test_out_of_bounds_write+0x100/0x240
[   21.436811]  kunit_try_run_case+0x170/0x3f0
[   21.437353]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.437429]  kthread+0x328/0x630
[   21.437475]  ret_from_fork+0x10/0x20
[   21.437551] 
[   21.437608] kfence-#87: 0x00000000dbac01e3-0x00000000aeed0d55, size=32, cache=test
[   21.437608] 
[   21.437687] allocated by task 295 on cpu 0 at 21.436008s (0.001674s ago):
[   21.438096]  test_alloc+0x230/0x628
[   21.438398]  test_out_of_bounds_write+0xc8/0x240
[   21.438799]  kunit_try_run_case+0x170/0x3f0
[   21.439155]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.439198]  kthread+0x328/0x630
[   21.439238]  ret_from_fork+0x10/0x20
[   21.439293] 
[   21.439340] CPU: 0 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N  6.15.8-rc1 #1 PREEMPT 
[   21.439900] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.439991] Hardware name: linux,dummy-virt (DT)
[   21.440714] ==================================================================
[   21.332238] ==================================================================
[   21.332338] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   21.332338] 
[   21.332475] Out-of-bounds write at 0x000000002c1cff80 (1B left of kfence-#86):
[   21.332559]  test_out_of_bounds_write+0x100/0x240
[   21.332606]  kunit_try_run_case+0x170/0x3f0
[   21.332801]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.333000]  kthread+0x328/0x630
[   21.333104]  ret_from_fork+0x10/0x20
[   21.333181] 
[   21.333207] kfence-#86: 0x000000002ea94eb9-0x0000000035224b01, size=32, cache=kmalloc-32
[   21.333207] 
[   21.333337] allocated by task 293 on cpu 0 at 21.331656s (0.001659s ago):
[   21.333437]  test_alloc+0x29c/0x628
[   21.333486]  test_out_of_bounds_write+0xc8/0x240
[   21.333527]  kunit_try_run_case+0x170/0x3f0
[   21.333737]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.333927]  kthread+0x328/0x630
[   21.333979]  ret_from_fork+0x10/0x20
[   21.334037] 
[   21.334233] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.15.8-rc1 #1 PREEMPT 
[   21.334338] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.334369] Hardware name: linux,dummy-virt (DT)
[   21.334403] ==================================================================

[   16.040131] ==================================================================
[   16.040572] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.040572] 
[   16.041081] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#70):
[   16.041554]  test_out_of_bounds_write+0x10d/0x260
[   16.041792]  kunit_try_run_case+0x1a5/0x480
[   16.041975]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.042239]  kthread+0x337/0x6f0
[   16.042442]  ret_from_fork+0x41/0x80
[   16.042638]  ret_from_fork_asm+0x1a/0x30
[   16.042855] 
[   16.042952] kfence-#70: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.042952] 
[   16.043286] allocated by task 311 on cpu 0 at 16.040036s (0.003248s ago):
[   16.043562]  test_alloc+0x364/0x10f0
[   16.043867]  test_out_of_bounds_write+0xd4/0x260
[   16.044214]  kunit_try_run_case+0x1a5/0x480
[   16.044507]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.044728]  kthread+0x337/0x6f0
[   16.044921]  ret_from_fork+0x41/0x80
[   16.045127]  ret_from_fork_asm+0x1a/0x30
[   16.045335] 
[   16.045536] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.8-rc1 #1 PREEMPT(voluntary) 
[   16.045997] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.046209] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.046699] ==================================================================
[   16.352044] ==================================================================
[   16.352507] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.352507] 
[   16.352878] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#73):
[   16.353239]  test_out_of_bounds_write+0x10d/0x260
[   16.353412]  kunit_try_run_case+0x1a5/0x480
[   16.353715]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.354102]  kthread+0x337/0x6f0
[   16.354237]  ret_from_fork+0x41/0x80
[   16.354389]  ret_from_fork_asm+0x1a/0x30
[   16.354589] 
[   16.354689] kfence-#73: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.354689] 
[   16.355085] allocated by task 313 on cpu 1 at 16.351984s (0.003098s ago):
[   16.355366]  test_alloc+0x2a6/0x10f0
[   16.355561]  test_out_of_bounds_write+0xd4/0x260
[   16.355751]  kunit_try_run_case+0x1a5/0x480
[   16.355896]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.356099]  kthread+0x337/0x6f0
[   16.356285]  ret_from_fork+0x41/0x80
[   16.356576]  ret_from_fork_asm+0x1a/0x30
[   16.356778] 
[   16.356898] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.8-rc1 #1 PREEMPT(voluntary) 
[   16.357240] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.357450] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.357847] ==================================================================