# CVE-2025-40252: net: qlogic/qede: fix potential out-of-bounds read in qede_tpa_cont() and qede_tpa_end()

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2025-12-04T16:08:14.393Z
- Modified: 2026-10-19T19:10:00.130Z
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 55482edc25f0606851de42e73618f813f310d009 before ecbb12caf399d7cf364b7553ed5aebeaa2f255bc; from 55482edc25f0606851de42e73618f813f310d009 before a778912b4a53587ea07d85526d152f85d109cbfe; from 55482edc25f0606851de42e73618f813f310d009 before f0923011c1261b33a2ac1de349256d39cb750dd0; from 55482edc25f0606851de42e73618f813f310d009 before 917a9d02182ac8b4f25eb47dc02f3ec679608c24; from 55482edc25f0606851de42e73618f813f310d009 before e441db07f208184e0466abf44b389a81d70c340e; from 55482edc25f0606851de42e73618f813f310d009 before 896f1a2493b59beb2b5ccdf990503dbb16cb2256; 4.6 (not affected: before 4.6; from 5.15.197 up to 5.15.*; from 6.1.159 up to 6.1.*; from 6.6.118 up to 6.6.*; from 6.12.60 up to 6.12.*; from 6.17.10 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/ecbb12caf399d7cf364b7553ed5aebeaa2f255bc>
- <https://git.kernel.org/stable/c/a778912b4a53587ea07d85526d152f85d109cbfe>
- <https://git.kernel.org/stable/c/f0923011c1261b33a2ac1de349256d39cb750dd0>
- <https://git.kernel.org/stable/c/917a9d02182ac8b4f25eb47dc02f3ec679608c24>
- <https://git.kernel.org/stable/c/e441db07f208184e0466abf44b389a81d70c340e>
- <https://git.kernel.org/stable/c/896f1a2493b59beb2b5ccdf990503dbb16cb2256>
- <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>

## Sources

- CVE List: [CVE-2025-40252](https://www.cve.org/CVERecord?id=CVE-2025-40252), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-40252](https://nvd.nist.gov/vuln/detail/CVE-2025-40252), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-40252 · Whole record: https://cve.day/CVE-2025-40252.json · Rebuilt by cve.day 2026-11-25T22:59:08.276Z
