CVE-2025-40252
net: qlogic/qede: fix potential out-of-bounds read in qede_tpa_cont() and qede_tpa_end()
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.
INFO
Published Date :
Dec. 4, 2025, 4:16 p.m.
Last Modified :
Oct. 19, 2026, 7:10 p.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2025-40252
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | CRITICAL | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel to the latest version.
- Apply relevant security patches for the qede driver.
- Reboot the system after applying updates.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-40252.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-40252 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-40252
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-40252 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-40252 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 19, 2026
Action Type Old Value New Value Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: qlogic/qede: corrige posible lectura fuera de límites en qede_tpa_cont() y qede_tpa_end() Los bucles en 'qede_tpa_cont()' y 'qede_tpa_end()' iteran sobre 'cqe -> len_list[]' utilizando únicamente un terminador de longitud cero como condición de parada. Si el terminador faltaba o estaba malformado, el bucle podría ejecutarse más allá del final del array de tamaño fijo. Añade una comprobación de límites explícita utilizando ARRAY_SIZE() en ambos bucles para prevenir un posible acceso fuera de límites. Encontrado por Linux Verification Center (linuxtesting.org) con SVACE. -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 15, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/896f1a2493b59beb2b5ccdf990503dbb16cb2256 Added Reference https://git.kernel.org/stable/c/917a9d02182ac8b4f25eb47dc02f3ec679608c24 Added Reference https://git.kernel.org/stable/c/a778912b4a53587ea07d85526d152f85d109cbfe Added Reference https://git.kernel.org/stable/c/e441db07f208184e0466abf44b389a81d70c340e Added Reference https://git.kernel.org/stable/c/ecbb12caf399d7cf364b7553ed5aebeaa2f255bc Added Reference https://git.kernel.org/stable/c/f0923011c1261b33a2ac1de349256d39cb750dd0 Removed Reference https://git.kernel.org/stable/c/896f1a2493b59beb2b5ccdf990503dbb16cb2256 Removed Reference https://git.kernel.org/stable/c/917a9d02182ac8b4f25eb47dc02f3ec679608c24 Removed Reference https://git.kernel.org/stable/c/a778912b4a53587ea07d85526d152f85d109cbfe Removed Reference https://git.kernel.org/stable/c/e441db07f208184e0466abf44b389a81d70c340e Removed Reference https://git.kernel.org/stable/c/ecbb12caf399d7cf364b7553ed5aebeaa2f255bc Removed Reference https://git.kernel.org/stable/c/f0923011c1261b33a2ac1de349256d39cb750dd0 -
CVE Modified by 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Oct. 15, 2026
Action Type Old Value New Value Added Reference https://cert-portal.siemens.com/productcert/html/ssa-253495.html Removed Reference https://cert-portal.siemens.com/productcert/html/ssa-253495.html -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 15, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-40252', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-15T21:58:26.223258Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 30, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H -
CVE Modified by 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'Siemens', 'product': 'RUGGEDCOM RST2428P', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': 'V4.0', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '55482edc25f0606851de42e73618f813f310d009', 'lessThan': 'ecbb12caf399d7cf364b7553ed5aebeaa2f255bc', 'versionType': 'git'}, {'status': 'affected', 'version': '55482edc25f0606851de42e73618f813f310d009', 'lessThan': 'a778912b4a53587ea07d85526d152f85d109cbfe', 'versionType': 'git'}, {'status': 'affected', 'version': '55482edc25f0606851de42e73618f813f310d009', 'lessThan': 'f0923011c1261b33a2ac1de349256d39cb750dd0', 'versionType': 'git'}, {'status': 'affected', 'version': '55482edc25f0606851de42e73618f813f310d009', 'lessThan': '917a9d02182ac8b4f25eb47dc02f3ec679608c24', 'versionType': 'git'}, {'status': 'affected', 'version': '55482edc25f0606851de42e73618f813f310d009', 'lessThan': 'e441db07f208184e0466abf44b389a81d70c340e', 'versionType': 'git'}, {'status': 'affected', 'version': '55482edc25f0606851de42e73618f813f310d009', 'lessThan': '896f1a2493b59beb2b5ccdf990503dbb16cb2256', 'versionType': 'git'}], 'programFiles': ['drivers/net/ethernet/qlogic/qede/qede_fp.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.6'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.6', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.15.197', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.159', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.118', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.60', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.17.10', 'versionType': 'semver', 'lessThanOrEqual': '6.17.*'}, {'status': 'unaffected', 'version': '6.18', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/ethernet/qlogic/qede/qede_fp.c'], 'defaultStatus': 'affected'}] -
CVE Modified by 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Jun. 02, 2026
Action Type Old Value New Value Added Reference https://cert-portal.siemens.com/productcert/html/ssa-253495.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 06, 2025
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/a778912b4a53587ea07d85526d152f85d109cbfe Added Reference https://git.kernel.org/stable/c/ecbb12caf399d7cf364b7553ed5aebeaa2f255bc -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 04, 2025
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/896f1a2493b59beb2b5ccdf990503dbb16cb2256 Added Reference https://git.kernel.org/stable/c/917a9d02182ac8b4f25eb47dc02f3ec679608c24 Added Reference https://git.kernel.org/stable/c/e441db07f208184e0466abf44b389a81d70c340e Added Reference https://git.kernel.org/stable/c/f0923011c1261b33a2ac1de349256d39cb750dd0