Hay
Date
May 29, 2025, 7:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   26.342447] ==================================================================
[   26.342978] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   26.342978] 
[   26.343350] Out-of-bounds read at 0x00000000ff0c7053 (32B right of kfence-#108):
[   26.343510]  test_out_of_bounds_read+0x1c8/0x3e0
[   26.343628]  kunit_try_run_case+0x170/0x3f0
[   26.343862]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.344471]  kthread+0x328/0x630
[   26.344582]  ret_from_fork+0x10/0x20
[   26.344869] 
[   26.345038] kfence-#108: 0x0000000012faa4ac-0x00000000fa0691e8, size=32, cache=kmalloc-32
[   26.345038] 
[   26.345210] allocated by task 287 on cpu 1 at 26.341175s (0.003987s ago):
[   26.345661]  test_alloc+0x29c/0x628
[   26.346014]  test_out_of_bounds_read+0x198/0x3e0
[   26.346202]  kunit_try_run_case+0x170/0x3f0
[   26.346321]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.346427]  kthread+0x328/0x630
[   26.346518]  ret_from_fork+0x10/0x20
[   26.346613] 
[   26.347279] CPU: 1 UID: 0 PID: 287 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250529 #1 PREEMPT 
[   26.347493] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.347553] Hardware name: linux,dummy-virt (DT)
[   26.348101] ==================================================================
[   26.653262] ==================================================================
[   26.653447] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   26.653447] 
[   26.654156] Out-of-bounds read at 0x000000007d51eaec (32B right of kfence-#111):
[   26.654806]  test_out_of_bounds_read+0x1c8/0x3e0
[   26.655613]  kunit_try_run_case+0x170/0x3f0
[   26.656416]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.657085]  kthread+0x328/0x630
[   26.657339]  ret_from_fork+0x10/0x20
[   26.657534] 
[   26.657593] kfence-#111: 0x00000000ecacf602-0x000000006442ddbf, size=32, cache=test
[   26.657593] 
[   26.658453] allocated by task 289 on cpu 1 at 26.653094s (0.005324s ago):
[   26.659156]  test_alloc+0x230/0x628
[   26.659640]  test_out_of_bounds_read+0x198/0x3e0
[   26.660192]  kunit_try_run_case+0x170/0x3f0
[   26.660298]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.660904]  kthread+0x328/0x630
[   26.661212]  ret_from_fork+0x10/0x20
[   26.661490] 
[   26.661764] CPU: 1 UID: 0 PID: 289 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250529 #1 PREEMPT 
[   26.661987] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.662685] Hardware name: linux,dummy-virt (DT)
[   26.662814] ==================================================================
[   26.240531] ==================================================================
[   26.241274] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   26.241274] 
[   26.242005] Out-of-bounds read at 0x000000005a0cac36 (1B left of kfence-#107):
[   26.243133]  test_out_of_bounds_read+0x114/0x3e0
[   26.243216]  kunit_try_run_case+0x170/0x3f0
[   26.243273]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.243325]  kthread+0x328/0x630
[   26.243370]  ret_from_fork+0x10/0x20
[   26.243613] 
[   26.244367] kfence-#107: 0x000000008cf39261-0x00000000b5b1cb45, size=32, cache=kmalloc-32
[   26.244367] 
[   26.245370] allocated by task 287 on cpu 1 at 26.236532s (0.008720s ago):
[   26.246896]  test_alloc+0x29c/0x628
[   26.247065]  test_out_of_bounds_read+0xdc/0x3e0
[   26.247161]  kunit_try_run_case+0x170/0x3f0
[   26.247255]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.247370]  kthread+0x328/0x630
[   26.247901]  ret_from_fork+0x10/0x20
[   26.248456] 
[   26.248874] CPU: 1 UID: 0 PID: 287 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250529 #1 PREEMPT 
[   26.249468] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.249696] Hardware name: linux,dummy-virt (DT)
[   26.249973] ==================================================================
[   26.547767] ==================================================================
[   26.547938] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   26.547938] 
[   26.548199] Out-of-bounds read at 0x000000004d78b883 (1B left of kfence-#110):
[   26.548347]  test_out_of_bounds_read+0x114/0x3e0
[   26.548482]  kunit_try_run_case+0x170/0x3f0
[   26.548584]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.548684]  kthread+0x328/0x630
[   26.548914]  ret_from_fork+0x10/0x20
[   26.549056] 
[   26.549254] kfence-#110: 0x0000000009948346-0x0000000020b2acef, size=32, cache=test
[   26.549254] 
[   26.549416] allocated by task 289 on cpu 1 at 26.547468s (0.001926s ago):
[   26.549693]  test_alloc+0x230/0x628
[   26.549793]  test_out_of_bounds_read+0xdc/0x3e0
[   26.549900]  kunit_try_run_case+0x170/0x3f0
[   26.550225]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.550385]  kthread+0x328/0x630
[   26.550774]  ret_from_fork+0x10/0x20
[   26.550971] 
[   26.551094] CPU: 1 UID: 0 PID: 289 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250529 #1 PREEMPT 
[   26.551322] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.551468] Hardware name: linux,dummy-virt (DT)
[   26.551679] ==================================================================


