Hay
Date
Dec. 9, 2024, 6:35 a.m.

Environment
qemu-arm64
qemu-x86_64

[   31.615760] ==================================================================
[   31.616556] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   31.616556] 
[   31.617348] Out-of-bounds read at 0x00000000384528b8 (32B right of kfence-#109):
[   31.618218]  test_out_of_bounds_read+0x1c8/0x3e0
[   31.618813]  test_out_of_bounds_read+0x198/0x3e0
[   31.619366]  kunit_try_run_case+0x14c/0x3d0
[   31.620097]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.620816]  kthread+0x24c/0x2d0
[   31.621397]  ret_from_fork+0x10/0x20
[   31.621897] 
[   31.622178] kfence-#109: 0x000000008b70dba6-0x0000000032820204, size=32, cache=test
[   31.622178] 
[   31.623368] allocated by task 277 on cpu 0 at 31.615600s (0.007758s ago):
[   31.624254]  test_alloc+0x22c/0x620
[   31.624747]  test_out_of_bounds_read+0x198/0x3e0
[   31.625388]  kunit_try_run_case+0x14c/0x3d0
[   31.626086]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.626847]  kthread+0x24c/0x2d0
[   31.627338]  ret_from_fork+0x10/0x20
[   31.627866] 
[   31.628241] CPU: 0 UID: 0 PID: 277 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   31.629353] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.629811] Hardware name: linux,dummy-virt (DT)
[   31.630351] ==================================================================
[   31.199681] ==================================================================
[   31.200384] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   31.200384] 
[   31.201223] Out-of-bounds read at 0x00000000d20ef79a (32B right of kfence-#105):
[   31.202080]  test_out_of_bounds_read+0x1c8/0x3e0
[   31.202675]  test_out_of_bounds_read+0x198/0x3e0
[   31.203390]  kunit_try_run_case+0x14c/0x3d0
[   31.203952]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.204767]  kthread+0x24c/0x2d0
[   31.205318]  ret_from_fork+0x10/0x20
[   31.205963] 
[   31.206333] kfence-#105: 0x00000000143c15c1-0x00000000bdbc9abd, size=32, cache=kmalloc-32
[   31.206333] 
[   31.207206] allocated by task 275 on cpu 1 at 31.199368s (0.007828s ago):
[   31.208141]  test_alloc+0x298/0x620
[   31.208647]  test_out_of_bounds_read+0x198/0x3e0
[   31.209213]  kunit_try_run_case+0x14c/0x3d0
[   31.209880]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.210535]  kthread+0x24c/0x2d0
[   31.211031]  ret_from_fork+0x10/0x20
[   31.211548] 
[   31.211917] CPU: 1 UID: 0 PID: 275 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   31.213013] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.213629] Hardware name: linux,dummy-virt (DT)
[   31.214174] ==================================================================
[   31.511675] ==================================================================
[   31.512515] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   31.512515] 
[   31.513312] Out-of-bounds read at 0x0000000038c64668 (1B left of kfence-#108):
[   31.514140]  test_out_of_bounds_read+0x114/0x3e0
[   31.514774]  test_out_of_bounds_read+0xdc/0x3e0
[   31.515460]  kunit_try_run_case+0x14c/0x3d0
[   31.516077]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.516869]  kthread+0x24c/0x2d0
[   31.517384]  ret_from_fork+0x10/0x20
[   31.517960] 
[   31.518317] kfence-#108: 0x0000000083c9f546-0x00000000f528438f, size=32, cache=test
[   31.518317] 
[   31.519267] allocated by task 277 on cpu 0 at 31.511521s (0.007734s ago):
[   31.520177]  test_alloc+0x22c/0x620
[   31.520806]  test_out_of_bounds_read+0xdc/0x3e0
[   31.521469]  kunit_try_run_case+0x14c/0x3d0
[   31.522034]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.522796]  kthread+0x24c/0x2d0
[   31.523242]  ret_from_fork+0x10/0x20
[   31.523888] 
[   31.524231] CPU: 0 UID: 0 PID: 277 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   31.525413] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.526010] Hardware name: linux,dummy-virt (DT)
[   31.526603] ==================================================================
[   30.888749] ==================================================================
[   30.889504] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   30.889504] 
[   30.890528] Out-of-bounds read at 0x00000000e2002612 (1B left of kfence-#102):
[   30.891821]  test_out_of_bounds_read+0x114/0x3e0
[   30.892464]  test_out_of_bounds_read+0xdc/0x3e0
[   30.893126]  kunit_try_run_case+0x14c/0x3d0
[   30.893762]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.894508]  kthread+0x24c/0x2d0
[   30.895037]  ret_from_fork+0x10/0x20
[   30.895618] 
[   30.896217] kfence-#102: 0x00000000d9759466-0x0000000074f1e680, size=32, cache=kmalloc-32
[   30.896217] 
[   30.897564] allocated by task 275 on cpu 1 at 30.887651s (0.009793s ago):
[   30.898896]  test_alloc+0x298/0x620
[   30.899369]  test_out_of_bounds_read+0xdc/0x3e0
[   30.900018]  kunit_try_run_case+0x14c/0x3d0
[   30.900587]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.901226]  kthread+0x24c/0x2d0
[   30.901804]  ret_from_fork+0x10/0x20
[   30.902418] 
[   30.902884] CPU: 1 UID: 0 PID: 275 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   30.904028] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.904553] Hardware name: linux,dummy-virt (DT)
[   30.905096] ==================================================================

