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

Environment
qemu-arm64
qemu-x86_64

[   24.953511] ==================================================================
[   24.954039] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   24.954039] 
[   24.954549] Out-of-bounds read at 0x0000000089429478 (1B left of kfence-#95):
[   24.955277]  test_out_of_bounds_read+0x114/0x3e0
[   24.955754]  kunit_try_run_case+0x170/0x3f0
[   24.956022]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.956387]  kthread+0x24c/0x2d0
[   24.956639]  ret_from_fork+0x10/0x20
[   24.956979] 
[   24.957351] kfence-#95: 0x0000000039100144-0x000000001e68da30, size=32, cache=kmalloc-32
[   24.957351] 
[   24.957975] allocated by task 270 on cpu 0 at 24.951889s (0.006013s ago):
[   24.958713]  test_alloc+0x29c/0x628
[   24.958954]  test_out_of_bounds_read+0xdc/0x3e0
[   24.959148]  kunit_try_run_case+0x170/0x3f0
[   24.959445]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.959799]  kthread+0x24c/0x2d0
[   24.960019]  ret_from_fork+0x10/0x20
[   24.960340] 
[   24.960607] CPU: 0 UID: 0 PID: 270 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   24.961056] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.961362] Hardware name: linux,dummy-virt (DT)
[   24.961654] ==================================================================
[   25.160261] ==================================================================
[   25.160912] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   25.160912] 
[   25.162183] Out-of-bounds read at 0x00000000d8253473 (32B right of kfence-#97):
[   25.163247]  test_out_of_bounds_read+0x1c8/0x3e0
[   25.163763]  kunit_try_run_case+0x170/0x3f0
[   25.164452]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.165117]  kthread+0x24c/0x2d0
[   25.165648]  ret_from_fork+0x10/0x20
[   25.166023] 
[   25.166329] kfence-#97: 0x00000000ea4efba0-0x000000009e1c4a00, size=32, cache=kmalloc-32
[   25.166329] 
[   25.167096] allocated by task 270 on cpu 0 at 25.159927s (0.007157s ago):
[   25.167737]  test_alloc+0x29c/0x628
[   25.168196]  test_out_of_bounds_read+0x198/0x3e0
[   25.168732]  kunit_try_run_case+0x170/0x3f0
[   25.169188]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.169724]  kthread+0x24c/0x2d0
[   25.170142]  ret_from_fork+0x10/0x20
[   25.170540] 
[   25.170865] CPU: 0 UID: 0 PID: 270 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   25.171697] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.172056] Hardware name: linux,dummy-virt (DT)
[   25.172535] ==================================================================
[   25.368218] ==================================================================
[   25.368875] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   25.368875] 
[   25.369627] Out-of-bounds read at 0x00000000e367fd8c (1B left of kfence-#99):
[   25.370235]  test_out_of_bounds_read+0x114/0x3e0
[   25.370745]  kunit_try_run_case+0x170/0x3f0
[   25.371178]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.371614]  kthread+0x24c/0x2d0
[   25.371953]  ret_from_fork+0x10/0x20
[   25.372362] 
[   25.372641] kfence-#99: 0x00000000b9ffe2b4-0x00000000ef23d120, size=32, cache=test
[   25.372641] 
[   25.373510] allocated by task 272 on cpu 1 at 25.367895s (0.005602s ago):
[   25.374217]  test_alloc+0x230/0x628
[   25.374728]  test_out_of_bounds_read+0xdc/0x3e0
[   25.375209]  kunit_try_run_case+0x170/0x3f0
[   25.375671]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.376159]  kthread+0x24c/0x2d0
[   25.376580]  ret_from_fork+0x10/0x20
[   25.376993] 
[   25.377292] CPU: 1 UID: 0 PID: 272 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   25.378117] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.378468] Hardware name: linux,dummy-virt (DT)
[   25.378968] ==================================================================
[   25.992083] ==================================================================
[   25.992799] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   25.992799] 
[   25.993619] Out-of-bounds read at 0x0000000039cb244d (32B right of kfence-#105):
[   25.994081]  test_out_of_bounds_read+0x1c8/0x3e0
[   25.994616]  kunit_try_run_case+0x170/0x3f0
[   25.995133]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.995634]  kthread+0x24c/0x2d0
[   25.996047]  ret_from_fork+0x10/0x20
[   25.996526] 
[   25.996824] kfence-#105: 0x0000000022d9c02e-0x000000004caa7b00, size=32, cache=test
[   25.996824] 
[   25.997668] allocated by task 272 on cpu 1 at 25.991928s (0.005726s ago):
[   25.998427]  test_alloc+0x230/0x628
[   25.998884]  test_out_of_bounds_read+0x198/0x3e0
[   25.999347]  kunit_try_run_case+0x170/0x3f0
[   25.999724]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.000287]  kthread+0x24c/0x2d0
[   26.000712]  ret_from_fork+0x10/0x20
[   26.001142] 
[   26.001470] CPU: 1 UID: 0 PID: 272 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   26.002229] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.002580] Hardware name: linux,dummy-virt (DT)
[   26.003058] ==================================================================

