Hay
Date
May 30, 2025, 4:14 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   68.280946] ==================================================================
[   68.281076] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   68.281076] 
[   68.281230] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#112):
[   68.282395]  test_out_of_bounds_write+0x100/0x240
[   68.287081]  kunit_try_run_case+0x170/0x3f0
[   68.291247]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   68.296716]  kthread+0x328/0x630
[   68.299928]  ret_from_fork+0x10/0x20
[   68.303487] 
[   68.304966] kfence-#112: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   68.304966] 
[   68.314599] allocated by task 335 on cpu 1 at 68.280912s (0.033685s ago):
[   68.321388]  test_alloc+0x29c/0x628
[   68.324841]  test_out_of_bounds_write+0xc8/0x240
[   68.329443]  kunit_try_run_case+0x170/0x3f0
[   68.333608]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   68.339076]  kthread+0x328/0x630
[   68.342288]  ret_from_fork+0x10/0x20
[   68.345849] 
[   68.347335] CPU: 1 UID: 0 PID: 335 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250530 #1 PREEMPT 
[   68.358095] Tainted: [B]=BAD_PAGE, [N]=TEST
[   68.362255] Hardware name: WinLink E850-96 board (DT)
[   68.367290] ==================================================================
[   68.488948] ==================================================================
[   68.489077] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   68.489077] 
[   68.489230] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#114):
[   68.490397]  test_out_of_bounds_write+0x100/0x240
[   68.495082]  kunit_try_run_case+0x170/0x3f0
[   68.499249]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   68.504718]  kthread+0x328/0x630
[   68.507929]  ret_from_fork+0x10/0x20
[   68.511488] 
[   68.512966] kfence-#114: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   68.512966] 
[   68.522082] allocated by task 337 on cpu 3 at 68.488914s (0.033165s ago):
[   68.528869]  test_alloc+0x230/0x628
[   68.532321]  test_out_of_bounds_write+0xc8/0x240
[   68.536922]  kunit_try_run_case+0x170/0x3f0
[   68.541088]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   68.546557]  kthread+0x328/0x630
[   68.549769]  ret_from_fork+0x10/0x20
[   68.553330] 
[   68.554815] CPU: 3 UID: 0 PID: 337 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250530 #1 PREEMPT 
[   68.565578] Tainted: [B]=BAD_PAGE, [N]=TEST
[   68.569735] Hardware name: WinLink E850-96 board (DT)
[   68.574773] ==================================================================

[   31.197931] ==================================================================
[   31.198481] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   31.198481] 
[   31.198703] Out-of-bounds write at 0x0000000050041dbf (1B left of kfence-#136):
[   31.199067]  test_out_of_bounds_write+0x100/0x240
[   31.199322]  kunit_try_run_case+0x170/0x3f0
[   31.200178]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.200460]  kthread+0x328/0x630
[   31.200676]  ret_from_fork+0x10/0x20
[   31.200814] 
[   31.200954] kfence-#136: 0x00000000e9f557db-0x00000000d8040c5a, size=32, cache=kmalloc-32
[   31.200954] 
[   31.201367] allocated by task 292 on cpu 1 at 31.196844s (0.004495s ago):
[   31.201579]  test_alloc+0x29c/0x628
[   31.201702]  test_out_of_bounds_write+0xc8/0x240
[   31.201813]  kunit_try_run_case+0x170/0x3f0
[   31.201915]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.202107]  kthread+0x328/0x630
[   31.202234]  ret_from_fork+0x10/0x20
[   31.202479] 
[   31.202580] CPU: 1 UID: 0 PID: 292 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250530 #1 PREEMPT 
[   31.203321] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.203404] Hardware name: linux,dummy-virt (DT)
[   31.203500] ==================================================================
[   31.302998] ==================================================================
[   31.303148] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   31.303148] 
[   31.303331] Out-of-bounds write at 0x00000000cb5347bf (1B left of kfence-#137):
[   31.303459]  test_out_of_bounds_write+0x100/0x240
[   31.303574]  kunit_try_run_case+0x170/0x3f0
[   31.303701]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.303829]  kthread+0x328/0x630
[   31.304132]  ret_from_fork+0x10/0x20
[   31.304439] 
[   31.304507] kfence-#137: 0x00000000d2a77333-0x00000000d7abab4d, size=32, cache=test
[   31.304507] 
[   31.304642] allocated by task 294 on cpu 1 at 31.302553s (0.002072s ago):
[   31.305043]  test_alloc+0x230/0x628
[   31.305189]  test_out_of_bounds_write+0xc8/0x240
[   31.305330]  kunit_try_run_case+0x170/0x3f0
[   31.305454]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.305794]  kthread+0x328/0x630
[   31.305894]  ret_from_fork+0x10/0x20
[   31.305994] 
[   31.306088] CPU: 1 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250530 #1 PREEMPT 
[   31.306276] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.306342] Hardware name: linux,dummy-virt (DT)
[   31.306430] ==================================================================

[   26.953754] ==================================================================
[   26.954369] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   26.954369] 
[   26.955006] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#103):
[   26.955683]  test_out_of_bounds_write+0x10d/0x260
[   26.956172]  kunit_try_run_case+0x1a5/0x480
[   26.956630]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.957106]  kthread+0x337/0x6f0
[   26.957499]  ret_from_fork+0x116/0x1d0
[   26.957949]  ret_from_fork_asm+0x1a/0x30
[   26.958350] 
[   26.958597] kfence-#103: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   26.958597] 
[   26.959232] allocated by task 308 on cpu 0 at 26.953593s (0.005634s ago):
[   26.959974]  test_alloc+0x364/0x10f0
[   26.960333]  test_out_of_bounds_write+0xd4/0x260
[   26.960918]  kunit_try_run_case+0x1a5/0x480
[   26.961283]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.961744]  kthread+0x337/0x6f0
[   26.962162]  ret_from_fork+0x116/0x1d0
[   26.962595]  ret_from_fork_asm+0x1a/0x30
[   26.963036] 
[   26.963272] CPU: 0 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250530 #1 PREEMPT(voluntary) 
[   26.964628] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.965040] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   26.965969] ==================================================================
[   27.057825] ==================================================================
[   27.058455] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   27.058455] 
[   27.059305] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#104):
[   27.060640]  test_out_of_bounds_write+0x10d/0x260
[   27.061256]  kunit_try_run_case+0x1a5/0x480
[   27.061596]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.062129]  kthread+0x337/0x6f0
[   27.062542]  ret_from_fork+0x116/0x1d0
[   27.063353]  ret_from_fork_asm+0x1a/0x30
[   27.063672] 
[   27.064273] kfence-#104: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   27.064273] 
[   27.065011] allocated by task 310 on cpu 1 at 27.057716s (0.007290s ago):
[   27.066130]  test_alloc+0x2a6/0x10f0
[   27.066714]  test_out_of_bounds_write+0xd4/0x260
[   27.067322]  kunit_try_run_case+0x1a5/0x480
[   27.067968]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.068604]  kthread+0x337/0x6f0
[   27.069138]  ret_from_fork+0x116/0x1d0
[   27.069767]  ret_from_fork_asm+0x1a/0x30
[   27.070204] 
[   27.070484] CPU: 1 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250530 #1 PREEMPT(voluntary) 
[   27.071753] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.072306] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.073211] ==================================================================