Hay
Date
July 17, 2025, 10:12 a.m.

Environment
qemu-arm64
qemu-x86_64

[   32.602305] ==================================================================
[   32.602427] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   32.602427] 
[   32.602554] Out-of-bounds read at 0x0000000064bb840d (1B left of kfence-#117):
[   32.602999]  test_out_of_bounds_read+0x114/0x3e0
[   32.603104]  kunit_try_run_case+0x170/0x3f0
[   32.603177]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.603228]  kthread+0x328/0x630
[   32.603299]  ret_from_fork+0x10/0x20
[   32.603372] 
[   32.603564] kfence-#117: 0x00000000a8e2d72b-0x00000000a2593e13, size=32, cache=kmalloc-32
[   32.603564] 
[   32.603738] allocated by task 318 on cpu 0 at 32.601199s (0.002483s ago):
[   32.604097]  test_alloc+0x29c/0x628
[   32.604159]  test_out_of_bounds_read+0xdc/0x3e0
[   32.604345]  kunit_try_run_case+0x170/0x3f0
[   32.604413]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.604456]  kthread+0x328/0x630
[   32.604639]  ret_from_fork+0x10/0x20
[   32.605084] 
[   32.605215] CPU: 0 UID: 0 PID: 318 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT 
[   32.605331] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.605360] Hardware name: linux,dummy-virt (DT)
[   32.605399] ==================================================================
[   33.225185] ==================================================================
[   33.225302] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   33.225302] 
[   33.225386] Out-of-bounds read at 0x000000000dba6bbf (32B right of kfence-#123):
[   33.225444]  test_out_of_bounds_read+0x1c8/0x3e0
[   33.225491]  kunit_try_run_case+0x170/0x3f0
[   33.225532]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.225574]  kthread+0x328/0x630
[   33.225613]  ret_from_fork+0x10/0x20
[   33.225652] 
[   33.225699] kfence-#123: 0x0000000054bcea64-0x0000000092510b3a, size=32, cache=test
[   33.225699] 
[   33.225870] allocated by task 320 on cpu 0 at 33.225043s (0.000705s ago):
[   33.225970]  test_alloc+0x230/0x628
[   33.226010]  test_out_of_bounds_read+0x198/0x3e0
[   33.228090]  kunit_try_run_case+0x170/0x3f0
[   33.228143]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.228184]  kthread+0x328/0x630
[   33.228219]  ret_from_fork+0x10/0x20
[   33.228259] 
[   33.228298] CPU: 0 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT 
[   33.228377] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.228403] Hardware name: linux,dummy-virt (DT)
[   33.228436] ==================================================================
[   33.121197] ==================================================================
[   33.121275] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   33.121275] 
[   33.121455] Out-of-bounds read at 0x000000004bd28133 (1B left of kfence-#122):
[   33.121629]  test_out_of_bounds_read+0x114/0x3e0
[   33.121702]  kunit_try_run_case+0x170/0x3f0
[   33.121780]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.121823]  kthread+0x328/0x630
[   33.121891]  ret_from_fork+0x10/0x20
[   33.121959] 
[   33.121984] kfence-#122: 0x0000000026db3f89-0x0000000009c30ab1, size=32, cache=test
[   33.121984] 
[   33.122036] allocated by task 320 on cpu 0 at 33.120982s (0.001050s ago):
[   33.122163]  test_alloc+0x230/0x628
[   33.122229]  test_out_of_bounds_read+0xdc/0x3e0
[   33.122356]  kunit_try_run_case+0x170/0x3f0
[   33.122437]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.122481]  kthread+0x328/0x630
[   33.122545]  ret_from_fork+0x10/0x20
[   33.122585] 
[   33.122659] CPU: 0 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT 
[   33.122741] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.122779] Hardware name: linux,dummy-virt (DT)
[   33.122812] ==================================================================
[   32.811218] ==================================================================
[   32.811315] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   32.811315] 
[   32.811494] Out-of-bounds read at 0x000000009c637b7b (32B right of kfence-#119):
[   32.811558]  test_out_of_bounds_read+0x1c8/0x3e0
[   32.811615]  kunit_try_run_case+0x170/0x3f0
[   32.811659]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.811702]  kthread+0x328/0x630
[   32.811739]  ret_from_fork+0x10/0x20
[   32.811778] 
[   32.811809] kfence-#119: 0x000000006d72e308-0x00000000c2dd7477, size=32, cache=kmalloc-32
[   32.811809] 
[   32.811877] allocated by task 318 on cpu 0 at 32.810952s (0.000920s ago):
[   32.811950]  test_alloc+0x29c/0x628
[   32.811997]  test_out_of_bounds_read+0x198/0x3e0
[   32.812041]  kunit_try_run_case+0x170/0x3f0
[   32.812100]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.812143]  kthread+0x328/0x630
[   32.812178]  ret_from_fork+0x10/0x20
[   32.812215] 
[   32.812259] CPU: 0 UID: 0 PID: 318 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT 
[   32.812341] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.812370] Hardware name: linux,dummy-virt (DT)
[   32.812401] ==================================================================

