Hay
Date
May 12, 2025, 11:48 a.m.

Environment
qemu-arm64
qemu-x86_64

[   20.205142] ==================================================================
[   20.205234] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   20.205234] 
[   20.205344] Out-of-bounds read at 0x00000000193cecd2 (32B right of kfence-#94):
[   20.205405]  test_out_of_bounds_read+0x1c8/0x3e0
[   20.205454]  kunit_try_run_case+0x170/0x3f0
[   20.205496]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.205538]  kthread+0x328/0x630
[   20.205579]  ret_from_fork+0x10/0x20
[   20.205618] 
[   20.205643] kfence-#94: 0x00000000dce77df6-0x00000000db2f43cb, size=32, cache=kmalloc-32
[   20.205643] 
[   20.205695] allocated by task 287 on cpu 0 at 20.204870s (0.000821s ago):
[   20.205763]  test_alloc+0x29c/0x628
[   20.205803]  test_out_of_bounds_read+0x198/0x3e0
[   20.205841]  kunit_try_run_case+0x170/0x3f0
[   20.205877]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.210125]  kthread+0x328/0x630
[   20.210651]  ret_from_fork+0x10/0x20
[   20.211011] 
[   20.211190] CPU: 0 UID: 0 PID: 287 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250512 #1 PREEMPT 
[   20.211285] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.211317] Hardware name: linux,dummy-virt (DT)
[   20.212098] ==================================================================
[   19.996963] ==================================================================
[   19.997221] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   19.997221] 
[   19.997858] Out-of-bounds read at 0x000000002b0ff27e (1B left of kfence-#92):
[   19.998243]  test_out_of_bounds_read+0x114/0x3e0
[   19.998545]  kunit_try_run_case+0x170/0x3f0
[   19.998799]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.998863]  kthread+0x328/0x630
[   19.998922]  ret_from_fork+0x10/0x20
[   19.999140] 
[   19.999234] kfence-#92: 0x00000000201f8987-0x0000000031333c96, size=32, cache=kmalloc-32
[   19.999234] 
[   19.999388] allocated by task 287 on cpu 0 at 19.995327s (0.004056s ago):
[   19.999523]  test_alloc+0x29c/0x628
[   19.999578]  test_out_of_bounds_read+0xdc/0x3e0
[   19.999700]  kunit_try_run_case+0x170/0x3f0
[   19.999854]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.000006]  kthread+0x328/0x630
[   20.000196]  ret_from_fork+0x10/0x20
[   20.000400] 
[   20.000691] CPU: 0 UID: 0 PID: 287 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250512 #1 PREEMPT 
[   20.000877] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.000988] Hardware name: linux,dummy-virt (DT)
[   20.001063] ==================================================================
[   20.411320] ==================================================================
[   20.411942] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   20.411942] 
[   20.412072] Out-of-bounds read at 0x00000000233dad02 (32B right of kfence-#96):
[   20.412136]  test_out_of_bounds_read+0x1c8/0x3e0
[   20.412615]  kunit_try_run_case+0x170/0x3f0
[   20.412897]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.412962]  kthread+0x328/0x630
[   20.413008]  ret_from_fork+0x10/0x20
[   20.413220] 
[   20.413256] kfence-#96: 0x00000000bf25a7fd-0x0000000061b0a8e4, size=32, cache=test
[   20.413256] 
[   20.413405] allocated by task 289 on cpu 0 at 20.411229s (0.002171s ago):
[   20.413482]  test_alloc+0x230/0x628
[   20.413523]  test_out_of_bounds_read+0x198/0x3e0
[   20.413630]  kunit_try_run_case+0x170/0x3f0
[   20.413696]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.413744]  kthread+0x328/0x630
[   20.414092]  ret_from_fork+0x10/0x20
[   20.414385] 
[   20.414523] CPU: 0 UID: 0 PID: 289 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250512 #1 PREEMPT 
[   20.414629] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.414815] Hardware name: linux,dummy-virt (DT)
[   20.414885] ==================================================================
[   20.308153] ==================================================================
[   20.308232] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   20.308232] 
[   20.308312] Out-of-bounds read at 0x0000000032b274bf (1B left of kfence-#95):
[   20.308369]  test_out_of_bounds_read+0x114/0x3e0
[   20.308416]  kunit_try_run_case+0x170/0x3f0
[   20.308698]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.308772]  kthread+0x328/0x630
[   20.308989]  ret_from_fork+0x10/0x20
[   20.309059] 
[   20.309260] kfence-#95: 0x0000000040bc5ddb-0x00000000f52f52b0, size=32, cache=test
[   20.309260] 
[   20.309328] allocated by task 289 on cpu 0 at 20.308059s (0.001264s ago):
[   20.309809]  test_alloc+0x230/0x628
[   20.310076]  test_out_of_bounds_read+0xdc/0x3e0
[   20.310444]  kunit_try_run_case+0x170/0x3f0
[   20.310507]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.310742]  kthread+0x328/0x630
[   20.310793]  ret_from_fork+0x10/0x20
[   20.311139] 
[   20.311333] CPU: 0 UID: 0 PID: 289 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250512 #1 PREEMPT 
[   20.311595] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.311792] Hardware name: linux,dummy-virt (DT)
[   20.311878] ==================================================================

