Hay
Date
July 9, 2025, 12:11 a.m.

Environment
qemu-arm64
qemu-x86_64

[   22.475579] ==================================================================
[   22.476096] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   22.476096] 
[   22.476598] Out-of-bounds read at 0x00000000b9a4f087 (1B left of kfence-#80):
[   22.476917]  test_out_of_bounds_read+0x114/0x3e0
[   22.477029]  kunit_try_run_case+0x170/0x3f0
[   22.477378]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.477495]  kthread+0x328/0x630
[   22.477566]  ret_from_fork+0x10/0x20
[   22.477609] 
[   22.477690] kfence-#80: 0x00000000f9a5051e-0x00000000d120b72f, size=32, cache=kmalloc-32
[   22.477690] 
[   22.477760] allocated by task 288 on cpu 1 at 22.473977s (0.003779s ago):
[   22.477837]  test_alloc+0x29c/0x628
[   22.477880]  test_out_of_bounds_read+0xdc/0x3e0
[   22.477942]  kunit_try_run_case+0x170/0x3f0
[   22.477999]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.478060]  kthread+0x328/0x630
[   22.478104]  ret_from_fork+0x10/0x20
[   22.478178] 
[   22.478231] CPU: 1 UID: 0 PID: 288 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   22.478327] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.478367] Hardware name: linux,dummy-virt (DT)
[   22.478682] ==================================================================
[   22.797475] ==================================================================
[   22.797572] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   22.797572] 
[   22.797679] Out-of-bounds read at 0x000000008a681964 (1B left of kfence-#83):
[   22.797754]  test_out_of_bounds_read+0x114/0x3e0
[   22.797818]  kunit_try_run_case+0x170/0x3f0
[   22.797885]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.797929]  kthread+0x328/0x630
[   22.797986]  ret_from_fork+0x10/0x20
[   22.798027] 
[   22.798051] kfence-#83: 0x000000001f3b5790-0x00000000b8f2dbc1, size=32, cache=test
[   22.798051] 
[   22.798375] allocated by task 290 on cpu 1 at 22.797245s (0.001122s ago):
[   22.798564]  test_alloc+0x230/0x628
[   22.798610]  test_out_of_bounds_read+0xdc/0x3e0
[   22.798669]  kunit_try_run_case+0x170/0x3f0
[   22.798712]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.798756]  kthread+0x328/0x630
[   22.798807]  ret_from_fork+0x10/0x20
[   22.798854] 
[   22.798909] CPU: 1 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   22.799010] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.799058] Hardware name: linux,dummy-virt (DT)
[   22.799092] ==================================================================
[   22.905904] ==================================================================
[   22.906003] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   22.906003] 
[   22.906090] Out-of-bounds read at 0x00000000ad50ace4 (32B right of kfence-#84):
[   22.906156]  test_out_of_bounds_read+0x1c8/0x3e0
[   22.906222]  kunit_try_run_case+0x170/0x3f0
[   22.906463]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.906528]  kthread+0x328/0x630
[   22.906587]  ret_from_fork+0x10/0x20
[   22.906638] 
[   22.906686] kfence-#84: 0x0000000001508f73-0x0000000068dde7ef, size=32, cache=test
[   22.906686] 
[   22.906752] allocated by task 290 on cpu 1 at 22.905774s (0.000967s ago):
[   22.906823]  test_alloc+0x230/0x628
[   22.907048]  test_out_of_bounds_read+0x198/0x3e0
[   22.907130]  kunit_try_run_case+0x170/0x3f0
[   22.907173]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.907227]  kthread+0x328/0x630
[   22.907284]  ret_from_fork+0x10/0x20
[   22.907350] 
[   22.907424] CPU: 1 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   22.907508] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.907538] Hardware name: linux,dummy-virt (DT)
[   22.907572] ==================================================================
[   22.582445] ==================================================================
[   22.582766] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   22.582766] 
[   22.583164] Out-of-bounds read at 0x00000000f7aa01da (32B right of kfence-#81):
[   22.583336]  test_out_of_bounds_read+0x1c8/0x3e0
[   22.583454]  kunit_try_run_case+0x170/0x3f0
[   22.583507]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.583573]  kthread+0x328/0x630
[   22.583631]  ret_from_fork+0x10/0x20
[   22.583675] 
[   22.583701] kfence-#81: 0x00000000aa4a6067-0x00000000d96589e3, size=32, cache=kmalloc-32
[   22.583701] 
[   22.584031] allocated by task 288 on cpu 1 at 22.581985s (0.002036s ago):
[   22.584135]  test_alloc+0x29c/0x628
[   22.584187]  test_out_of_bounds_read+0x198/0x3e0
[   22.584231]  kunit_try_run_case+0x170/0x3f0
[   22.584272]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.584606]  kthread+0x328/0x630
[   22.584754]  ret_from_fork+0x10/0x20
[   22.584825] 
[   22.584967] CPU: 1 UID: 0 PID: 288 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   22.585088] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.585223] Hardware name: linux,dummy-virt (DT)
[   22.585557] ==================================================================

