Hay
Date
June 2, 2025, 2:13 p.m.

Environment
qemu-arm64
qemu-x86_64

[   23.115036] ==================================================================
[   23.115617] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   23.115617] 
[   23.116212] Out-of-bounds write at 0x00000000f0f76ed1 (1B left of kfence-#113):
[   23.116745]  test_out_of_bounds_write+0x100/0x240
[   23.117118]  kunit_try_run_case+0x170/0x3f0
[   23.117610]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.118236]  kthread+0x318/0x620
[   23.118690]  ret_from_fork+0x10/0x20
[   23.119065] 
[   23.119372] kfence-#113: 0x0000000059ef09bd-0x000000008a3efeee, size=32, cache=test
[   23.119372] 
[   23.120028] allocated by task 283 on cpu 1 at 23.114881s (0.005135s ago):
[   23.120624]  test_alloc+0x230/0x628
[   23.121076]  test_out_of_bounds_write+0xc8/0x240
[   23.121454]  kunit_try_run_case+0x170/0x3f0
[   23.121948]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.122523]  kthread+0x318/0x620
[   23.122946]  ret_from_fork+0x10/0x20
[   23.123299] 
[   23.123624] CPU: 1 UID: 0 PID: 283 Comm: kunit_try_catch Tainted: G    B            N 6.14.10-rc1 #1
[   23.124307] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.124714] Hardware name: linux,dummy-virt (DT)
[   23.125222] ==================================================================
[   23.011196] ==================================================================
[   23.011722] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   23.011722] 
[   23.012406] Out-of-bounds write at 0x0000000090791f25 (1B left of kfence-#112):
[   23.012874]  test_out_of_bounds_write+0x100/0x240
[   23.013298]  kunit_try_run_case+0x170/0x3f0
[   23.013708]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.014218]  kthread+0x318/0x620
[   23.014532]  ret_from_fork+0x10/0x20
[   23.015022] 
[   23.015308] kfence-#112: 0x00000000783bc624-0x00000000e1ddff33, size=32, cache=kmalloc-32
[   23.015308] 
[   23.015846] allocated by task 281 on cpu 1 at 23.010903s (0.004932s ago):
[   23.016719]  test_alloc+0x29c/0x628
[   23.017249]  test_out_of_bounds_write+0xc8/0x240
[   23.017852]  kunit_try_run_case+0x170/0x3f0
[   23.018413]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.018977]  kthread+0x318/0x620
[   23.019499]  ret_from_fork+0x10/0x20
[   23.019997] 
[   23.020364] CPU: 1 UID: 0 PID: 281 Comm: kunit_try_catch Tainted: G    B            N 6.14.10-rc1 #1
[   23.021142] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.021635] Hardware name: linux,dummy-virt (DT)
[   23.022142] ==================================================================

[   17.846043] ==================================================================
[   17.846410] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10e/0x260
[   17.846410] 
[   17.847151] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#63):
[   17.847639]  test_out_of_bounds_write+0x10e/0x260
[   17.847833]  kunit_try_run_case+0x1a6/0x480
[   17.847985]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.848171]  kthread+0x324/0x6e0
[   17.848295]  ret_from_fork+0x41/0x80
[   17.848424]  ret_from_fork_asm+0x1a/0x30
[   17.848574] 
[   17.848739] kfence-#63: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.848739] 
[   17.849548] allocated by task 299 on cpu 1 at 17.845904s (0.003642s ago):
[   17.850303]  test_alloc+0x365/0x10f0
[   17.850449]  test_out_of_bounds_write+0xd5/0x260
[   17.850791]  kunit_try_run_case+0x1a6/0x480
[   17.850985]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.851232]  kthread+0x324/0x6e0
[   17.851388]  ret_from_fork+0x41/0x80
[   17.851551]  ret_from_fork_asm+0x1a/0x30
[   17.851722] 
[   17.851838] CPU: 1 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G    B            N 6.14.10-rc1 #1
[   17.852210] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.852388] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.853215] ==================================================================
[   18.053969] ==================================================================
[   18.054380] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10e/0x260
[   18.054380] 
[   18.054945] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#65):
[   18.055202]  test_out_of_bounds_write+0x10e/0x260
[   18.055442]  kunit_try_run_case+0x1a6/0x480
[   18.055666]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.055991]  kthread+0x324/0x6e0
[   18.056255]  ret_from_fork+0x41/0x80
[   18.056444]  ret_from_fork_asm+0x1a/0x30
[   18.056636] 
[   18.056728] kfence-#65: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.056728] 
[   18.057192] allocated by task 301 on cpu 0 at 18.053913s (0.003276s ago):
[   18.057519]  test_alloc+0x2a7/0x10f0
[   18.057698]  test_out_of_bounds_write+0xd5/0x260
[   18.057924]  kunit_try_run_case+0x1a6/0x480
[   18.058287]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.058551]  kthread+0x324/0x6e0
[   18.058732]  ret_from_fork+0x41/0x80
[   18.058925]  ret_from_fork_asm+0x1a/0x30
[   18.059152] 
[   18.059271] CPU: 0 UID: 0 PID: 301 Comm: kunit_try_catch Tainted: G    B            N 6.14.10-rc1 #1
[   18.059743] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.059926] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.060340] ==================================================================