Hay
Date
May 26, 2025, 9:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   22.250237] ==================================================================
[   22.250502] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   22.250502] 
[   22.250783] Out-of-bounds read at 0x00000000a9cb5eb2 (32B right of kfence-#101):
[   22.250909]  test_out_of_bounds_read+0x1c8/0x3e0
[   22.251013]  kunit_try_run_case+0x170/0x3f0
[   22.251104]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.251200]  kthread+0x328/0x630
[   22.251279]  ret_from_fork+0x10/0x20
[   22.251377] 
[   22.251434] kfence-#101: 0x00000000a0d9fa4e-0x00000000537914da, size=32, cache=test
[   22.251434] 
[   22.251899] allocated by task 289 on cpu 0 at 22.249721s (0.002153s ago):
[   22.252124]  test_alloc+0x230/0x628
[   22.252225]  test_out_of_bounds_read+0x198/0x3e0
[   22.252442]  kunit_try_run_case+0x170/0x3f0
[   22.252735]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.252828]  kthread+0x328/0x630
[   22.253042]  ret_from_fork+0x10/0x20
[   22.253355] 
[   22.253578] CPU: 0 UID: 0 PID: 289 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT 
[   22.254013] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.254269] Hardware name: linux,dummy-virt (DT)
[   22.254435] ==================================================================
[   21.832931] ==================================================================
[   21.833162] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   21.833162] 
[   21.833414] Out-of-bounds read at 0x00000000d53b03bc (32B right of kfence-#97):
[   21.833539]  test_out_of_bounds_read+0x1c8/0x3e0
[   21.833650]  kunit_try_run_case+0x170/0x3f0
[   21.833733]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.833813]  kthread+0x328/0x630
[   21.833888]  ret_from_fork+0x10/0x20
[   21.833961] 
[   21.834018] kfence-#97: 0x00000000c46db671-0x000000007d182a7a, size=32, cache=kmalloc-32
[   21.834018] 
[   21.834139] allocated by task 287 on cpu 0 at 21.832369s (0.001761s ago):
[   21.834304]  test_alloc+0x29c/0x628
[   21.834394]  test_out_of_bounds_read+0x198/0x3e0
[   21.834476]  kunit_try_run_case+0x170/0x3f0
[   21.834550]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.834639]  kthread+0x328/0x630
[   21.834717]  ret_from_fork+0x10/0x20
[   21.834918] 
[   21.835020] CPU: 0 UID: 0 PID: 287 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT 
[   21.835307] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.835717] Hardware name: linux,dummy-virt (DT)
[   21.835817] ==================================================================
[   22.044082] ==================================================================
[   22.044358] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   22.044358] 
[   22.044970] Out-of-bounds read at 0x0000000016f85214 (1B left of kfence-#99):
[   22.045566]  test_out_of_bounds_read+0x114/0x3e0
[   22.046340]  kunit_try_run_case+0x170/0x3f0
[   22.046588]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.046696]  kthread+0x328/0x630
[   22.046789]  ret_from_fork+0x10/0x20
[   22.046876] 
[   22.047642] kfence-#99: 0x000000002dfe1980-0x00000000d625c233, size=32, cache=test
[   22.047642] 
[   22.047904] allocated by task 289 on cpu 0 at 22.042213s (0.005652s ago):
[   22.048599]  test_alloc+0x230/0x628
[   22.048928]  test_out_of_bounds_read+0xdc/0x3e0
[   22.049333]  kunit_try_run_case+0x170/0x3f0
[   22.049656]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.050190]  kthread+0x328/0x630
[   22.050367]  ret_from_fork+0x10/0x20
[   22.050453] 
[   22.051061] CPU: 0 UID: 0 PID: 289 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT 
[   22.051514] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.051581] Hardware name: linux,dummy-virt (DT)
[   22.051913] ==================================================================
[   21.624938] ==================================================================
[   21.625163] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   21.625163] 
[   21.625474] Out-of-bounds read at 0x00000000da348c44 (1B left of kfence-#95):
[   21.625688]  test_out_of_bounds_read+0x114/0x3e0
[   21.625806]  kunit_try_run_case+0x170/0x3f0
[   21.625903]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.626002]  kthread+0x328/0x630
[   21.626095]  ret_from_fork+0x10/0x20
[   21.626221] 
[   21.626301] kfence-#95: 0x0000000045dd50ac-0x00000000961b10b2, size=32, cache=kmalloc-32
[   21.626301] 
[   21.626419] allocated by task 287 on cpu 0 at 21.624466s (0.001945s ago):
[   21.626570]  test_alloc+0x29c/0x628
[   21.626696]  test_out_of_bounds_read+0xdc/0x3e0
[   21.627088]  kunit_try_run_case+0x170/0x3f0
[   21.627196]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.627282]  kthread+0x328/0x630
[   21.627366]  ret_from_fork+0x10/0x20
[   21.627838] 
[   21.627940] CPU: 0 UID: 0 PID: 287 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT 
[   21.628125] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.628195] Hardware name: linux,dummy-virt (DT)
[   21.628284] ==================================================================


