Hay
Date
July 16, 2025, 12:11 p.m.

Environment
qemu-arm64
qemu-x86_64

[   34.184756] ==================================================================
[   34.184884] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   34.184884] 
[   34.184993] Out-of-bounds read at 0x0000000016e61c86 (1B left of kfence-#117):
[   34.185160]  test_out_of_bounds_read+0x114/0x3e0
[   34.185213]  kunit_try_run_case+0x170/0x3f0
[   34.185372]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.185463]  kthread+0x328/0x630
[   34.185566]  ret_from_fork+0x10/0x20
[   34.185611] 
[   34.185661] kfence-#117: 0x000000008a2cd43a-0x00000000239fc527, size=32, cache=test
[   34.185661] 
[   34.185754] allocated by task 320 on cpu 0 at 34.184645s (0.001098s ago):
[   34.185914]  test_alloc+0x230/0x628
[   34.186019]  test_out_of_bounds_read+0xdc/0x3e0
[   34.186063]  kunit_try_run_case+0x170/0x3f0
[   34.186106]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.186153]  kthread+0x328/0x630
[   34.186190]  ret_from_fork+0x10/0x20
[   34.186474] 
[   34.186604] CPU: 0 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT 
[   34.186842] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.186889] Hardware name: linux,dummy-virt (DT)
[   34.186983] ==================================================================
[   33.976939] ==================================================================
[   33.977024] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   33.977024] 
[   33.977124] Out-of-bounds read at 0x000000002ae1be92 (32B right of kfence-#115):
[   33.977241]  test_out_of_bounds_read+0x1c8/0x3e0
[   33.977314]  kunit_try_run_case+0x170/0x3f0
[   33.977361]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.977727]  kthread+0x328/0x630
[   33.977792]  ret_from_fork+0x10/0x20
[   33.977834] 
[   33.977859] kfence-#115: 0x00000000db71380c-0x00000000fb1f2b57, size=32, cache=kmalloc-32
[   33.977859] 
[   33.977920] allocated by task 318 on cpu 0 at 33.976643s (0.001273s ago):
[   33.977995]  test_alloc+0x29c/0x628
[   33.978037]  test_out_of_bounds_read+0x198/0x3e0
[   33.978078]  kunit_try_run_case+0x170/0x3f0
[   33.978119]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.978164]  kthread+0x328/0x630
[   33.978199]  ret_from_fork+0x10/0x20
[   33.978241] 
[   33.978280] CPU: 0 UID: 0 PID: 318 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT 
[   33.978377] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.978409] Hardware name: linux,dummy-virt (DT)
[   33.978444] ==================================================================
[   34.809632] ==================================================================
[   34.809774] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   34.809774] 
[   34.809915] Out-of-bounds read at 0x000000005eb2fed1 (32B right of kfence-#123):
[   34.810306]  test_out_of_bounds_read+0x1c8/0x3e0
[   34.810361]  kunit_try_run_case+0x170/0x3f0
[   34.810416]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.810464]  kthread+0x328/0x630
[   34.810517]  ret_from_fork+0x10/0x20
[   34.810561] 
[   34.810586] kfence-#123: 0x00000000ff8a08d0-0x00000000865f9bf7, size=32, cache=test
[   34.810586] 
[   34.810644] allocated by task 320 on cpu 0 at 34.809133s (0.001507s ago):
[   34.810733]  test_alloc+0x230/0x628
[   34.810779]  test_out_of_bounds_read+0x198/0x3e0
[   34.810821]  kunit_try_run_case+0x170/0x3f0
[   34.810929]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.810976]  kthread+0x328/0x630
[   34.811013]  ret_from_fork+0x10/0x20
[   34.811052] 
[   34.811094] CPU: 0 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT 
[   34.811180] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.811211] Hardware name: linux,dummy-virt (DT)
[   34.811245] ==================================================================
[   33.874732] ==================================================================
[   33.874835] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   33.874835] 
[   33.874957] Out-of-bounds read at 0x0000000034cff0f0 (1B left of kfence-#114):
[   33.875168]  test_out_of_bounds_read+0x114/0x3e0
[   33.875221]  kunit_try_run_case+0x170/0x3f0
[   33.875266]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.875310]  kthread+0x328/0x630
[   33.875484]  ret_from_fork+0x10/0x20
[   33.876901] 
[   33.877589] kfence-#114: 0x00000000f9258f6d-0x0000000015a8d339, size=32, cache=kmalloc-32
[   33.877589] 
[   33.877955] allocated by task 318 on cpu 0 at 33.873312s (0.004539s ago):
[   33.879662]  test_alloc+0x29c/0x628
[   33.880054]  test_out_of_bounds_read+0xdc/0x3e0
[   33.880262]  kunit_try_run_case+0x170/0x3f0
[   33.880418]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.880843]  kthread+0x328/0x630
[   33.880984]  ret_from_fork+0x10/0x20
[   33.881523] 
[   33.881767] CPU: 0 UID: 0 PID: 318 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT 
[   33.882180] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.882400] Hardware name: linux,dummy-virt (DT)
[   33.882578] ==================================================================

