Hay
Date
July 9, 2025, 11:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   21.184748] ==================================================================
[   21.184844] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   21.184844] 
[   21.184932] Out-of-bounds write at 0x00000000e3610671 (1B left of kfence-#92):
[   21.184989]  test_out_of_bounds_write+0x100/0x240
[   21.185040]  kunit_try_run_case+0x170/0x3f0
[   21.185087]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.185146]  kthread+0x328/0x630
[   21.185188]  ret_from_fork+0x10/0x20
[   21.185245] 
[   21.185269] kfence-#92: 0x00000000683c64ec-0x00000000d2232868, size=32, cache=test
[   21.185269] 
[   21.185327] allocated by task 293 on cpu 0 at 21.184613s (0.000710s ago):
[   21.185407]  test_alloc+0x230/0x628
[   21.185449]  test_out_of_bounds_write+0xc8/0x240
[   21.185490]  kunit_try_run_case+0x170/0x3f0
[   21.185544]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.185589]  kthread+0x328/0x630
[   21.185631]  ret_from_fork+0x10/0x20
[   21.185677] 
[   21.185725] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   21.185808] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.185848] Hardware name: linux,dummy-virt (DT)
[   21.185885] ==================================================================
[   20.870139] ==================================================================
[   20.870233] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   20.870233] 
[   20.870548] Out-of-bounds write at 0x00000000f1afe0d0 (1B left of kfence-#89):
[   20.870692]  test_out_of_bounds_write+0x100/0x240
[   20.870765]  kunit_try_run_case+0x170/0x3f0
[   20.870851]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.871214]  kthread+0x328/0x630
[   20.871302]  ret_from_fork+0x10/0x20
[   20.871348] 
[   20.871373] kfence-#89: 0x000000000feb966a-0x0000000086bd7ab5, size=32, cache=kmalloc-32
[   20.871373] 
[   20.871525] allocated by task 291 on cpu 0 at 20.869404s (0.002060s ago):
[   20.871839]  test_alloc+0x29c/0x628
[   20.871992]  test_out_of_bounds_write+0xc8/0x240
[   20.872086]  kunit_try_run_case+0x170/0x3f0
[   20.872488]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.872567]  kthread+0x328/0x630
[   20.872628]  ret_from_fork+0x10/0x20
[   20.872675] 
[   20.872739] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   20.872822] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.872851] Hardware name: linux,dummy-virt (DT)
[   20.872894] ==================================================================

[   17.907394] ==================================================================
[   17.907801] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.907801] 
[   17.908295] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#71):
[   17.908997]  test_out_of_bounds_write+0x10d/0x260
[   17.909245]  kunit_try_run_case+0x1a5/0x480
[   17.909450]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.909692]  kthread+0x337/0x6f0
[   17.909868]  ret_from_fork+0x116/0x1d0
[   17.910418]  ret_from_fork_asm+0x1a/0x30
[   17.910612] 
[   17.910714] kfence-#71: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.910714] 
[   17.911286] allocated by task 310 on cpu 1 at 17.907337s (0.003947s ago):
[   17.911691]  test_alloc+0x2a6/0x10f0
[   17.911880]  test_out_of_bounds_write+0xd4/0x260
[   17.912083]  kunit_try_run_case+0x1a5/0x480
[   17.912507]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.912738]  kthread+0x337/0x6f0
[   17.913032]  ret_from_fork+0x116/0x1d0
[   17.913343]  ret_from_fork_asm+0x1a/0x30
[   17.913612] 
[   17.913736] CPU: 1 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   17.914363] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.914555] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.914927] ==================================================================
[   17.491400] ==================================================================
[   17.491805] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.491805] 
[   17.492308] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#67):
[   17.492962]  test_out_of_bounds_write+0x10d/0x260
[   17.493484]  kunit_try_run_case+0x1a5/0x480
[   17.493749]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.494054]  kthread+0x337/0x6f0
[   17.494240]  ret_from_fork+0x116/0x1d0
[   17.494408]  ret_from_fork_asm+0x1a/0x30
[   17.494589] 
[   17.494672] kfence-#67: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.494672] 
[   17.495385] allocated by task 308 on cpu 1 at 17.491270s (0.004112s ago):
[   17.495688]  test_alloc+0x364/0x10f0
[   17.495870]  test_out_of_bounds_write+0xd4/0x260
[   17.496273]  kunit_try_run_case+0x1a5/0x480
[   17.496558]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.496789]  kthread+0x337/0x6f0
[   17.497070]  ret_from_fork+0x116/0x1d0
[   17.497322]  ret_from_fork_asm+0x1a/0x30
[   17.497486] 
[   17.497611] CPU: 1 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   17.498267] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.498454] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.498830] ==================================================================