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

Published Dec 4, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: qlogic/qede: fix potential out-of-bounds read in qedetpacont() and qedetpaend()

The loops in 'qedetpacont()' and 'qedetpaend()', iterate over 'cqe->lenlist[]' 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 ARRAYSIZE() in both loops to prevent a potential out-of-bounds access.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Other sources

In the Linux kernel, the following vulnerability has been resolved:

net: qlogic/qede: fix potential out-of-bounds read in qedetpacont() and qedetpaend()

The loops in 'qedetpacont()' and 'qedetpaend()', iterate over 'cqe-lenlist[]' 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 ARRAYSIZE() in both loops to prevent a potential out-of-bounds access.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

IBM

Affected Software

5 affected componentsFixes available
Linux Kernel
Microsoft azl3 kernel 6.6.112.1-2
Microsoft azl3 kernel 6.6.117.1-1
Microsoft azl3 kernel 6.6.117.1-1
IBM QRadar<=7.5.0 - 7.5.0 UP15 IF02

Event History

Dec 4, 2025
CVE Published
via MITRE·04:08 PM
Data Sourced
via MITRE·04:08 PM
DescriptionSeverity
Data Sourced
via NVD·04:16 PM
DescriptionSeverity
Dec 6, 2025
Data Sourced
via Microsoft·01:02 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:02 AM
Affected Software
Updated
via Microsoft·01:02 AM
DescriptionSeverity
May 25, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-40252?

CVE-2025-40252 has been classified with moderate severity due to the potential out-of-bounds read vulnerability.

2

How do I fix CVE-2025-40252?

To fix CVE-2025-40252, upgrade to the latest version of the Linux kernel where this vulnerability has been resolved.

3

What systems are affected by CVE-2025-40252?

CVE-2025-40252 affects versions of the Linux kernel that implement the qlogic/qede driver.

4

What are the potential consequences of CVE-2025-40252?

Exploitation of CVE-2025-40252 may lead to arbitrary memory access, potentially resulting in system instability.

5

Is there a workaround for CVE-2025-40252?

Currently, there are no known workarounds for CVE-2025-40252 other than applying the kernel update.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203