Hay
Date
July 14, 2025, 10:38 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   84.449772] ==================================================================
[   84.449900] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   84.449900] 
[   84.450060] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#138):
[   84.451218]  test_out_of_bounds_write+0x100/0x240
[   84.455903]  kunit_try_run_case+0x170/0x3f0
[   84.460069]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   84.465538]  kthread+0x328/0x630
[   84.468750]  ret_from_fork+0x10/0x20
[   84.472309] 
[   84.473788] kfence-#138: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   84.473788] 
[   84.482902] allocated by task 377 on cpu 3 at 84.449738s (0.033160s ago):
[   84.489691]  test_alloc+0x230/0x628
[   84.493142]  test_out_of_bounds_write+0xc8/0x240
[   84.497743]  kunit_try_run_case+0x170/0x3f0
[   84.501909]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   84.507378]  kthread+0x328/0x630
[   84.510589]  ret_from_fork+0x10/0x20
[   84.514150] 
[   84.515634] CPU: 3 UID: 0 PID: 377 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250714 #1 PREEMPT 
[   84.526744] Tainted: [B]=BAD_PAGE, [N]=TEST
[   84.530903] Hardware name: WinLink E850-96 board (DT)
[   84.535940] ==================================================================
[   84.241786] ==================================================================
[   84.241933] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   84.241933] 
[   84.242091] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#136):
[   84.243249]  test_out_of_bounds_write+0x100/0x240
[   84.247934]  kunit_try_run_case+0x170/0x3f0
[   84.252101]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   84.257570]  kthread+0x328/0x630
[   84.260782]  ret_from_fork+0x10/0x20
[   84.264341] 
[   84.265819] kfence-#136: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   84.265819] 
[   84.275454] allocated by task 375 on cpu 2 at 84.241748s (0.033704s ago):
[   84.282242]  test_alloc+0x29c/0x628
[   84.285695]  test_out_of_bounds_write+0xc8/0x240
[   84.290296]  kunit_try_run_case+0x170/0x3f0
[   84.294462]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   84.299930]  kthread+0x328/0x630
[   84.303142]  ret_from_fork+0x10/0x20
[   84.306703] 
[   84.308188] CPU: 2 UID: 0 PID: 375 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250714 #1 PREEMPT 
[   84.319297] Tainted: [B]=BAD_PAGE, [N]=TEST
[   84.323456] Hardware name: WinLink E850-96 board (DT)
[   84.328492] ==================================================================

[   33.893549] ==================================================================
[   33.893650] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   33.893650] 
[   33.893855] Out-of-bounds write at 0x00000000aa5ddc1b (1B left of kfence-#125):
[   33.894119]  test_out_of_bounds_write+0x100/0x240
[   33.894295]  kunit_try_run_case+0x170/0x3f0
[   33.894513]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.894557]  kthread+0x328/0x630
[   33.894599]  ret_from_fork+0x10/0x20
[   33.894638] 
[   33.894665] kfence-#125: 0x0000000095ec527a-0x000000002871d083, size=32, cache=kmalloc-32
[   33.894665] 
[   33.895532] allocated by task 322 on cpu 0 at 33.893145s (0.001569s ago):
[   33.895622]  test_alloc+0x29c/0x628
[   33.895664]  test_out_of_bounds_write+0xc8/0x240
[   33.896333]  kunit_try_run_case+0x170/0x3f0
[   33.897067]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.897144]  kthread+0x328/0x630
[   33.897194]  ret_from_fork+0x10/0x20
[   33.897235] 
[   33.897372] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250714 #1 PREEMPT 
[   33.897865] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.898176] Hardware name: linux,dummy-virt (DT)
[   33.898540] ==================================================================
[   34.205584] ==================================================================
[   34.206008] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   34.206008] 
[   34.206214] Out-of-bounds write at 0x00000000ba849019 (1B left of kfence-#128):
[   34.206277]  test_out_of_bounds_write+0x100/0x240
[   34.206371]  kunit_try_run_case+0x170/0x3f0
[   34.206466]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.206512]  kthread+0x328/0x630
[   34.206712]  ret_from_fork+0x10/0x20
[   34.206881] 
[   34.206947] kfence-#128: 0x00000000c77a9003-0x0000000069b3d0c2, size=32, cache=test
[   34.206947] 
[   34.207103] allocated by task 324 on cpu 0 at 34.205490s (0.001525s ago):
[   34.207216]  test_alloc+0x230/0x628
[   34.207275]  test_out_of_bounds_write+0xc8/0x240
[   34.207319]  kunit_try_run_case+0x170/0x3f0
[   34.207745]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.207840]  kthread+0x328/0x630
[   34.207886]  ret_from_fork+0x10/0x20
[   34.207998] 
[   34.208058] CPU: 0 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250714 #1 PREEMPT 
[   34.208147] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.208178] Hardware name: linux,dummy-virt (DT)
[   34.208270] ==================================================================

[   29.500376] ==================================================================
[   29.500777] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   29.500777] 
[   29.501467] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#95):
[   29.501851]  test_out_of_bounds_write+0x10d/0x260
[   29.502062]  kunit_try_run_case+0x1a5/0x480
[   29.502210]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.502740]  kthread+0x337/0x6f0
[   29.502913]  ret_from_fork+0x116/0x1d0
[   29.503121]  ret_from_fork_asm+0x1a/0x30
[   29.503309] 
[   29.503426] kfence-#95: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   29.503426] 
[   29.503802] allocated by task 342 on cpu 0 at 29.500313s (0.003487s ago):
[   29.504226]  test_alloc+0x2a6/0x10f0
[   29.504433]  test_out_of_bounds_write+0xd4/0x260
[   29.504648]  kunit_try_run_case+0x1a5/0x480
[   29.504878]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.505156]  kthread+0x337/0x6f0
[   29.505353]  ret_from_fork+0x116/0x1d0
[   29.505556]  ret_from_fork_asm+0x1a/0x30
[   29.505755] 
[   29.505849] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc6-next-20250714 #1 PREEMPT(voluntary) 
[   29.506474] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   29.506666] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.507290] ==================================================================
[   29.396425] ==================================================================
[   29.396908] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   29.396908] 
[   29.397321] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#94):
[   29.397639]  test_out_of_bounds_write+0x10d/0x260
[   29.397816]  kunit_try_run_case+0x1a5/0x480
[   29.398089]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.398423]  kthread+0x337/0x6f0
[   29.398544]  ret_from_fork+0x116/0x1d0
[   29.398841]  ret_from_fork_asm+0x1a/0x30
[   29.399058] 
[   29.399153] kfence-#94: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   29.399153] 
[   29.399494] allocated by task 340 on cpu 1 at 29.396299s (0.003192s ago):
[   29.399796]  test_alloc+0x364/0x10f0
[   29.399998]  test_out_of_bounds_write+0xd4/0x260
[   29.400216]  kunit_try_run_case+0x1a5/0x480
[   29.400381]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.400584]  kthread+0x337/0x6f0
[   29.400755]  ret_from_fork+0x116/0x1d0
[   29.401032]  ret_from_fork_asm+0x1a/0x30
[   29.401168] 
[   29.401264] CPU: 1 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc6-next-20250714 #1 PREEMPT(voluntary) 
[   29.401813] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   29.402073] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.402433] ==================================================================