Hay
Date
July 11, 2025, 10:11 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   85.733093] ==================================================================
[   85.733223] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   85.733223] 
[   85.733381] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#139):
[   85.734539]  test_out_of_bounds_write+0x100/0x240
[   85.739225]  kunit_try_run_case+0x170/0x3f0
[   85.743392]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   85.748861]  kthread+0x328/0x630
[   85.752072]  ret_from_fork+0x10/0x20
[   85.755632] 
[   85.757111] kfence-#139: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   85.757111] 
[   85.766744] allocated by task 375 on cpu 4 at 85.733060s (0.033681s ago):
[   85.773532]  test_alloc+0x29c/0x628
[   85.776985]  test_out_of_bounds_write+0xc8/0x240
[   85.781586]  kunit_try_run_case+0x170/0x3f0
[   85.785752]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   85.791221]  kthread+0x328/0x630
[   85.794433]  ret_from_fork+0x10/0x20
[   85.797995] 
[   85.799478] CPU: 4 UID: 0 PID: 375 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT 
[   85.810588] Tainted: [B]=BAD_PAGE, [N]=TEST
[   85.814746] Hardware name: WinLink E850-96 board (DT)
[   85.819784] ==================================================================
[   86.045075] ==================================================================
[   86.045218] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   86.045218] 
[   86.045378] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#142):
[   86.046535]  test_out_of_bounds_write+0x100/0x240
[   86.051220]  kunit_try_run_case+0x170/0x3f0
[   86.055387]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   86.060856]  kthread+0x328/0x630
[   86.064067]  ret_from_fork+0x10/0x20
[   86.067626] 
[   86.069105] kfence-#142: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   86.069105] 
[   86.078219] allocated by task 377 on cpu 5 at 86.045040s (0.033177s ago):
[   86.085006]  test_alloc+0x230/0x628
[   86.088459]  test_out_of_bounds_write+0xc8/0x240
[   86.093060]  kunit_try_run_case+0x170/0x3f0
[   86.097227]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   86.102696]  kthread+0x328/0x630
[   86.105907]  ret_from_fork+0x10/0x20
[   86.109468] 
[   86.110952] CPU: 5 UID: 0 PID: 377 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT 
[   86.122062] Tainted: [B]=BAD_PAGE, [N]=TEST
[   86.126221] Hardware name: WinLink E850-96 board (DT)
[   86.131258] ==================================================================

[   34.406508] ==================================================================
[   34.406604] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   34.406604] 
[   34.406805] Out-of-bounds write at 0x0000000053304692 (1B left of kfence-#130):
[   34.406907]  test_out_of_bounds_write+0x100/0x240
[   34.407010]  kunit_try_run_case+0x170/0x3f0
[   34.407067]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.407108]  kthread+0x328/0x630
[   34.407165]  ret_from_fork+0x10/0x20
[   34.407225] 
[   34.407260] kfence-#130: 0x0000000032f2e0d9-0x0000000063cfa4a3, size=32, cache=kmalloc-32
[   34.407260] 
[   34.407340] allocated by task 322 on cpu 0 at 34.406286s (0.001033s ago):
[   34.407413]  test_alloc+0x29c/0x628
[   34.407456]  test_out_of_bounds_write+0xc8/0x240
[   34.407607]  kunit_try_run_case+0x170/0x3f0
[   34.407653]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.407700]  kthread+0x328/0x630
[   34.407768]  ret_from_fork+0x10/0x20
[   34.407809] 
[   34.407934] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT 
[   34.408075] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.408124] Hardware name: linux,dummy-virt (DT)
[   34.408253] ==================================================================
[   34.510317] ==================================================================
[   34.510408] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   34.510408] 
[   34.510545] Out-of-bounds write at 0x00000000a9236e87 (1B left of kfence-#131):
[   34.510618]  test_out_of_bounds_write+0x100/0x240
[   34.510691]  kunit_try_run_case+0x170/0x3f0
[   34.510748]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.510791]  kthread+0x328/0x630
[   34.510847]  ret_from_fork+0x10/0x20
[   34.510890] 
[   34.510966] kfence-#131: 0x00000000149145d4-0x000000003c87ab66, size=32, cache=test
[   34.510966] 
[   34.511188] allocated by task 324 on cpu 0 at 34.510213s (0.000960s ago):
[   34.511261]  test_alloc+0x230/0x628
[   34.511303]  test_out_of_bounds_write+0xc8/0x240
[   34.511374]  kunit_try_run_case+0x170/0x3f0
[   34.511504]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.511547]  kthread+0x328/0x630
[   34.511582]  ret_from_fork+0x10/0x20
[   34.511620] 
[   34.511666] CPU: 0 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT 
[   34.511753] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.511844] Hardware name: linux,dummy-virt (DT)
[   34.511898] ==================================================================

[   28.959685] ==================================================================
[   28.960085] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   28.960085] 
[   28.960562] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#96):
[   28.961230]  test_out_of_bounds_write+0x10d/0x260
[   28.961566]  kunit_try_run_case+0x1a5/0x480
[   28.961986]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.962300]  kthread+0x337/0x6f0
[   28.962563]  ret_from_fork+0x116/0x1d0
[   28.962818]  ret_from_fork_asm+0x1a/0x30
[   28.962981] 
[   28.963080] kfence-#96: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   28.963080] 
[   28.963627] allocated by task 341 on cpu 1 at 28.959570s (0.004055s ago):
[   28.963953]  test_alloc+0x364/0x10f0
[   28.964133]  test_out_of_bounds_write+0xd4/0x260
[   28.964331]  kunit_try_run_case+0x1a5/0x480
[   28.964807]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.965023]  kthread+0x337/0x6f0
[   28.965306]  ret_from_fork+0x116/0x1d0
[   28.965492]  ret_from_fork_asm+0x1a/0x30
[   28.965823] 
[   28.965999] CPU: 1 UID: 0 PID: 341 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT(voluntary) 
[   28.966572] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.966844] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   28.967195] ==================================================================
[   29.063680] ==================================================================
[   29.064077] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   29.064077] 
[   29.064594] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#97):
[   29.064861]  test_out_of_bounds_write+0x10d/0x260
[   29.065076]  kunit_try_run_case+0x1a5/0x480
[   29.065291]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.065638]  kthread+0x337/0x6f0
[   29.065857]  ret_from_fork+0x116/0x1d0
[   29.066050]  ret_from_fork_asm+0x1a/0x30
[   29.066255] 
[   29.066359] kfence-#97: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   29.066359] 
[   29.066718] allocated by task 343 on cpu 0 at 29.063624s (0.003092s ago):
[   29.066965]  test_alloc+0x2a6/0x10f0
[   29.067173]  test_out_of_bounds_write+0xd4/0x260
[   29.067405]  kunit_try_run_case+0x1a5/0x480
[   29.067626]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.067939]  kthread+0x337/0x6f0
[   29.068118]  ret_from_fork+0x116/0x1d0
[   29.068305]  ret_from_fork_asm+0x1a/0x30
[   29.068552] 
[   29.069103] CPU: 0 UID: 0 PID: 343 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT(voluntary) 
[   29.069470] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.069602] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.069868] ==================================================================