[   15.850107] ==================================================================
[   15.850513] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   15.850513] 
[   15.851160] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#66):
[   15.851509]  test_out_of_bounds_read+0x216/0x4e0
[   15.851700]  kunit_try_run_case+0x1a5/0x480
[   15.852032]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.852287]  kthread+0x337/0x6f0
[   15.852486]  ret_from_fork+0x116/0x1d0
[   15.852692]  ret_from_fork_asm+0x1a/0x30
[   15.852919] 
[   15.853040] kfence-#66: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   15.853040] 
[   15.853364] allocated by task 306 on cpu 0 at 15.850054s (0.003308s ago):
[   15.853741]  test_alloc+0x2a6/0x10f0
[   15.853943]  test_out_of_bounds_read+0x1e2/0x4e0
[   15.854169]  kunit_try_run_case+0x1a5/0x480
[   15.854375]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.854635]  kthread+0x337/0x6f0
[   15.854858]  ret_from_fork+0x116/0x1d0
[   15.855006]  ret_from_fork_asm+0x1a/0x30
[   15.855201] 
[   15.855344] CPU: 0 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250529 #1 PREEMPT(voluntary) 
[   15.855799] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.856029] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.856444] ==================================================================
[   15.331017] ==================================================================
[   15.331557] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   15.331557] 
[   15.332384] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#61):
[   15.333208]  test_out_of_bounds_read+0x126/0x4e0
[   15.333431]  kunit_try_run_case+0x1a5/0x480
[   15.333661]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.333961]  kthread+0x337/0x6f0
[   15.334147]  ret_from_fork+0x116/0x1d0
[   15.334328]  ret_from_fork_asm+0x1a/0x30
[   15.334526] 
[   15.334617] kfence-#61: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   15.334617] 
[   15.335083] allocated by task 304 on cpu 1 at 15.330067s (0.005014s ago):
[   15.335421]  test_alloc+0x364/0x10f0
[   15.335658]  test_out_of_bounds_read+0xed/0x4e0
[   15.335886]  kunit_try_run_case+0x1a5/0x480
[   15.336154]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.336418]  kthread+0x337/0x6f0
[   15.336582]  ret_from_fork+0x116/0x1d0
[   15.336792]  ret_from_fork_asm+0x1a/0x30
[   15.337035] 
[   15.337196] CPU: 1 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250529 #1 PREEMPT(voluntary) 
[   15.337626] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.337912] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.338216] ==================================================================
[   15.434272] ==================================================================
[   15.434706] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   15.434706] 
[   15.435162] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#62):
[   15.435449]  test_out_of_bounds_read+0x216/0x4e0
[   15.435657]  kunit_try_run_case+0x1a5/0x480
[   15.436012]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.436222]  kthread+0x337/0x6f0
[   15.436408]  ret_from_fork+0x116/0x1d0
[   15.436619]  ret_from_fork_asm+0x1a/0x30
[   15.436804] 
[   15.436890] kfence-#62: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   15.436890] 
[   15.437281] allocated by task 304 on cpu 1 at 15.434090s (0.003189s ago):
[   15.437515]  test_alloc+0x364/0x10f0
[   15.437714]  test_out_of_bounds_read+0x1e2/0x4e0
[   15.437953]  kunit_try_run_case+0x1a5/0x480
[   15.438173]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.438388]  kthread+0x337/0x6f0
[   15.438560]  ret_from_fork+0x116/0x1d0
[   15.438710]  ret_from_fork_asm+0x1a/0x30
[   15.439109] 
[   15.439232] CPU: 1 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250529 #1 PREEMPT(voluntary) 
[   15.439633] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.439839] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.440265] ==================================================================
[   15.538149] ==================================================================
[   15.538550] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   15.538550] 
[   15.539056] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#63):
[   15.539432]  test_out_of_bounds_read+0x126/0x4e0
[   15.539991]  kunit_try_run_case+0x1a5/0x480
[   15.540226]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.540484]  kthread+0x337/0x6f0
[   15.540630]  ret_from_fork+0x116/0x1d0
[   15.540769]  ret_from_fork_asm+0x1a/0x30
[   15.541001] 
[   15.541102] kfence-#63: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   15.541102] 
[   15.541421] allocated by task 306 on cpu 0 at 15.538087s (0.003332s ago):
[   15.541868]  test_alloc+0x2a6/0x10f0
[   15.542093]  test_out_of_bounds_read+0xed/0x4e0
[   15.542317]  kunit_try_run_case+0x1a5/0x480
[   15.542536]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.542823]  kthread+0x337/0x6f0
[   15.542984]  ret_from_fork+0x116/0x1d0
[   15.543152]  ret_from_fork_asm+0x1a/0x30
[   15.543386] 
[   15.543513] CPU: 0 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250529 #1 PREEMPT(voluntary) 
[   15.544060] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.544263] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.544562] ==================================================================