[   29.982739] ==================================================================
[   29.983133] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   29.983133] 
[   29.983582] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#85):
[   29.983916]  test_out_of_bounds_read+0x216/0x4e0
[   29.984128]  kunit_try_run_case+0x1a5/0x480
[   29.984319]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.984535]  kthread+0x337/0x6f0
[   29.984686]  ret_from_fork+0x116/0x1d0
[   29.984873]  ret_from_fork_asm+0x1a/0x30
[   29.985025] 
[   29.985102] kfence-#85: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   29.985102] 
[   29.985485] allocated by task 336 on cpu 0 at 29.982576s (0.002907s ago):
[   29.985738]  test_alloc+0x364/0x10f0
[   29.985859]  test_out_of_bounds_read+0x1e2/0x4e0
[   29.986329]  kunit_try_run_case+0x1a5/0x480
[   29.986531]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.986739]  kthread+0x337/0x6f0
[   29.986890]  ret_from_fork+0x116/0x1d0
[   29.987016]  ret_from_fork_asm+0x1a/0x30
[   29.987176] 
[   29.987286] CPU: 0 UID: 0 PID: 336 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT(voluntary) 
[   29.987845] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.987976] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.988566] ==================================================================
[   29.775963] ==================================================================
[   29.776519] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   29.776519] 
[   29.776957] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#83):
[   29.777221]  test_out_of_bounds_read+0x126/0x4e0
[   29.777484]  kunit_try_run_case+0x1a5/0x480
[   29.777646]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.777874]  kthread+0x337/0x6f0
[   29.778010]  ret_from_fork+0x116/0x1d0
[   29.778201]  ret_from_fork_asm+0x1a/0x30
[   29.778451] 
[   29.778566] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   29.778566] 
[   29.778921] allocated by task 336 on cpu 0 at 29.775541s (0.003378s ago):
[   29.779245]  test_alloc+0x364/0x10f0
[   29.779372]  test_out_of_bounds_read+0xed/0x4e0
[   29.779584]  kunit_try_run_case+0x1a5/0x480
[   29.779804]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.780025]  kthread+0x337/0x6f0
[   29.780146]  ret_from_fork+0x116/0x1d0
[   29.780397]  ret_from_fork_asm+0x1a/0x30
[   29.780629] 
[   29.780727] CPU: 0 UID: 0 PID: 336 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT(voluntary) 
[   29.781131] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.781461] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.781771] ==================================================================
[   30.190602] ==================================================================
[   30.190967] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   30.190967] 
[   30.191404] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#87):
[   30.191713]  test_out_of_bounds_read+0x216/0x4e0
[   30.191926]  kunit_try_run_case+0x1a5/0x480
[   30.192112]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.192376]  kthread+0x337/0x6f0
[   30.192497]  ret_from_fork+0x116/0x1d0
[   30.192626]  ret_from_fork_asm+0x1a/0x30
[   30.192827] 
[   30.192918] kfence-#87: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.192918] 
[   30.193313] allocated by task 338 on cpu 1 at 30.190554s (0.002757s ago):
[   30.193577]  test_alloc+0x2a6/0x10f0
[   30.193737]  test_out_of_bounds_read+0x1e2/0x4e0
[   30.193957]  kunit_try_run_case+0x1a5/0x480
[   30.194172]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.194408]  kthread+0x337/0x6f0
[   30.194522]  ret_from_fork+0x116/0x1d0
[   30.194647]  ret_from_fork_asm+0x1a/0x30
[   30.194837] 
[   30.194956] CPU: 1 UID: 0 PID: 338 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT(voluntary) 
[   30.195512] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.195764] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.196050] ==================================================================
[   30.086630] ==================================================================
[   30.087004] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   30.087004] 
[   30.087419] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#86):
[   30.087739]  test_out_of_bounds_read+0x126/0x4e0
[   30.087930]  kunit_try_run_case+0x1a5/0x480
[   30.088130]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.088411]  kthread+0x337/0x6f0
[   30.088534]  ret_from_fork+0x116/0x1d0
[   30.088663]  ret_from_fork_asm+0x1a/0x30
[   30.088799] 
[   30.088881] kfence-#86: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.088881] 
[   30.089292] allocated by task 338 on cpu 1 at 30.086571s (0.002719s ago):
[   30.089643]  test_alloc+0x2a6/0x10f0
[   30.089813]  test_out_of_bounds_read+0xed/0x4e0
[   30.089966]  kunit_try_run_case+0x1a5/0x480
[   30.090184]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.090643]  kthread+0x337/0x6f0
[   30.090770]  ret_from_fork+0x116/0x1d0
[   30.090972]  ret_from_fork_asm+0x1a/0x30
[   30.091159] 
[   30.091274] CPU: 1 UID: 0 PID: 338 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT(voluntary) 
[   30.091659] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.091792] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.092215] ==================================================================