[   15.883391] ==================================================================
[   15.883802] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   15.883802] 
[   15.884177] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#67):
[   15.884477]  test_out_of_bounds_read+0x216/0x4e0
[   15.884719]  kunit_try_run_case+0x1a5/0x480
[   15.884942]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.885189]  kthread+0x337/0x6f0
[   15.885359]  ret_from_fork+0x116/0x1d0
[   15.885545]  ret_from_fork_asm+0x1a/0x30
[   15.885694] 
[   15.885791] kfence-#67: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   15.885791] 
[   15.886239] allocated by task 307 on cpu 0 at 15.883330s (0.002907s ago):
[   15.886542]  test_alloc+0x2a6/0x10f0
[   15.886717]  test_out_of_bounds_read+0x1e2/0x4e0
[   15.886962]  kunit_try_run_case+0x1a5/0x480
[   15.887167]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.887347]  kthread+0x337/0x6f0
[   15.887532]  ret_from_fork+0x116/0x1d0
[   15.887724]  ret_from_fork_asm+0x1a/0x30
[   15.887920] 
[   15.888028] CPU: 0 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT(voluntary) 
[   15.888488] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.888692] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.889052] ==================================================================
[   15.571502] ==================================================================
[   15.572007] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   15.572007] 
[   15.572482] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#64):
[   15.573278]  test_out_of_bounds_read+0x216/0x4e0
[   15.573510]  kunit_try_run_case+0x1a5/0x480
[   15.573839]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.574172]  kthread+0x337/0x6f0
[   15.574330]  ret_from_fork+0x116/0x1d0
[   15.574650]  ret_from_fork_asm+0x1a/0x30
[   15.574968] 
[   15.575073] kfence-#64: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   15.575073] 
[   15.575471] allocated by task 305 on cpu 0 at 15.571309s (0.004160s ago):
[   15.575781]  test_alloc+0x364/0x10f0
[   15.576208]  test_out_of_bounds_read+0x1e2/0x4e0
[   15.576495]  kunit_try_run_case+0x1a5/0x480
[   15.576792]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.577105]  kthread+0x337/0x6f0
[   15.577241]  ret_from_fork+0x116/0x1d0
[   15.577549]  ret_from_fork_asm+0x1a/0x30
[   15.577810] 
[   15.578059] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT(voluntary) 
[   15.578656] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.579005] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.579399] ==================================================================
[   15.468329] ==================================================================
[   15.468794] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   15.468794] 
[   15.469322] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#63):
[   15.470131]  test_out_of_bounds_read+0x126/0x4e0
[   15.470370]  kunit_try_run_case+0x1a5/0x480
[   15.470581]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.471096]  kthread+0x337/0x6f0
[   15.471252]  ret_from_fork+0x116/0x1d0
[   15.471599]  ret_from_fork_asm+0x1a/0x30
[   15.471846] 
[   15.472262] kfence-#63: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   15.472262] 
[   15.472768] allocated by task 305 on cpu 0 at 15.467296s (0.005413s ago):
[   15.473319]  test_alloc+0x364/0x10f0
[   15.473534]  test_out_of_bounds_read+0xed/0x4e0
[   15.474045]  kunit_try_run_case+0x1a5/0x480
[   15.474248]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.474498]  kthread+0x337/0x6f0
[   15.474802]  ret_from_fork+0x116/0x1d0
[   15.475057]  ret_from_fork_asm+0x1a/0x30
[   15.475371] 
[   15.475628] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT(voluntary) 
[   15.476231] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.476441] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.476995] ==================================================================
[   15.779350] ==================================================================
[   15.779768] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   15.779768] 
[   15.780239] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#66):
[   15.780523]  test_out_of_bounds_read+0x126/0x4e0
[   15.780753]  kunit_try_run_case+0x1a5/0x480
[   15.780970]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.781199]  kthread+0x337/0x6f0
[   15.781348]  ret_from_fork+0x116/0x1d0
[   15.781559]  ret_from_fork_asm+0x1a/0x30
[   15.781776] 
[   15.781852] kfence-#66: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   15.781852] 
[   15.782173] allocated by task 307 on cpu 0 at 15.779295s (0.002876s ago):
[   15.782545]  test_alloc+0x2a6/0x10f0
[   15.782750]  test_out_of_bounds_read+0xed/0x4e0
[   15.782999]  kunit_try_run_case+0x1a5/0x480
[   15.783175]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.783442]  kthread+0x337/0x6f0
[   15.783592]  ret_from_fork+0x116/0x1d0
[   15.783763]  ret_from_fork_asm+0x1a/0x30
[   15.783997] 
[   15.784122] CPU: 0 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT(voluntary) 
[   15.784557] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.784809] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.785154] ==================================================================