[   17.014767] ==================================================================
[   17.015358] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x127/0x4e0
[   17.015358] 
[   17.016067] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#72):
[   17.016538]  test_out_of_bounds_read+0x127/0x4e0
[   17.016840]  kunit_try_run_case+0x1a6/0x480
[   17.017111]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.017502]  kthread+0x257/0x310
[   17.017715]  ret_from_fork+0x41/0x80
[   17.017877]  ret_from_fork_asm+0x1a/0x30
[   17.018341] 
[   17.018485] kfence-#72: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.018485] 
[   17.018788] allocated by task 290 on cpu 1 at 17.014654s (0.004129s ago):
[   17.019645]  test_alloc+0x2a7/0x10f0
[   17.020071]  test_out_of_bounds_read+0xee/0x4e0
[   17.020357]  kunit_try_run_case+0x1a6/0x480
[   17.020624]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.020954]  kthread+0x257/0x310
[   17.021286]  ret_from_fork+0x41/0x80
[   17.021558]  ret_from_fork_asm+0x1a/0x30
[   17.021758] 
[   17.021891] CPU: 1 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   17.022628] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.022827] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.023794] ==================================================================
[   16.391019] ==================================================================
[   16.391487] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x127/0x4e0
[   16.391487] 
[   16.391920] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#66):
[   16.392230]  test_out_of_bounds_read+0x127/0x4e0
[   16.392602]  kunit_try_run_case+0x1a6/0x480
[   16.392942]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.393225]  kthread+0x257/0x310
[   16.393404]  ret_from_fork+0x41/0x80
[   16.393543]  ret_from_fork_asm+0x1a/0x30
[   16.393851] 
[   16.393966] kfence-#66: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.393966] 
[   16.394290] allocated by task 288 on cpu 0 at 16.390595s (0.003690s ago):
[   16.394812]  test_alloc+0x365/0x10f0
[   16.395100]  test_out_of_bounds_read+0xee/0x4e0
[   16.395532]  kunit_try_run_case+0x1a6/0x480
[   16.395868]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.396299]  kthread+0x257/0x310
[   16.396559]  ret_from_fork+0x41/0x80
[   16.396801]  ret_from_fork_asm+0x1a/0x30
[   16.397036] 
[   16.397271] CPU: 0 UID: 0 PID: 288 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   16.397635] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.397818] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.398104] ==================================================================
[   16.910995] ==================================================================
[   16.911403] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x217/0x4e0
[   16.911403] 
[   16.911826] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#71):
[   16.912386]  test_out_of_bounds_read+0x217/0x4e0
[   16.912705]  kunit_try_run_case+0x1a6/0x480
[   16.913028]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.913266]  kthread+0x257/0x310
[   16.913585]  ret_from_fork+0x41/0x80
[   16.913881]  ret_from_fork_asm+0x1a/0x30
[   16.914183] 
[   16.914300] kfence-#71: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.914300] 
[   16.914725] allocated by task 288 on cpu 0 at 16.910690s (0.004030s ago):
[   16.915382]  test_alloc+0x365/0x10f0
[   16.915688]  test_out_of_bounds_read+0x1e3/0x4e0
[   16.915903]  kunit_try_run_case+0x1a6/0x480
[   16.916119]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.916508]  kthread+0x257/0x310
[   16.916786]  ret_from_fork+0x41/0x80
[   16.917016]  ret_from_fork_asm+0x1a/0x30
[   16.917335] 
[   16.917501] CPU: 0 UID: 0 PID: 288 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   16.917903] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.918096] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.918713] ==================================================================
[   17.118736] ==================================================================
[   17.119187] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x217/0x4e0
[   17.119187] 
[   17.119503] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#73):
[   17.120005]  test_out_of_bounds_read+0x217/0x4e0
[   17.120765]  kunit_try_run_case+0x1a6/0x480
[   17.121176]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.121484]  kthread+0x257/0x310
[   17.121649]  ret_from_fork+0x41/0x80
[   17.121825]  ret_from_fork_asm+0x1a/0x30
[   17.121997] 
[   17.122094] kfence-#73: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.122094] 
[   17.122779] allocated by task 290 on cpu 1 at 17.118636s (0.004138s ago):
[   17.123088]  test_alloc+0x2a7/0x10f0
[   17.123323]  test_out_of_bounds_read+0x1e3/0x4e0
[   17.123558]  kunit_try_run_case+0x1a6/0x480
[   17.123929]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.124394]  kthread+0x257/0x310
[   17.124581]  ret_from_fork+0x41/0x80
[   17.124907]  ret_from_fork_asm+0x1a/0x30
[   17.125280] 
[   17.125470] CPU: 1 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   17.125961] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.126339] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.126881] ==================================================================