Hay
Date
July 3, 2025, 11:10 p.m.

Environment
qemu-arm64
qemu-x86_64

[   24.887171] ==================================================================
[   24.887335] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   24.887335] 
[   24.888298] Out-of-bounds write at 0x0000000072e1e69a (1B left of kfence-#105):
[   24.888995]  test_out_of_bounds_write+0x100/0x240
[   24.889594]  kunit_try_run_case+0x170/0x3f0
[   24.889733]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.889822]  kthread+0x328/0x630
[   24.890341]  ret_from_fork+0x10/0x20
[   24.890493] 
[   24.890628] kfence-#105: 0x00000000ea4141f3-0x000000003daa2e49, size=32, cache=test
[   24.890628] 
[   24.890758] allocated by task 293 on cpu 1 at 24.887004s (0.003745s ago):
[   24.891322]  test_alloc+0x230/0x628
[   24.891798]  test_out_of_bounds_write+0xc8/0x240
[   24.892255]  kunit_try_run_case+0x170/0x3f0
[   24.892368]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.892465]  kthread+0x328/0x630
[   24.892566]  ret_from_fork+0x10/0x20
[   24.893092] 
[   24.893281] CPU: 1 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   24.893977] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.894066] Hardware name: linux,dummy-virt (DT)
[   24.894138] ==================================================================
[   24.783858] ==================================================================
[   24.784050] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   24.784050] 
[   24.784264] Out-of-bounds write at 0x00000000537f2a6a (1B left of kfence-#104):
[   24.784380]  test_out_of_bounds_write+0x100/0x240
[   24.784482]  kunit_try_run_case+0x170/0x3f0
[   24.784793]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.784986]  kthread+0x328/0x630
[   24.785091]  ret_from_fork+0x10/0x20
[   24.785181] 
[   24.785237] kfence-#104: 0x0000000096dca611-0x000000008da84b61, size=32, cache=kmalloc-32
[   24.785237] 
[   24.785539] allocated by task 291 on cpu 1 at 24.783514s (0.001962s ago):
[   24.785783]  test_alloc+0x29c/0x628
[   24.785884]  test_out_of_bounds_write+0xc8/0x240
[   24.785986]  kunit_try_run_case+0x170/0x3f0
[   24.786102]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.786199]  kthread+0x328/0x630
[   24.786282]  ret_from_fork+0x10/0x20
[   24.786370] 
[   24.786466] CPU: 1 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   24.787047] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.787142] Hardware name: linux,dummy-virt (DT)
[   24.787222] ==================================================================

[   16.753676] ==================================================================
[   16.754064] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.754064] 
[   16.754518] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#70):
[   16.754821]  test_out_of_bounds_write+0x10d/0x260
[   16.755065]  kunit_try_run_case+0x1a5/0x480
[   16.755301]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.755482]  kthread+0x337/0x6f0
[   16.755660]  ret_from_fork+0x116/0x1d0
[   16.755858]  ret_from_fork_asm+0x1a/0x30
[   16.756065] 
[   16.756183] kfence-#70: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.756183] 
[   16.756578] allocated by task 311 on cpu 0 at 16.753617s (0.002959s ago):
[   16.756861]  test_alloc+0x2a6/0x10f0
[   16.757009]  test_out_of_bounds_write+0xd4/0x260
[   16.757273]  kunit_try_run_case+0x1a5/0x480
[   16.757429]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.757687]  kthread+0x337/0x6f0
[   16.757821]  ret_from_fork+0x116/0x1d0
[   16.757955]  ret_from_fork_asm+0x1a/0x30
[   16.758132] 
[   16.758254] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   16.758771] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.758911] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.759618] ==================================================================
[   16.649675] ==================================================================
[   16.650074] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.650074] 
[   16.650734] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#69):
[   16.651061]  test_out_of_bounds_write+0x10d/0x260
[   16.651369]  kunit_try_run_case+0x1a5/0x480
[   16.651582]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.651889]  kthread+0x337/0x6f0
[   16.652062]  ret_from_fork+0x116/0x1d0
[   16.652233]  ret_from_fork_asm+0x1a/0x30
[   16.652593] 
[   16.652710] kfence-#69: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.652710] 
[   16.653073] allocated by task 309 on cpu 1 at 16.649550s (0.003521s ago):
[   16.653694]  test_alloc+0x364/0x10f0
[   16.653857]  test_out_of_bounds_write+0xd4/0x260
[   16.654066]  kunit_try_run_case+0x1a5/0x480
[   16.654731]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.655014]  kthread+0x337/0x6f0
[   16.655414]  ret_from_fork+0x116/0x1d0
[   16.655652]  ret_from_fork_asm+0x1a/0x30
[   16.655970] 
[   16.656080] CPU: 1 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   16.656658] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.656820] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.657223] ==================================================================