[   27.570507] ==================================================================
[   27.570897] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   27.570897] 
[   27.571403] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#84):
[   27.571731]  test_out_of_bounds_read+0x216/0x4e0
[   27.571976]  kunit_try_run_case+0x1a5/0x480
[   27.572489]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.572998]  kthread+0x337/0x6f0
[   27.573187]  ret_from_fork+0x116/0x1d0
[   27.573372]  ret_from_fork_asm+0x1a/0x30
[   27.573543] 
[   27.573667] kfence-#84: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   27.573667] 
[   27.574044] allocated by task 336 on cpu 0 at 27.570270s (0.003772s ago):
[   27.574350]  test_alloc+0x364/0x10f0
[   27.574477]  test_out_of_bounds_read+0x1e2/0x4e0
[   27.574630]  kunit_try_run_case+0x1a5/0x480
[   27.574774]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.575051]  kthread+0x337/0x6f0
[   27.575217]  ret_from_fork+0x116/0x1d0
[   27.575407]  ret_from_fork_asm+0x1a/0x30
[   27.575615] 
[   27.575723] CPU: 0 UID: 0 PID: 336 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT(voluntary) 
[   27.576109] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.576308] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.576833] ==================================================================
[   27.674278] ==================================================================
[   27.674756] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   27.674756] 
[   27.675383] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#85):
[   27.675629]  test_out_of_bounds_read+0x126/0x4e0
[   27.675877]  kunit_try_run_case+0x1a5/0x480
[   27.676066]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.676243]  kthread+0x337/0x6f0
[   27.676406]  ret_from_fork+0x116/0x1d0
[   27.676597]  ret_from_fork_asm+0x1a/0x30
[   27.676841] 
[   27.676933] kfence-#85: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   27.676933] 
[   27.677222] allocated by task 338 on cpu 1 at 27.674210s (0.003010s ago):
[   27.677595]  test_alloc+0x2a6/0x10f0
[   27.677839]  test_out_of_bounds_read+0xed/0x4e0
[   27.678100]  kunit_try_run_case+0x1a5/0x480
[   27.678314]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.678501]  kthread+0x337/0x6f0
[   27.678730]  ret_from_fork+0x116/0x1d0
[   27.678948]  ret_from_fork_asm+0x1a/0x30
[   27.679147] 
[   27.679298] CPU: 1 UID: 0 PID: 338 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT(voluntary) 
[   27.679979] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.680118] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.680420] ==================================================================
[   27.882287] ==================================================================
[   27.882775] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   27.882775] 
[   27.883284] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#87):
[   27.883656]  test_out_of_bounds_read+0x216/0x4e0
[   27.883853]  kunit_try_run_case+0x1a5/0x480
[   27.884095]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.884319]  kthread+0x337/0x6f0
[   27.884500]  ret_from_fork+0x116/0x1d0
[   27.884650]  ret_from_fork_asm+0x1a/0x30
[   27.884846] 
[   27.884940] kfence-#87: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   27.884940] 
[   27.885278] allocated by task 338 on cpu 1 at 27.882224s (0.003053s ago):
[   27.885575]  test_alloc+0x2a6/0x10f0
[   27.885856]  test_out_of_bounds_read+0x1e2/0x4e0
[   27.886081]  kunit_try_run_case+0x1a5/0x480
[   27.886288]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.886539]  kthread+0x337/0x6f0
[   27.886684]  ret_from_fork+0x116/0x1d0
[   27.886872]  ret_from_fork_asm+0x1a/0x30
[   27.887098] 
[   27.887213] CPU: 1 UID: 0 PID: 338 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT(voluntary) 
[   27.887813] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.888002] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.888290] ==================================================================
[   27.467421] ==================================================================
[   27.467999] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   27.467999] 
[   27.468512] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#83):
[   27.469137]  test_out_of_bounds_read+0x126/0x4e0
[   27.469401]  kunit_try_run_case+0x1a5/0x480
[   27.469641]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.469827]  kthread+0x337/0x6f0
[   27.470019]  ret_from_fork+0x116/0x1d0
[   27.470208]  ret_from_fork_asm+0x1a/0x30
[   27.470412] 
[   27.470681] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   27.470681] 
[   27.471222] allocated by task 336 on cpu 0 at 27.466168s (0.004997s ago):
[   27.471836]  test_alloc+0x364/0x10f0
[   27.472058]  test_out_of_bounds_read+0xed/0x4e0
[   27.472309]  kunit_try_run_case+0x1a5/0x480
[   27.472547]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.472871]  kthread+0x337/0x6f0
[   27.473008]  ret_from_fork+0x116/0x1d0
[   27.473138]  ret_from_fork_asm+0x1a/0x30
[   27.473367] 
[   27.473547] CPU: 0 UID: 0 PID: 336 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250716 #1 PREEMPT(voluntary) 
[   27.474106] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.474267] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.474671] ==================================================================