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

Environment
qemu-arm64
qemu-x86_64

[   28.112194] ==================================================================
[   28.113086] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   28.113086] 
[   28.113876] Out-of-bounds read at 0x00000000d35d9ce5 (1B left of kfence-#113):
[   28.114732]  test_out_of_bounds_read+0x114/0x3e0
[   28.115393]  kunit_try_run_case+0x170/0x3f0
[   28.115941]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.116619]  kthread+0x24c/0x2d0
[   28.117141]  ret_from_fork+0x10/0x20
[   28.117632] 
[   28.117981] kfence-#113: 0x0000000051753030-0x00000000917ddf2a, size=32, cache=test
[   28.117981] 
[   28.118898] allocated by task 273 on cpu 1 at 28.112039s (0.006846s ago):
[   28.119774]  test_alloc+0x230/0x628
[   28.120298]  test_out_of_bounds_read+0xdc/0x3e0
[   28.120882]  kunit_try_run_case+0x170/0x3f0
[   28.121444]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.122173]  kthread+0x24c/0x2d0
[   28.122635]  ret_from_fork+0x10/0x20
[   28.123154] 
[   28.123510] CPU: 1 UID: 0 PID: 273 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   28.124403] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.124979] Hardware name: linux,dummy-virt (DT)
[   28.125569] ==================================================================
[   27.592726] ==================================================================
[   27.593526] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   27.593526] 
[   27.594387] Out-of-bounds read at 0x000000002394b17b (1B left of kfence-#108):
[   27.595282]  test_out_of_bounds_read+0x114/0x3e0
[   27.595889]  kunit_try_run_case+0x170/0x3f0
[   27.596433]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.597082]  kthread+0x24c/0x2d0
[   27.597556]  ret_from_fork+0x10/0x20
[   27.598050] 
[   27.598383] kfence-#108: 0x000000006c7a8b0d-0x000000008dee2002, size=32, cache=kmalloc-32
[   27.598383] 
[   27.599412] allocated by task 271 on cpu 0 at 27.592216s (0.007183s ago):
[   27.600244]  test_alloc+0x29c/0x628
[   27.600734]  test_out_of_bounds_read+0xdc/0x3e0
[   27.601417]  kunit_try_run_case+0x170/0x3f0
[   27.601987]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.602674]  kthread+0x24c/0x2d0
[   27.603235]  ret_from_fork+0x10/0x20
[   27.603893] 
[   27.604271] CPU: 0 UID: 0 PID: 271 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   27.605222] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.605696] Hardware name: linux,dummy-virt (DT)
[   27.606259] ==================================================================
[   28.216054] ==================================================================
[   28.217010] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   28.217010] 
[   28.217933] Out-of-bounds read at 0x00000000c8be080f (32B right of kfence-#114):
[   28.218645]  test_out_of_bounds_read+0x1c8/0x3e0
[   28.219274]  kunit_try_run_case+0x170/0x3f0
[   28.219803]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.220523]  kthread+0x24c/0x2d0
[   28.221013]  ret_from_fork+0x10/0x20
[   28.221441] 
[   28.221769] kfence-#114: 0x00000000ff60bf9b-0x0000000099f0a02d, size=32, cache=test
[   28.221769] 
[   28.222828] allocated by task 273 on cpu 1 at 28.215920s (0.006896s ago):
[   28.223641]  test_alloc+0x230/0x628
[   28.224092]  test_out_of_bounds_read+0x198/0x3e0
[   28.224683]  kunit_try_run_case+0x170/0x3f0
[   28.225312]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.225910]  kthread+0x24c/0x2d0
[   28.226430]  ret_from_fork+0x10/0x20
[   28.226998] 
[   28.227340] CPU: 1 UID: 0 PID: 273 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   28.228274] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.228808] Hardware name: linux,dummy-virt (DT)
[   28.229421] ==================================================================
[   27.696561] ==================================================================
[   27.697324] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   27.697324] 
[   27.698178] Out-of-bounds read at 0x000000003de6f4fc (32B right of kfence-#109):
[   27.699057]  test_out_of_bounds_read+0x1c8/0x3e0
[   27.699787]  kunit_try_run_case+0x170/0x3f0
[   27.700306]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.700950]  kthread+0x24c/0x2d0
[   27.701507]  ret_from_fork+0x10/0x20
[   27.702058] 
[   27.702411] kfence-#109: 0x00000000efef25f7-0x00000000dbe5f2cb, size=32, cache=kmalloc-32
[   27.702411] 
[   27.703337] allocated by task 271 on cpu 0 at 27.696159s (0.007166s ago):
[   27.704093]  test_alloc+0x29c/0x628
[   27.704593]  test_out_of_bounds_read+0x198/0x3e0
[   27.705150]  kunit_try_run_case+0x170/0x3f0
[   27.705692]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.706377]  kthread+0x24c/0x2d0
[   27.706813]  ret_from_fork+0x10/0x20
[   27.707349] 
[   27.707690] CPU: 0 UID: 0 PID: 271 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   27.708658] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.709156] Hardware name: linux,dummy-virt (DT)
[   27.709736] ==================================================================

