# CVE-2025-39973: i40e: add validation for ring_len param

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/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.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-10-15T07:55:55.590Z
- Modified: 2026-10-19T21:10:00.160Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd before 0543d40d6513cdf1c7882811086e59a6455dfe97; from 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd before 7d749e38dd2b7e8a80da2ca30c93e09de95bfcf9; from 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd before 45a7527cd7da4cdcf3b06b5c0cb1cae30b5a5985; from 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd before d3b0d3f8d11fa957171fbb186e53998361a88d4e; from 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd before c0c83f4cd074b75cecef107bfc349be7d516c9c4; from 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd before 05fe81fb9db20464fa532a3835dc8300d68a2f84; from 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd before afec12adab55d10708179a64d95d650741e60fe0; from 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd before 55d225670def06b01af2e7a5e0446fbe946289e8; 3.12 (not affected: before 3.12; from 5.4.300 up to 5.4.*; from 5.10.245 up to 5.10.*; from 5.15.194 up to 5.15.*; from 6.1.155 up to 6.1.*; from 6.6.109 up to 6.6.*; from 6.12.50 up to 6.12.*; from 6.16.10 up to 6.16.*; from 6.17 up to *)

## References

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

## Sources

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

---

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