CVE-2026-31737 (GCVE-0-2026-31737)

Vulnerability from cvelistv5 – Published: 2026-05-01 14:14 – Updated: 2026-05-01 14:14
VLAI?
Title
net: ftgmac100: fix ring allocation unwind on open failure
Summary
In the Linux kernel, the following vulnerability has been resolved: net: ftgmac100: fix ring allocation unwind on open failure ftgmac100_alloc_rings() allocates rx_skbs, tx_skbs, rxdes, txdes, and rx_scratch in stages. On intermediate failures it returned -ENOMEM directly, leaking resources allocated earlier in the function. Rework the failure path to use staged local unwind labels and free allocated resources in reverse order before returning -ENOMEM. This matches common netdev allocation cleanup style.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e , < 184b3a500d60ea48d1b176103cff1706c456edf3 (git)
Affected: d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e , < 78da43320d9d6ed788147fb085184e4fc801f057 (git)
Affected: d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e , < a7e1bf392acf11dc4209820fef75758f6e42bd65 (git)
Affected: d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e , < 8a71911fc7eeea930153322bc1efc065db8cd97e (git)
Affected: d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e , < d45230081f19c280096241353c26b0de457de795 (git)
Affected: d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e , < 8351d18989c8642fc53e2e12d94e42314a39b078 (git)
Affected: d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e , < 82f86111f0704ab2ded11a2033bc6cf0be3e09ea (git)
Affected: d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e , < c0fd0fe745f5e8c568d898cd1513d0083e46204a (git)
Create a notification for this product.
    Linux Linux Affected: 4.12
Unaffected: 0 , < 4.12 (semver)
Unaffected: 5.10.253 , ≤ 5.10.* (semver)
Unaffected: 5.15.203 , ≤ 5.15.* (semver)
Unaffected: 6.1.168 , ≤ 6.1.* (semver)
Unaffected: 6.6.134 , ≤ 6.6.* (semver)
Unaffected: 6.12.81 , ≤ 6.12.* (semver)
Unaffected: 6.18.22 , ≤ 6.18.* (semver)
Unaffected: 6.19.12 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (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/faraday/ftgmac100.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "184b3a500d60ea48d1b176103cff1706c456edf3",
              "status": "affected",
              "version": "d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e",
              "versionType": "git"
            },
            {
              "lessThan": "78da43320d9d6ed788147fb085184e4fc801f057",
              "status": "affected",
              "version": "d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e",
              "versionType": "git"
            },
            {
              "lessThan": "a7e1bf392acf11dc4209820fef75758f6e42bd65",
              "status": "affected",
              "version": "d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e",
              "versionType": "git"
            },
            {
              "lessThan": "8a71911fc7eeea930153322bc1efc065db8cd97e",
              "status": "affected",
              "version": "d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e",
              "versionType": "git"
            },
            {
              "lessThan": "d45230081f19c280096241353c26b0de457de795",
              "status": "affected",
              "version": "d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e",
              "versionType": "git"
            },
            {
              "lessThan": "8351d18989c8642fc53e2e12d94e42314a39b078",
              "status": "affected",
              "version": "d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e",
              "versionType": "git"
            },
            {
              "lessThan": "82f86111f0704ab2ded11a2033bc6cf0be3e09ea",
              "status": "affected",
              "version": "d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e",
              "versionType": "git"
            },
            {
              "lessThan": "c0fd0fe745f5e8c568d898cd1513d0083e46204a",
              "status": "affected",
              "version": "d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/faraday/ftgmac100.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.12"
            },
            {
              "lessThan": "4.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.253",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.203",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.168",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.134",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.81",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.22",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.253",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.203",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.168",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.134",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.81",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.22",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.12",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "4.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ftgmac100: fix ring allocation unwind on open failure\n\nftgmac100_alloc_rings() allocates rx_skbs, tx_skbs, rxdes, txdes, and\nrx_scratch in stages. On intermediate failures it returned -ENOMEM\ndirectly, leaking resources allocated earlier in the function.\n\nRework the failure path to use staged local unwind labels and free\nallocated resources in reverse order before returning -ENOMEM. This\nmatches common netdev allocation cleanup style."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-01T14:14:34.229Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/184b3a500d60ea48d1b176103cff1706c456edf3"
        },
        {
          "url": "https://git.kernel.org/stable/c/78da43320d9d6ed788147fb085184e4fc801f057"
        },
        {
          "url": "https://git.kernel.org/stable/c/a7e1bf392acf11dc4209820fef75758f6e42bd65"
        },
        {
          "url": "https://git.kernel.org/stable/c/8a71911fc7eeea930153322bc1efc065db8cd97e"
        },
        {
          "url": "https://git.kernel.org/stable/c/d45230081f19c280096241353c26b0de457de795"
        },
        {
          "url": "https://git.kernel.org/stable/c/8351d18989c8642fc53e2e12d94e42314a39b078"
        },
        {
          "url": "https://git.kernel.org/stable/c/82f86111f0704ab2ded11a2033bc6cf0be3e09ea"
        },
        {
          "url": "https://git.kernel.org/stable/c/c0fd0fe745f5e8c568d898cd1513d0083e46204a"
        }
      ],
      "title": "net: ftgmac100: fix ring allocation unwind on open failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-31737",
    "datePublished": "2026-05-01T14:14:34.229Z",
    "dateReserved": "2026-03-09T15:48:24.137Z",
    "dateUpdated": "2026-05-01T14:14:34.229Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-31737",
      "date": "2026-05-05",
      "epss": "0.00024",
      "percentile": "0.06806"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-31737\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-05-01T15:16:36.347\",\"lastModified\":\"2026-05-01T15:24:14.893\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet: ftgmac100: fix ring allocation unwind on open failure\\n\\nftgmac100_alloc_rings() allocates rx_skbs, tx_skbs, rxdes, txdes, and\\nrx_scratch in stages. On intermediate failures it returned -ENOMEM\\ndirectly, leaking resources allocated earlier in the function.\\n\\nRework the failure path to use staged local unwind labels and free\\nallocated resources in reverse order before returning -ENOMEM. This\\nmatches common netdev allocation cleanup style.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/184b3a500d60ea48d1b176103cff1706c456edf3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/78da43320d9d6ed788147fb085184e4fc801f057\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/82f86111f0704ab2ded11a2033bc6cf0be3e09ea\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8351d18989c8642fc53e2e12d94e42314a39b078\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8a71911fc7eeea930153322bc1efc065db8cd97e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a7e1bf392acf11dc4209820fef75758f6e42bd65\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c0fd0fe745f5e8c568d898cd1513d0083e46204a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d45230081f19c280096241353c26b0de457de795\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…