[   33.156938] ==================================================================
[   33.157726] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x127/0x4e0
[   33.157726] 
[   33.158584] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#103):
[   33.159433]  test_out_of_bounds_read+0x127/0x4e0
[   33.160231]  kunit_try_run_case+0x1b3/0x490
[   33.160596]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.161397]  kthread+0x257/0x310
[   33.161871]  ret_from_fork+0x41/0x80
[   33.162179]  ret_from_fork_asm+0x1a/0x30
[   33.162830] 
[   33.163047] kfence-#103: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   33.163047] 
[   33.163844] allocated by task 296 on cpu 0 at 33.156842s (0.006998s ago):
[   33.164601]  test_alloc+0x2a7/0x10d0
[   33.165134]  test_out_of_bounds_read+0xee/0x4e0
[   33.165591]  kunit_try_run_case+0x1b3/0x490
[   33.165895]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.166761]  kthread+0x257/0x310
[   33.167247]  ret_from_fork+0x41/0x80
[   33.167843]  ret_from_fork_asm+0x1a/0x30
[   33.168318] 
[   33.168605] CPU: 0 UID: 0 PID: 296 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   33.169637] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.169917] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.171083] ==================================================================
[   32.950399] ==================================================================
[   32.951397] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x127/0x4e0
[   32.951397] 
[   32.952136] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#101):
[   32.953245]  test_out_of_bounds_read+0x127/0x4e0
[   32.953809]  kunit_try_run_case+0x1b3/0x490
[   32.954172]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.954729]  kthread+0x257/0x310
[   32.955087]  ret_from_fork+0x41/0x80
[   32.955602]  ret_from_fork_asm+0x1a/0x30
[   32.956001] 
[   32.956592] kfence-#101: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   32.956592] 
[   32.957516] allocated by task 294 on cpu 1 at 32.948787s (0.008594s ago):
[   32.959202]  test_alloc+0x35f/0x10d0
[   32.959710]  test_out_of_bounds_read+0xee/0x4e0
[   32.960129]  kunit_try_run_case+0x1b3/0x490
[   32.960479]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.961088]  kthread+0x257/0x310
[   32.961416]  ret_from_fork+0x41/0x80
[   32.961858]  ret_from_fork_asm+0x1a/0x30
[   32.962337] 
[   32.962712] CPU: 1 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   32.963716] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.964202] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.964871] ==================================================================
[   33.053063] ==================================================================
[   33.053742] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x217/0x4e0
[   33.053742] 
[   33.054655] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#102):
[   33.055210]  test_out_of_bounds_read+0x217/0x4e0
[   33.055924]  kunit_try_run_case+0x1b3/0x490
[   33.056389]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.056892]  kthread+0x257/0x310
[   33.057181]  ret_from_fork+0x41/0x80
[   33.057528]  ret_from_fork_asm+0x1a/0x30
[   33.058078] 
[   33.058456] kfence-#102: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   33.058456] 
[   33.059328] allocated by task 294 on cpu 1 at 33.052768s (0.006555s ago):
[   33.060091]  test_alloc+0x35f/0x10d0
[   33.060584]  test_out_of_bounds_read+0x1e3/0x4e0
[   33.061124]  kunit_try_run_case+0x1b3/0x490
[   33.061884]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.062597]  kthread+0x257/0x310
[   33.062980]  ret_from_fork+0x41/0x80
[   33.064304]  ret_from_fork_asm+0x1a/0x30
[   33.064844] 
[   33.065393] CPU: 1 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   33.066456] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.066760] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.067959] ==================================================================
[   33.260865] ==================================================================
[   33.261567] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x217/0x4e0
[   33.261567] 
[   33.262474] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#104):
[   33.263357]  test_out_of_bounds_read+0x217/0x4e0
[   33.264195]  kunit_try_run_case+0x1b3/0x490
[   33.265031]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.266088]  kthread+0x257/0x310
[   33.266452]  ret_from_fork+0x41/0x80
[   33.266736]  ret_from_fork_asm+0x1a/0x30
[   33.267236] 
[   33.267546] kfence-#104: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   33.267546] 
[   33.268602] allocated by task 296 on cpu 0 at 33.260772s (0.007825s ago):
[   33.269352]  test_alloc+0x2a7/0x10d0
[   33.269788]  test_out_of_bounds_read+0x1e3/0x4e0
[   33.270293]  kunit_try_run_case+0x1b3/0x490
[   33.270843]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.271480]  kthread+0x257/0x310
[   33.271847]  ret_from_fork+0x41/0x80
[   33.272187]  ret_from_fork_asm+0x1a/0x30
[   33.272511] 
[   33.272709] CPU: 0 UID: 0 PID: 296 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc2-next-20241209 #1
[   33.273971] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.274308] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.275348] ==================================================================