CVE-2025-39973 (GCVE-0-2025-39973)

Vulnerability from cvelistv5 – Published: 2025-10-15 07:55 – Updated: 2025-10-15 07:55
VLAI?
Title
i40e: add validation for ring_len param
Summary
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.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd , < 0543d40d6513cdf1c7882811086e59a6455dfe97 (git)
Affected: 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd , < 7d749e38dd2b7e8a80da2ca30c93e09de95bfcf9 (git)
Affected: 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd , < 45a7527cd7da4cdcf3b06b5c0cb1cae30b5a5985 (git)
Affected: 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd , < d3b0d3f8d11fa957171fbb186e53998361a88d4e (git)
Affected: 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd , < c0c83f4cd074b75cecef107bfc349be7d516c9c4 (git)
Affected: 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd , < 05fe81fb9db20464fa532a3835dc8300d68a2f84 (git)
Affected: 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd , < afec12adab55d10708179a64d95d650741e60fe0 (git)
Affected: 5c3c48ac6bf56367c4e89f6453cd2d61e50375bd , < 55d225670def06b01af2e7a5e0446fbe946289e8 (git)
Create a notification for this product.
    Linux Linux Affected: 3.12
Unaffected: 0 , < 3.12 (semver)
Unaffected: 5.4.300 , ≤ 5.4.* (semver)
Unaffected: 5.10.245 , ≤ 5.10.* (semver)
Unaffected: 5.15.194 , ≤ 5.15.* (semver)
Unaffected: 6.1.155 , ≤ 6.1.* (semver)
Unaffected: 6.6.109 , ≤ 6.6.* (semver)
Unaffected: 6.12.50 , ≤ 6.12.* (semver)
Unaffected: 6.16.10 , ≤ 6.16.* (semver)
Unaffected: 6.17 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "0543d40d6513cdf1c7882811086e59a6455dfe97",
              "status": "affected",
              "version": "5c3c48ac6bf56367c4e89f6453cd2d61e50375bd",
              "versionType": "git"
            },
            {
              "lessThan": "7d749e38dd2b7e8a80da2ca30c93e09de95bfcf9",
              "status": "affected",
              "version": "5c3c48ac6bf56367c4e89f6453cd2d61e50375bd",
              "versionType": "git"
            },
            {
              "lessThan": "45a7527cd7da4cdcf3b06b5c0cb1cae30b5a5985",
              "status": "affected",
              "version": "5c3c48ac6bf56367c4e89f6453cd2d61e50375bd",
              "versionType": "git"
            },
            {
              "lessThan": "d3b0d3f8d11fa957171fbb186e53998361a88d4e",
              "status": "affected",
              "version": "5c3c48ac6bf56367c4e89f6453cd2d61e50375bd",
              "versionType": "git"
            },
            {
              "lessThan": "c0c83f4cd074b75cecef107bfc349be7d516c9c4",
              "status": "affected",
              "version": "5c3c48ac6bf56367c4e89f6453cd2d61e50375bd",
              "versionType": "git"
            },
            {
              "lessThan": "05fe81fb9db20464fa532a3835dc8300d68a2f84",
              "status": "affected",
              "version": "5c3c48ac6bf56367c4e89f6453cd2d61e50375bd",
              "versionType": "git"
            },
            {
              "lessThan": "afec12adab55d10708179a64d95d650741e60fe0",
              "status": "affected",
              "version": "5c3c48ac6bf56367c4e89f6453cd2d61e50375bd",
              "versionType": "git"
            },
            {
              "lessThan": "55d225670def06b01af2e7a5e0446fbe946289e8",
              "status": "affected",
              "version": "5c3c48ac6bf56367c4e89f6453cd2d61e50375bd",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.12"
            },
            {
              "lessThan": "3.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.300",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.245",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.194",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.155",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.109",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.50",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.16.*",
              "status": "unaffected",
              "version": "6.16.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.17",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.300",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.245",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.194",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.155",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.109",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.50",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.16.10",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.17",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ni40e: add validation for ring_len param\n\nThe `ring_len` parameter provided by the virtual function (VF)\nis assigned directly to the hardware memory context (HMC) without\nany validation.\n\nTo address this, introduce an upper boundary check for both Tx and Rx\nqueue lengths. The maximum number of descriptors supported by the\nhardware is 8k-32.\nAdditionally, enforce alignment constraints: Tx rings must be a multiple\nof 8, and Rx rings must be a multiple of 32."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-10-15T07:55:55.590Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/0543d40d6513cdf1c7882811086e59a6455dfe97"
        },
        {
          "url": "https://git.kernel.org/stable/c/7d749e38dd2b7e8a80da2ca30c93e09de95bfcf9"
        },
        {
          "url": "https://git.kernel.org/stable/c/45a7527cd7da4cdcf3b06b5c0cb1cae30b5a5985"
        },
        {
          "url": "https://git.kernel.org/stable/c/d3b0d3f8d11fa957171fbb186e53998361a88d4e"
        },
        {
          "url": "https://git.kernel.org/stable/c/c0c83f4cd074b75cecef107bfc349be7d516c9c4"
        },
        {
          "url": "https://git.kernel.org/stable/c/05fe81fb9db20464fa532a3835dc8300d68a2f84"
        },
        {
          "url": "https://git.kernel.org/stable/c/afec12adab55d10708179a64d95d650741e60fe0"
        },
        {
          "url": "https://git.kernel.org/stable/c/55d225670def06b01af2e7a5e0446fbe946289e8"
        }
      ],
      "title": "i40e: add validation for ring_len param",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-39973",
    "datePublished": "2025-10-15T07:55:55.590Z",
    "dateReserved": "2025-04-16T07:20:57.149Z",
    "dateUpdated": "2025-10-15T07:55:55.590Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-39973\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-15T08:15:35.007\",\"lastModified\":\"2025-10-16T15:29:11.563\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ni40e: add validation for ring_len param\\n\\nThe `ring_len` parameter provided by the virtual function (VF)\\nis assigned directly to the hardware memory context (HMC) without\\nany validation.\\n\\nTo address this, introduce an upper boundary check for both Tx and Rx\\nqueue lengths. The maximum number of descriptors supported by the\\nhardware is 8k-32.\\nAdditionally, enforce alignment constraints: Tx rings must be a multiple\\nof 8, and Rx rings must be a multiple of 32.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0543d40d6513cdf1c7882811086e59a6455dfe97\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/05fe81fb9db20464fa532a3835dc8300d68a2f84\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/45a7527cd7da4cdcf3b06b5c0cb1cae30b5a5985\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/55d225670def06b01af2e7a5e0446fbe946289e8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7d749e38dd2b7e8a80da2ca30c93e09de95bfcf9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/afec12adab55d10708179a64d95d650741e60fe0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c0c83f4cd074b75cecef107bfc349be7d516c9c4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d3b0d3f8d11fa957171fbb186e53998361a88d4e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…