CVE-2025-39973

i40e: add validation for ring_len param

State
Published
Severity
8.8 High
Published
Oct 15, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd to before 0543d40d6513cdf1c7882811086e59a6455dfe97Affected
  • 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd to before 7d749e38dd2b7e8a80da2ca30c93e09de95bfcf9Affected
  • 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd to before 45a7527cd7da4cdcf3b06b5c0cb1cae30b5a5985Affected
  • 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd to before d3b0d3f8d11fa957171fbb186e53998361a88d4eAffected
  • 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd to before c0c83f4cd074b75cecef107bfc349be7d516c9c4Affected
  • 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd to before 05fe81fb9db20464fa532a3835dc8300d68a2f84Affected
  • 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd to before afec12adab55d10708179a64d95d650741e60fe0Affected
  • 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd to before 55d225670def06b01af2e7a5e0446fbe946289e8Affected
LinuxLinux
  • 3.12Affected
  • before 3.12Not affected
  • 5.4.300 through 5.4.*Not affected
  • 5.10.245 through 5.10.*Not affected
  • 5.15.194 through 5.15.*Not affected
  • 6.1.155 through 6.1.*Not affected
  • 6.6.109 through 6.6.*Not affected
  • 6.12.50 through 6.12.*Not affected
  • 6.16.10 through 6.16.*Not affected
  • 6.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.