[   17.322370] ==================================================================
[   17.322772] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   17.322772] 
[   17.323292] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#65):
[   17.323996]  test_out_of_bounds_read+0x126/0x4e0
[   17.324216]  kunit_try_run_case+0x1a5/0x480
[   17.324782]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.325036]  kthread+0x337/0x6f0
[   17.325232]  ret_from_fork+0x116/0x1d0
[   17.325616]  ret_from_fork_asm+0x1a/0x30
[   17.325830] 
[   17.326126] kfence-#65: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.326126] 
[   17.326536] allocated by task 306 on cpu 0 at 17.322302s (0.004232s ago):
[   17.327089]  test_alloc+0x2a6/0x10f0
[   17.327260]  test_out_of_bounds_read+0xed/0x4e0
[   17.327691]  kunit_try_run_case+0x1a5/0x480
[   17.328009]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.328266]  kthread+0x337/0x6f0
[   17.328590]  ret_from_fork+0x116/0x1d0
[   17.328852]  ret_from_fork_asm+0x1a/0x30
[   17.329073] 
[   17.329350] CPU: 0 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   17.329796] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.329984] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.330535] ==================================================================
[   17.218480] ==================================================================
[   17.218884] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   17.218884] 
[   17.219444] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#64):
[   17.219795]  test_out_of_bounds_read+0x216/0x4e0
[   17.220016]  kunit_try_run_case+0x1a5/0x480
[   17.220195]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.220412]  kthread+0x337/0x6f0
[   17.220598]  ret_from_fork+0x116/0x1d0
[   17.220773]  ret_from_fork_asm+0x1a/0x30
[   17.220962] 
[   17.221036] kfence-#64: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.221036] 
[   17.221422] allocated by task 304 on cpu 1 at 17.218311s (0.003109s ago):
[   17.221695]  test_alloc+0x364/0x10f0
[   17.221826]  test_out_of_bounds_read+0x1e2/0x4e0
[   17.222282]  kunit_try_run_case+0x1a5/0x480
[   17.222497]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.222726]  kthread+0x337/0x6f0
[   17.222846]  ret_from_fork+0x116/0x1d0
[   17.223013]  ret_from_fork_asm+0x1a/0x30
[   17.223213] 
[   17.223353] CPU: 1 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   17.223777] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.223916] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.224387] ==================================================================
[   17.115470] ==================================================================
[   17.115954] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   17.115954] 
[   17.116451] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#63):
[   17.116823]  test_out_of_bounds_read+0x126/0x4e0
[   17.117094]  kunit_try_run_case+0x1a5/0x480
[   17.117354]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.117582]  kthread+0x337/0x6f0
[   17.117709]  ret_from_fork+0x116/0x1d0
[   17.117903]  ret_from_fork_asm+0x1a/0x30
[   17.118133] 
[   17.118385] kfence-#63: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.118385] 
[   17.118850] allocated by task 304 on cpu 1 at 17.114415s (0.004374s ago):
[   17.119441]  test_alloc+0x364/0x10f0
[   17.119702]  test_out_of_bounds_read+0xed/0x4e0
[   17.119882]  kunit_try_run_case+0x1a5/0x480
[   17.120087]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.120302]  kthread+0x337/0x6f0
[   17.120479]  ret_from_fork+0x116/0x1d0
[   17.120670]  ret_from_fork_asm+0x1a/0x30
[   17.120918] 
[   17.121082] CPU: 1 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   17.121709] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.121848] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.122373] ==================================================================
[   17.426366] ==================================================================
[   17.426758] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   17.426758] 
[   17.427295] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#66):
[   17.427561]  test_out_of_bounds_read+0x216/0x4e0
[   17.428237]  kunit_try_run_case+0x1a5/0x480
[   17.428562]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.428818]  kthread+0x337/0x6f0
[   17.428999]  ret_from_fork+0x116/0x1d0
[   17.429170]  ret_from_fork_asm+0x1a/0x30
[   17.429619] 
[   17.429719] kfence-#66: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.429719] 
[   17.430149] allocated by task 306 on cpu 0 at 17.426311s (0.003836s ago):
[   17.430618]  test_alloc+0x2a6/0x10f0
[   17.430877]  test_out_of_bounds_read+0x1e2/0x4e0
[   17.431102]  kunit_try_run_case+0x1a5/0x480
[   17.431456]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.431764]  kthread+0x337/0x6f0
[   17.431901]  ret_from_fork+0x116/0x1d0
[   17.432107]  ret_from_fork_asm+0x1a/0x30
[   17.432274] 
[   17.432624] CPU: 0 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   17.433174] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.433377] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.433924] ==================================================================