Hay
Date
June 7, 2025, 10:40 a.m.

Environment
qemu-arm64
qemu-x86_64

[   29.048310] ==================================================================
[   29.049046] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   29.049046] 
[   29.049782] Out-of-bounds write at 0x00000000fc9eccce (1B left of kfence-#122):
[   29.050591]  test_out_of_bounds_write+0x100/0x240
[   29.051207]  kunit_try_run_case+0x170/0x3f0
[   29.051876]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.052736]  kthread+0x24c/0x2d0
[   29.053400]  ret_from_fork+0x10/0x20
[   29.053933] 
[   29.054328] kfence-#122: 0x000000009596f362-0x00000000a62b33bd, size=32, cache=test
[   29.054328] 
[   29.055337] allocated by task 277 on cpu 0 at 29.048158s (0.007165s ago):
[   29.056174]  test_alloc+0x230/0x628
[   29.056738]  test_out_of_bounds_write+0xc8/0x240
[   29.057420]  kunit_try_run_case+0x170/0x3f0
[   29.058081]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.058761]  kthread+0x24c/0x2d0
[   29.059336]  ret_from_fork+0x10/0x20
[   29.059885] 
[   29.060310] CPU: 0 UID: 0 PID: 277 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   29.061338] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.061877] Hardware name: linux,dummy-virt (DT)
[   29.062474] ==================================================================
[   28.528237] ==================================================================
[   28.529027] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   28.529027] 
[   28.529805] Out-of-bounds write at 0x0000000095851409 (1B left of kfence-#117):
[   28.530633]  test_out_of_bounds_write+0x100/0x240
[   28.531298]  kunit_try_run_case+0x170/0x3f0
[   28.531853]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.532464]  kthread+0x24c/0x2d0
[   28.533001]  ret_from_fork+0x10/0x20
[   28.533520] 
[   28.533841] kfence-#117: 0x0000000068332b06-0x00000000823c80ae, size=32, cache=kmalloc-32
[   28.533841] 
[   28.534730] allocated by task 275 on cpu 1 at 28.527997s (0.006720s ago):
[   28.535510]  test_alloc+0x29c/0x628
[   28.536027]  test_out_of_bounds_write+0xc8/0x240
[   28.536626]  kunit_try_run_case+0x170/0x3f0
[   28.537189]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.537819]  kthread+0x24c/0x2d0
[   28.538362]  ret_from_fork+0x10/0x20
[   28.538879] 
[   28.539259] CPU: 1 UID: 0 PID: 275 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   28.540082] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.540637] Hardware name: linux,dummy-virt (DT)
[   28.541232] ==================================================================

[   25.679178] ==================================================================
[   25.679910] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10e/0x260
[   25.679910] 
[   25.680736] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#96):
[   25.681365]  test_out_of_bounds_write+0x10e/0x260
[   25.682000]  kunit_try_run_case+0x1a6/0x480
[   25.682432]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.683008]  kthread+0x257/0x310
[   25.683413]  ret_from_fork+0x41/0x80
[   25.683882]  ret_from_fork_asm+0x1a/0x30
[   25.684304] 
[   25.684503] kfence-#96: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   25.684503] 
[   25.685382] allocated by task 292 on cpu 0 at 25.679023s (0.006318s ago):
[   25.686004]  test_alloc+0x365/0x10f0
[   25.686451]  test_out_of_bounds_write+0xd5/0x260
[   25.686961]  kunit_try_run_case+0x1a6/0x480
[   25.687377]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.687789]  kthread+0x257/0x310
[   25.688393]  ret_from_fork+0x41/0x80
[   25.688824]  ret_from_fork_asm+0x1a/0x30
[   25.689302] 
[   25.689638] CPU: 0 UID: 0 PID: 292 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   25.690533] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.690933] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.691719] ==================================================================
[   25.783213] ==================================================================
[   25.783894] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10e/0x260
[   25.783894] 
[   25.784747] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#97):
[   25.785330]  test_out_of_bounds_write+0x10e/0x260
[   25.785823]  kunit_try_run_case+0x1a6/0x480
[   25.786371]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.786835]  kthread+0x257/0x310
[   25.787209]  ret_from_fork+0x41/0x80
[   25.787674]  ret_from_fork_asm+0x1a/0x30
[   25.788317] 
[   25.788574] kfence-#97: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   25.788574] 
[   25.789332] allocated by task 294 on cpu 0 at 25.783113s (0.006214s ago):
[   25.790081]  test_alloc+0x2a7/0x10f0
[   25.790780]  test_out_of_bounds_write+0xd5/0x260
[   25.791207]  kunit_try_run_case+0x1a6/0x480
[   25.791782]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.792287]  kthread+0x257/0x310
[   25.792637]  ret_from_fork+0x41/0x80
[   25.793311]  ret_from_fork_asm+0x1a/0x30
[   25.793760] 
[   25.794133] CPU: 0 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   25.794795] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.795275] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.796023] ==================================================================