{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e"
            },
            {
              "fixed": "184b3a500d60ea48d1b176103cff1706c456edf3"
            },
            {
              "fixed": "78da43320d9d6ed788147fb085184e4fc801f057"
            },
            {
              "fixed": "a7e1bf392acf11dc4209820fef75758f6e42bd65"
            },
            {
              "fixed": "8a71911fc7eeea930153322bc1efc065db8cd97e"
            },
            {
              "fixed": "d45230081f19c280096241353c26b0de457de795"
            },
            {
              "fixed": "8351d18989c8642fc53e2e12d94e42314a39b078"
            },
            {
              "fixed": "82f86111f0704ab2ded11a2033bc6cf0be3e09ea"
            },
            {
              "fixed": "c0fd0fe745f5e8c568d898cd1513d0083e46204a"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.12.0"
            },
            {
              "fixed": "5.10.253"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.203"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.168"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.134"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.81"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.22"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.12"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31737.json"
  },
  "details": "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.",
  "id": "CVE-2026-31737",
  "modified": "2026-07-08T05:35:57.703488771Z",
  "published": "2026-05-01T14:14:34.229Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/184b3a500d60ea48d1b176103cff1706c456edf3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/78da43320d9d6ed788147fb085184e4fc801f057"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/82f86111f0704ab2ded11a2033bc6cf0be3e09ea"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8351d18989c8642fc53e2e12d94e42314a39b078"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8a71911fc7eeea930153322bc1efc065db8cd97e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a7e1bf392acf11dc4209820fef75758f6e42bd65"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c0fd0fe745f5e8c568d898cd1513d0083e46204a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d45230081f19c280096241353c26b0de457de795"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31737.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31737"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "net: ftgmac100: fix ring allocation unwind on open failure"
}