Hay
Date
June 23, 2025, 7:07 a.m.

Environment
qemu-arm64
qemu-x86_64

[   38.669644] ==================================================================
[   38.669778] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   38.669778] 
[   38.670926] Out-of-bounds write at 0x00000000dd1f3a7a (1B left of kfence-#121):
[   38.671118]  test_out_of_bounds_write+0x100/0x240
[   38.672458]  kunit_try_run_case+0x170/0x3f0
[   38.672657]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.673458]  kthread+0x328/0x630
[   38.673598]  ret_from_fork+0x10/0x20
[   38.673695] 
[   38.673757] kfence-#121: 0x00000000ecde970c-0x00000000cc58a22c, size=32, cache=test
[   38.673757] 
[   38.675237] allocated by task 305 on cpu 0 at 38.669004s (0.006103s ago):
[   38.676015]  test_alloc+0x230/0x628
[   38.676569]  test_out_of_bounds_write+0xc8/0x240
[   38.676688]  kunit_try_run_case+0x170/0x3f0
[   38.676792]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.678076]  kthread+0x328/0x630
[   38.678228]  ret_from_fork+0x10/0x20
[   38.679014] 
[   38.679549] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250623 #1 PREEMPT 
[   38.680230] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.680303] Hardware name: linux,dummy-virt (DT)
[   38.681248] ==================================================================
[   38.564916] ==================================================================
[   38.565157] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   38.565157] 
[   38.565341] Out-of-bounds write at 0x0000000070181cce (1B left of kfence-#120):
[   38.565464]  test_out_of_bounds_write+0x100/0x240
[   38.565572]  kunit_try_run_case+0x170/0x3f0
[   38.565677]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.565783]  kthread+0x328/0x630
[   38.565877]  ret_from_fork+0x10/0x20
[   38.565974] 
[   38.566047] kfence-#120: 0x000000005c11ca3d-0x00000000afa1abd7, size=32, cache=kmalloc-32
[   38.566047] 
[   38.566169] allocated by task 303 on cpu 0 at 38.562167s (0.003993s ago):
[   38.566323]  test_alloc+0x29c/0x628
[   38.566421]  test_out_of_bounds_write+0xc8/0x240
[   38.566517]  kunit_try_run_case+0x170/0x3f0
[   38.566960]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.567432]  kthread+0x328/0x630
[   38.567819]  ret_from_fork+0x10/0x20
[   38.568490] 
[   38.569219] CPU: 0 UID: 0 PID: 303 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250623 #1 PREEMPT 
[   38.569489] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.569562] Hardware name: linux,dummy-virt (DT)
[   38.570638] ==================================================================

[   27.300532] ==================================================================
[   27.300833] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   27.300833] 
[   27.301351] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#83):
[   27.301696]  test_out_of_bounds_write+0x10d/0x260
[   27.302014]  kunit_try_run_case+0x1a5/0x480
[   27.302272]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.302561]  kthread+0x337/0x6f0
[   27.302711]  ret_from_fork+0x116/0x1d0
[   27.303033]  ret_from_fork_asm+0x1a/0x30
[   27.303318] 
[   27.303458] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   27.303458] 
[   27.303880] allocated by task 320 on cpu 1 at 27.300373s (0.003503s ago):
[   27.304240]  test_alloc+0x364/0x10f0
[   27.304441]  test_out_of_bounds_write+0xd4/0x260
[   27.304609]  kunit_try_run_case+0x1a5/0x480
[   27.304785]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.305148]  kthread+0x337/0x6f0
[   27.305484]  ret_from_fork+0x116/0x1d0
[   27.305675]  ret_from_fork_asm+0x1a/0x30
[   27.305833] 
[   27.305956] CPU: 1 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250623 #1 PREEMPT(voluntary) 
[   27.306921] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.307131] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.307505] ==================================================================
[   27.924504] ==================================================================
[   27.924911] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   27.924911] 
[   27.925257] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#89):
[   27.925853]  test_out_of_bounds_write+0x10d/0x260
[   27.926210]  kunit_try_run_case+0x1a5/0x480
[   27.926397]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.926577]  kthread+0x337/0x6f0
[   27.926828]  ret_from_fork+0x116/0x1d0
[   27.927163]  ret_from_fork_asm+0x1a/0x30
[   27.927461] 
[   27.927581] kfence-#89: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   27.927581] 
[   27.928003] allocated by task 322 on cpu 0 at 27.924406s (0.003593s ago):
[   27.928262]  test_alloc+0x2a6/0x10f0
[   27.928535]  test_out_of_bounds_write+0xd4/0x260
[   27.928837]  kunit_try_run_case+0x1a5/0x480
[   27.929175]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.929421]  kthread+0x337/0x6f0
[   27.929597]  ret_from_fork+0x116/0x1d0
[   27.929748]  ret_from_fork_asm+0x1a/0x30
[   27.929996] 
[   27.930260] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250623 #1 PREEMPT(voluntary) 
[   27.930902] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.931164] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.931433] ==================================================================