[   25.055263] ==================================================================
[   25.055915] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x217/0x4e0
[   25.055915] 
[   25.056673] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#90):
[   25.057378]  test_out_of_bounds_read+0x217/0x4e0
[   25.057743]  kunit_try_run_case+0x1a6/0x480
[   25.058147]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.058843]  kthread+0x257/0x310
[   25.059186]  ret_from_fork+0x41/0x80
[   25.059641]  ret_from_fork_asm+0x1a/0x30
[   25.060164] 
[   25.060392] kfence-#90: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   25.060392] 
[   25.061155] allocated by task 288 on cpu 1 at 25.054975s (0.006174s ago):
[   25.061681]  test_alloc+0x365/0x10f0
[   25.062088]  test_out_of_bounds_read+0x1e3/0x4e0
[   25.062706]  kunit_try_run_case+0x1a6/0x480
[   25.063251]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.063712]  kthread+0x257/0x310
[   25.064070]  ret_from_fork+0x41/0x80
[   25.064551]  ret_from_fork_asm+0x1a/0x30
[   25.065031] 
[   25.065282] CPU: 1 UID: 0 PID: 288 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   25.065888] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.066331] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.067217] ==================================================================
[   25.263169] ==================================================================
[   25.263837] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x127/0x4e0
[   25.263837] 
[   25.264599] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#92):
[   25.265245]  test_out_of_bounds_read+0x127/0x4e0
[   25.265648]  kunit_try_run_case+0x1a6/0x480
[   25.266150]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.266595]  kthread+0x257/0x310
[   25.267080]  ret_from_fork+0x41/0x80
[   25.267532]  ret_from_fork_asm+0x1a/0x30
[   25.267910] 
[   25.268104] kfence-#92: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   25.268104] 
[   25.268888] allocated by task 290 on cpu 0 at 25.263062s (0.005820s ago):
[   25.269577]  test_alloc+0x2a7/0x10f0
[   25.270051]  test_out_of_bounds_read+0xee/0x4e0
[   25.270520]  kunit_try_run_case+0x1a6/0x480
[   25.271063]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.271516]  kthread+0x257/0x310
[   25.271909]  ret_from_fork+0x41/0x80
[   25.272347]  ret_from_fork_asm+0x1a/0x30
[   25.272696] 
[   25.273015] CPU: 0 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   25.273688] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.274247] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.274808] ==================================================================
[   24.952550] ==================================================================
[   24.953247] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x127/0x4e0
[   24.953247] 
[   24.954078] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#89):
[   24.956115]  test_out_of_bounds_read+0x127/0x4e0
[   24.956673]  kunit_try_run_case+0x1a6/0x480
[   24.956934]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.957913]  kthread+0x257/0x310
[   24.958388]  ret_from_fork+0x41/0x80
[   24.958769]  ret_from_fork_asm+0x1a/0x30
[   24.959179] 
[   24.959860] kfence-#89: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   24.959860] 
[   24.961555] allocated by task 288 on cpu 1 at 24.951051s (0.010420s ago):
[   24.962733]  test_alloc+0x365/0x10f0
[   24.963180]  test_out_of_bounds_read+0xee/0x4e0
[   24.963656]  kunit_try_run_case+0x1a6/0x480
[   24.964112]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.964714]  kthread+0x257/0x310
[   24.965065]  ret_from_fork+0x41/0x80
[   24.965510]  ret_from_fork_asm+0x1a/0x30
[   24.966060] 
[   24.966731] CPU: 1 UID: 0 PID: 288 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   24.967478] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.967838] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   24.968718] ==================================================================
[   25.367168] ==================================================================
[   25.367859] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x217/0x4e0
[   25.367859] 
[   25.368593] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#93):
[   25.369213]  test_out_of_bounds_read+0x217/0x4e0
[   25.369721]  kunit_try_run_case+0x1a6/0x480
[   25.370197]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.370621]  kthread+0x257/0x310
[   25.371081]  ret_from_fork+0x41/0x80
[   25.371549]  ret_from_fork_asm+0x1a/0x30
[   25.371891] 
[   25.372086] kfence-#93: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   25.372086] 
[   25.373053] allocated by task 290 on cpu 0 at 25.367076s (0.005972s ago):
[   25.373609]  test_alloc+0x2a7/0x10f0
[   25.374072]  test_out_of_bounds_read+0x1e3/0x4e0
[   25.374546]  kunit_try_run_case+0x1a6/0x480
[   25.375052]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.375500]  kthread+0x257/0x310
[   25.375894]  ret_from_fork+0x41/0x80
[   25.376346]  ret_from_fork_asm+0x1a/0x30
[   25.376732] 
[   25.377034] CPU: 0 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   25.377747] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.378132] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.378815] ==================================================================