net: qlogic/qede: fix potential out-of-bounds read in qede_tpa_cont() and qede_tpa_end()
Summary
| CVE | CVE-2025-40252 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-12-04 16:16:18 UTC |
| Updated | 2026-06-02 14:16:31 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: net: qlogic/qede: fix potential out-of-bounds read in qede_tpa_cont() and qede_tpa_end() The loops in 'qede_tpa_cont()' and 'qede_tpa_end()', iterate over 'cqe->len_list[]' using only a zero-length terminator as the stopping condition. If the terminator was missing or malformed, the loop could run past the end of the fixed-size array. Add an explicit bound check using ARRAY_SIZE() in both loops to prevent a potential out-of-bounds access. Found by Linux Verification Center (linuxtesting.org) with SVACE. |
Risk And Classification
EPSS: 0.000520000 probability, percentile 0.164350000 (date 2026-06-08)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 55482edc25f0606851de42e73618f813f310d009 ecbb12caf399d7cf364b7553ed5aebeaa2f255bc git | Not specified |
| CNA | Linux | Linux | affected 55482edc25f0606851de42e73618f813f310d009 a778912b4a53587ea07d85526d152f85d109cbfe git | Not specified |
| CNA | Linux | Linux | affected 55482edc25f0606851de42e73618f813f310d009 f0923011c1261b33a2ac1de349256d39cb750dd0 git | Not specified |
| CNA | Linux | Linux | affected 55482edc25f0606851de42e73618f813f310d009 917a9d02182ac8b4f25eb47dc02f3ec679608c24 git | Not specified |
| CNA | Linux | Linux | affected 55482edc25f0606851de42e73618f813f310d009 e441db07f208184e0466abf44b389a81d70c340e git | Not specified |
| CNA | Linux | Linux | affected 55482edc25f0606851de42e73618f813f310d009 896f1a2493b59beb2b5ccdf990503dbb16cb2256 git | Not specified |
| CNA | Linux | Linux | affected 4.6 | Not specified |
| CNA | Linux | Linux | unaffected 4.6 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.197 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.159 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.118 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.60 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.17.10 6.17.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18 * original_commit_for_fix | Not specified |
| ADP | Siemens | RUGGEDCOM RST2428P | affected V4.0 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/896f1a2493b59beb2b5ccdf990503dbb16cb2256 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/e441db07f208184e0466abf44b389a81d70c340e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/917a9d02182ac8b4f25eb47dc02f3ec679608c24 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| cert-portal.siemens.com/productcert/html/ssa-253495.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/f0923011c1261b33a2ac1de349256d39cb750dd0 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/a778912b4a53587ea07d85526d152f85d109cbfe | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/ecbb12caf399d7cf364b7553ed5aebeaa2f255bc | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.