Hay
Date
Feb. 5, 2025, 2:09 p.m.

Environment
qemu-x86_64

[   52.148233] ==================================================================
[   52.148934] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x151/0x290
[   52.148934] 
[   52.150114] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#141):
[   52.150832]  test_out_of_bounds_read+0x151/0x290
[   52.151511]  kunit_try_run_case+0x126/0x290
[   52.152109]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   52.152755]  kthread+0x19e/0x1e0
[   52.153180]  ret_from_fork+0x41/0x70
[   52.153752]  ret_from_fork_asm+0x1b/0x30
[   52.154304] 
[   52.154565] kfence-#141: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   52.154565] 
[   52.155515] allocated by task 249 on cpu 1 at 52.147820s:
[   52.156298]  test_alloc+0x2a0/0x8d0
[   52.156858]  test_out_of_bounds_read+0x138/0x290
[   52.157324]  kunit_try_run_case+0x126/0x290
[   52.157940]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   52.158566]  kthread+0x19e/0x1e0
[   52.159002]  ret_from_fork+0x41/0x70
[   52.159576]  ret_from_fork_asm+0x1b/0x30
[   52.160150] 
[   52.160457] CPU: 1 PID: 249 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[   52.161258] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   52.162080] ==================================================================
[   53.084020] ==================================================================
[   53.084920] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x151/0x290
[   53.084920] 
[   53.085961] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#150):
[   53.087116]  test_out_of_bounds_read+0x151/0x290
[   53.087620]  kunit_try_run_case+0x126/0x290
[   53.088112]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   53.088727]  kthread+0x19e/0x1e0
[   53.089422]  ret_from_fork+0x41/0x70
[   53.089935]  ret_from_fork_asm+0x1b/0x30
[   53.090526] 
[   53.090883] kfence-#150: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   53.090883] 
[   53.092028] allocated by task 251 on cpu 1 at 53.083892s:
[   53.092850]  test_alloc+0x1e8/0x8d0
[   53.093318]  test_out_of_bounds_read+0x138/0x290
[   53.093914]  kunit_try_run_case+0x126/0x290
[   53.094492]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   53.095093]  kthread+0x19e/0x1e0
[   53.095615]  ret_from_fork+0x41/0x70
[   53.096225]  ret_from_fork_asm+0x1b/0x30
[   53.096750] 
[   53.097012] CPU: 1 PID: 251 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[   53.097892] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   53.098571] ==================================================================
[   52.356104] ==================================================================
[   52.356886] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0xeb/0x290
[   52.356886] 
[   52.357647] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#143):
[   52.358542]  test_out_of_bounds_read+0xeb/0x290
[   52.359281]  kunit_try_run_case+0x126/0x290
[   52.359892]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   52.360651]  kthread+0x19e/0x1e0
[   52.361143]  ret_from_fork+0x41/0x70
[   52.361709]  ret_from_fork_asm+0x1b/0x30
[   52.362311] 
[   52.362591] kfence-#143: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   52.362591] 
[   52.363438] allocated by task 251 on cpu 1 at 52.355977s:
[   52.364308]  test_alloc+0x1e8/0x8d0
[   52.364837]  test_out_of_bounds_read+0xdb/0x290
[   52.365329]  kunit_try_run_case+0x126/0x290
[   52.365974]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   52.366699]  kthread+0x19e/0x1e0
[   52.367288]  ret_from_fork+0x41/0x70
[   52.367779]  ret_from_fork_asm+0x1b/0x30
[   52.368449] 
[   52.368773] CPU: 1 PID: 251 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[   52.369610] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   52.370334] ==================================================================
[   52.045446] ==================================================================
[   52.046276] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0xeb/0x290
[   52.046276] 
[   52.047148] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#140):
[   52.048050]  test_out_of_bounds_read+0xeb/0x290
[   52.048626]  kunit_try_run_case+0x126/0x290
[   52.049131]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   52.049836]  kthread+0x19e/0x1e0
[   52.050362]  ret_from_fork+0x41/0x70
[   52.050993]  ret_from_fork_asm+0x1b/0x30
[   52.051472] 
[   52.052004] kfence-#140: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   52.052004] 
[   52.053244] allocated by task 249 on cpu 1 at 52.043715s:
[   52.054483]  test_alloc+0x2a0/0x8d0
[   52.055098]  test_out_of_bounds_read+0xdb/0x290
[   52.055660]  kunit_try_run_case+0x126/0x290
[   52.056169]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   52.056912]  kthread+0x19e/0x1e0
[   52.057406]  ret_from_fork+0x41/0x70
[   52.057981]  ret_from_fork_asm+0x1b/0x30
[   52.058508] 
[   52.058904] CPU: 1 PID: 249 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[   52.059699] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   52.060479] ==================================================================