[   22.681928] ==================================================================
[   22.682369] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   22.682369] 
[   22.682765] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#89):
[   22.683417]  test_out_of_bounds_read+0x216/0x4e0
[   22.683852]  kunit_try_run_case+0x1a5/0x480
[   22.684119]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.684341]  kthread+0x337/0x6f0
[   22.684676]  ret_from_fork+0x116/0x1d0
[   22.685061]  ret_from_fork_asm+0x1a/0x30
[   22.685349] 
[   22.685469] kfence-#89: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   22.685469] 
[   22.685801] allocated by task 304 on cpu 0 at 22.681645s (0.004151s ago):
[   22.686369]  test_alloc+0x364/0x10f0
[   22.686764]  test_out_of_bounds_read+0x1e2/0x4e0
[   22.687142]  kunit_try_run_case+0x1a5/0x480
[   22.687528]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.687859]  kthread+0x337/0x6f0
[   22.688071]  ret_from_fork+0x116/0x1d0
[   22.688326]  ret_from_fork_asm+0x1a/0x30
[   22.688530] 
[   22.688697] CPU: 0 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250512 #1 PREEMPT(voluntary) 
[   22.689692] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.689872] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   22.690197] ==================================================================
[   22.475080] ==================================================================
[   22.475630] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   22.475630] 
[   22.475988] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#87):
[   22.476334]  test_out_of_bounds_read+0x126/0x4e0
[   22.476466]  kunit_try_run_case+0x1a5/0x480
[   22.476578]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.477176]  kthread+0x337/0x6f0
[   22.477506]  ret_from_fork+0x116/0x1d0
[   22.477846]  ret_from_fork_asm+0x1a/0x30
[   22.478222] 
[   22.478745] kfence-#87: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   22.478745] 
[   22.479901] allocated by task 304 on cpu 0 at 22.473665s (0.006099s ago):
[   22.480985]  test_alloc+0x364/0x10f0
[   22.481372]  test_out_of_bounds_read+0xed/0x4e0
[   22.481836]  kunit_try_run_case+0x1a5/0x480
[   22.482144]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.482392]  kthread+0x337/0x6f0
[   22.482576]  ret_from_fork+0x116/0x1d0
[   22.482976]  ret_from_fork_asm+0x1a/0x30
[   22.483631] 
[   22.484066] CPU: 0 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250512 #1 PREEMPT(voluntary) 
[   22.485044] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.485288] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   22.485907] ==================================================================
[   22.993762] ==================================================================
[   22.994270] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   22.994270] 
[   22.994624] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#92):
[   22.995189]  test_out_of_bounds_read+0x216/0x4e0
[   22.995557]  kunit_try_run_case+0x1a5/0x480
[   22.996087]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.996407]  kthread+0x337/0x6f0
[   22.996613]  ret_from_fork+0x116/0x1d0
[   22.996948]  ret_from_fork_asm+0x1a/0x30
[   22.997278] 
[   22.997456] kfence-#92: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   22.997456] 
[   22.998048] allocated by task 306 on cpu 1 at 22.993655s (0.004388s ago):
[   22.998556]  test_alloc+0x2a6/0x10f0
[   22.998866]  test_out_of_bounds_read+0x1e2/0x4e0
[   22.999295]  kunit_try_run_case+0x1a5/0x480
[   22.999541]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.000066]  kthread+0x337/0x6f0
[   23.000367]  ret_from_fork+0x116/0x1d0
[   23.000633]  ret_from_fork_asm+0x1a/0x30
[   23.000882] 
[   23.001051] CPU: 1 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250512 #1 PREEMPT(voluntary) 
[   23.002024] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.002384] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   23.002896] ==================================================================
[   22.785810] ==================================================================
[   22.786411] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   22.786411] 
[   22.787182] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#90):
[   22.787559]  test_out_of_bounds_read+0x126/0x4e0
[   22.787776]  kunit_try_run_case+0x1a5/0x480
[   22.788114]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.788588]  kthread+0x337/0x6f0
[   22.788977]  ret_from_fork+0x116/0x1d0
[   22.789199]  ret_from_fork_asm+0x1a/0x30
[   22.789499] 
[   22.789679] kfence-#90: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   22.789679] 
[   22.790348] allocated by task 306 on cpu 1 at 22.785706s (0.004635s ago):
[   22.790839]  test_alloc+0x2a6/0x10f0
[   22.791202]  test_out_of_bounds_read+0xed/0x4e0
[   22.791435]  kunit_try_run_case+0x1a5/0x480
[   22.791647]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.792080]  kthread+0x337/0x6f0
[   22.792405]  ret_from_fork+0x116/0x1d0
[   22.792616]  ret_from_fork_asm+0x1a/0x30
[   22.792971] 
[   22.793230] CPU: 1 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250512 #1 PREEMPT(voluntary) 
[   22.793731] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.793927] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   22.794933] ==================================================================