# CVE-2025-39973: i40e: add validation for ring\_len param

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-29)
- **Published:** 2025-10-15T07:55:55.590Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< 0543d40d6513cdf1c7882811086e59a6455dfe97; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< 7d749e38dd2b7e8a80da2ca30c93e09de95bfcf9; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< 45a7527cd7da4cdcf3b06b5c0cb1cae30b5a5985; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< d3b0d3f8d11fa957171fbb186e53998361a88d4e; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< c0c83f4cd074b75cecef107bfc349be7d516c9c4; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< 05fe81fb9db20464fa532a3835dc8300d68a2f84; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< afec12adab55d10708179a64d95d650741e60fe0; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< 55d225670def06b01af2e7a5e0446fbe946289e8
- Anyone running Linux 3.12

## Description

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

i40e: add validation for ring\_len param

The \`ring\_len\` parameter provided by the virtual function (VF)
is assigned directly to the hardware memory context (HMC) without
any validation.

To address this, introduce an upper boundary check for both Tx and Rx
queue lengths. The maximum number of descriptors supported by the
hardware is 8k-32.
Additionally, enforce alignment constraints: Tx rings must be a multiple
of 8, and Rx rings must be a multiple of 32.

## Affected and fixed versions

- Linux: \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< 0543d40d6513cdf1c7882811086e59a6455dfe97; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< 7d749e38dd2b7e8a80da2ca30c93e09de95bfcf9; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< 45a7527cd7da4cdcf3b06b5c0cb1cae30b5a5985; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< d3b0d3f8d11fa957171fbb186e53998361a88d4e; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< c0c83f4cd074b75cecef107bfc349be7d516c9c4; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< 05fe81fb9db20464fa532a3835dc8300d68a2f84; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< afec12adab55d10708179a64d95d650741e60fe0; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< 55d225670def06b01af2e7a5e0446fbe946289e8 (cvelist)
- Linux: 3.12 (cvelist)

## Mitigation

- Upgrade Linux to 55d225670def06b01af2e7a5e0446fbe946289e8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-39973. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39973.md
Affected: Linux >= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, < 0543d40d6513cdf1c7882811086e59a6455dfe97; >= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, < 7d749e38dd2b7e8a80da2ca30c93e09de95bfcf9; >= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, < 45a7527cd7da4cdcf3b06b5c0cb1cae30b5a5985; >= 5c3c48ac6bf56367c4e89f6…
Fixed in: Linux 0543d40d6513cdf1c7882811086e59a6455dfe97, Linux 7d749e38dd2b7e8a80da2ca30c93e09de95bfcf9, Linux 45a7527cd7da4cdcf3b06b5c0cb1cae30b5a5985, Linux 05fe81fb9db20464fa532a3835dc8300d68a2f84, Linux 55d225670def06b01af2e7a5e0446fbe946289e8

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-39973 being exploited?

There is no confirmed exploitation: CVE-2025-39973 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2025-39973?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-39973?

Linux \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< 0543d40d6513cdf1c7882811086e59a6455dfe97; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< 7d749e38dd2b7e8a80da2ca30c93e09de95bfcf9; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< 45a7527cd7da4cdcf3b06b5c0cb1cae30b5a5985; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< d3b0d3f8d11fa957171fbb186e53998361a88d4e; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< c0c83f4cd074b75cecef107bfc349be7d516c9c4; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< 05fe81fb9db20464fa532a3835dc8300d68a2f84; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< afec12adab55d10708179a64d95d650741e60fe0; \>= 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, \< 55d225670def06b01af2e7a5e0446fbe946289e8; Linux 3.12.

### Is there a fix for CVE-2025-39973?

Yes. Fixed in Linux 0543d40d6513cdf1c7882811086e59a6455dfe97, Linux 7d749e38dd2b7e8a80da2ca30c93e09de95bfcf9, Linux 45a7527cd7da4cdcf3b06b5c0cb1cae30b5a5985, Linux 05fe81fb9db20464fa532a3835dc8300d68a2f84, Linux 55d225670def06b01af2e7a5e0446fbe946289e8. Upgrade Linux to 55d225670def06b01af2e7a5e0446fbe946289e8 or later.

### How do I check if I'm affected by CVE-2025-39973?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/0543d40d6513cdf1c7882811086e59a6455dfe97>
- other: <https://git.kernel.org/stable/c/7d749e38dd2b7e8a80da2ca30c93e09de95bfcf9>
- other: <https://git.kernel.org/stable/c/45a7527cd7da4cdcf3b06b5c0cb1cae30b5a5985>
- other: <https://git.kernel.org/stable/c/d3b0d3f8d11fa957171fbb186e53998361a88d4e>
- other: <https://git.kernel.org/stable/c/c0c83f4cd074b75cecef107bfc349be7d516c9c4>
- other: <https://git.kernel.org/stable/c/05fe81fb9db20464fa532a3835dc8300d68a2f84>
- other: <https://git.kernel.org/stable/c/afec12adab55d10708179a64d95d650741e60fe0>
- other: <https://git.kernel.org/stable/c/55d225670def06b01af2e7a5e0446fbe946289e8>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-39973>

HTML: <https://flawdb.com/CVE-2025-39973> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-39973>
