Hay
Date
June 25, 2025, 8:08 a.m.

Environment
qemu-arm64
qemu-x86_64

[   31.194096] ==================================================================
[   31.194421] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   31.194421] 
[   31.194782] Out-of-bounds write at 0x0000000030931e37 (1B left of kfence-#89):
[   31.195303]  test_out_of_bounds_write+0x100/0x240
[   31.195418]  kunit_try_run_case+0x170/0x3f0
[   31.195471]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.195516]  kthread+0x328/0x630
[   31.195742]  ret_from_fork+0x10/0x20
[   31.195812] 
[   31.195839] kfence-#89: 0x00000000cacf066f-0x00000000ec1e6156, size=32, cache=kmalloc-32
[   31.195839] 
[   31.196171] allocated by task 303 on cpu 0 at 31.193821s (0.002343s ago):
[   31.196307]  test_alloc+0x29c/0x628
[   31.196426]  test_out_of_bounds_write+0xc8/0x240
[   31.196479]  kunit_try_run_case+0x170/0x3f0
[   31.196520]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.196564]  kthread+0x328/0x630
[   31.197024]  ret_from_fork+0x10/0x20
[   31.197591] 
[   31.197696] CPU: 0 UID: 0 PID: 303 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250625 #1 PREEMPT 
[   31.197960] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.198288] Hardware name: linux,dummy-virt (DT)
[   31.198520] ==================================================================
[   31.296342] ==================================================================
[   31.296452] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   31.296452] 
[   31.296537] Out-of-bounds write at 0x00000000626102a9 (1B left of kfence-#90):
[   31.296594]  test_out_of_bounds_write+0x100/0x240
[   31.296642]  kunit_try_run_case+0x170/0x3f0
[   31.296686]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.296731]  kthread+0x328/0x630
[   31.296772]  ret_from_fork+0x10/0x20
[   31.296817] 
[   31.296842] kfence-#90: 0x00000000f2b75796-0x0000000043e8a102, size=32, cache=test
[   31.296842] 
[   31.296892] allocated by task 305 on cpu 0 at 31.296265s (0.000623s ago):
[   31.296961]  test_alloc+0x230/0x628
[   31.297002]  test_out_of_bounds_write+0xc8/0x240
[   31.297046]  kunit_try_run_case+0x170/0x3f0
[   31.297086]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.297128]  kthread+0x328/0x630
[   31.297164]  ret_from_fork+0x10/0x20
[   31.297203] 
[   31.297242] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250625 #1 PREEMPT 
[   31.297319] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.297348] Hardware name: linux,dummy-virt (DT)
[   31.297380] ==================================================================

[   26.836304] ==================================================================
[   26.836704] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   26.836704] 
[   26.837218] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#72):
[   26.837550]  test_out_of_bounds_write+0x10d/0x260
[   26.837756]  kunit_try_run_case+0x1a5/0x480
[   26.838019]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.838262]  kthread+0x337/0x6f0
[   26.838421]  ret_from_fork+0x116/0x1d0
[   26.838558]  ret_from_fork_asm+0x1a/0x30
[   26.838687] 
[   26.839199] kfence-#72: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   26.839199] 
[   26.839639] allocated by task 320 on cpu 1 at 26.836166s (0.003471s ago):
[   26.839929]  test_alloc+0x364/0x10f0
[   26.840061]  test_out_of_bounds_write+0xd4/0x260
[   26.840335]  kunit_try_run_case+0x1a5/0x480
[   26.840511]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.840762]  kthread+0x337/0x6f0
[   26.840876]  ret_from_fork+0x116/0x1d0
[   26.841059]  ret_from_fork_asm+0x1a/0x30
[   26.841263] 
[   26.841377] CPU: 1 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250625 #1 PREEMPT(voluntary) 
[   26.841915] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.842295] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   26.842666] ==================================================================
[   27.148227] ==================================================================
[   27.148633] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   27.148633] 
[   27.149089] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#75):
[   27.149436]  test_out_of_bounds_write+0x10d/0x260
[   27.149622]  kunit_try_run_case+0x1a5/0x480
[   27.149769]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.150030]  kthread+0x337/0x6f0
[   27.150304]  ret_from_fork+0x116/0x1d0
[   27.150470]  ret_from_fork_asm+0x1a/0x30
[   27.150605] 
[   27.150672] kfence-#75: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   27.150672] 
[   27.151060] allocated by task 322 on cpu 0 at 27.148158s (0.002899s ago):
[   27.151375]  test_alloc+0x2a6/0x10f0
[   27.151497]  test_out_of_bounds_write+0xd4/0x260
[   27.151642]  kunit_try_run_case+0x1a5/0x480
[   27.151925]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.152282]  kthread+0x337/0x6f0
[   27.152465]  ret_from_fork+0x116/0x1d0
[   27.152702]  ret_from_fork_asm+0x1a/0x30
[   27.152876] 
[   27.152995] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250625 #1 PREEMPT(voluntary) 
[   27.153446] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.153641] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.154015] ==================================================================