CVE-2025-40252
net: qlogic/qede: fix potential out-of-bounds read in qede_tpa_cont() and qede_tpa_end()
Check your servers for CVE-2025-40252
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-40252 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.65%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 52.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 55482edc25f0606851de42e73618f813f310d009, before ecbb12caf399d7cf364b7553ed5aebeaa2f255bc affected from 55482edc25f0606851de42e73618f813f310d009, before a778912b4a53587ea07d85526d152f85d109cbfe affected from 55482edc25f0606851de42e73618f813f310d009, before f0923011c1261b33a2ac1de349256d39cb750dd0 affected from 55482edc25f0606851de42e73618f813f310d009, before 917a9d02182ac8b4f25eb47dc02f3ec679608c24 affected from 55482edc25f0606851de42e73618f813f310d009, before e441db07f208184e0466abf44b389a81d70c340e affected from 55482edc25f0606851de42e73618f813f310d009, before 896f1a2493b59beb2b5ccdf990503dbb16cb2256
Other versions: unaffected
|
| Linux |
affected 4.6 unaffected before 4.6 unaffected from 5.15.197 up to and including 5.15.* unaffected from 6.1.159 up to and including 6.1.* unaffected from 6.6.118 up to and including 6.6.* unaffected from 6.12.60 up to and including 6.12.* unaffected from 6.17.10 up to and including 6.17.* unaffected 6.18 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-40252 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-40252
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-40252
trivy image --scanners vuln IMAGE | grep CVE-2025-40252
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/ecbb12caf399d7cf364b7553ed5aebeaa2f255bc git.kernel.org
- https://git.kernel.org/stable/c/a778912b4a53587ea07d85526d152f85d109cbfe git.kernel.org
- https://git.kernel.org/stable/c/f0923011c1261b33a2ac1de349256d39cb750dd0 git.kernel.org
- https://git.kernel.org/stable/c/917a9d02182ac8b4f25eb47dc02f3ec679608c24 git.kernel.org
- https://git.kernel.org/stable/c/e441db07f208184e0466abf44b389a81d70c340e git.kernel.org
- https://git.kernel.org/stable/c/896f1a2493b59beb2b5ccdf990503dbb16cb2256 git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html cert-portal.siemens.com
Source: the record CVE-2025-40252 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse