{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f"
            },
            {
              "fixed": "2f70ba9dae13a190673cc3f9b4aad52179738f60"
            },
            {
              "fixed": "ee248e6e941e4f2e634df2bd43e5f1ef810ab6df"
            },
            {
              "fixed": "272a9b26c336a295e4e209157fed809706c1b1f7"
            },
            {
              "fixed": "aaeae6533d77e6ed4def85baec01e2815ebbef61"
            },
            {
              "fixed": "8763f8317bb389aded32a32b08f6751cfff657d2"
            },
            {
              "fixed": "38c28fe25611099230f0965c925499bfcf46a795"
            },
            {
              "fixed": "a6e5461f076c2ef63159f18e5cdbd30b50f0bc15"
            },
            {
              "fixed": "01af542392b5d41fd659d487015a71f627accce3"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.2.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-31759.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: ulpi: fix double free in ulpi_register_interface() error path\n\nWhen device_register() fails, ulpi_register() calls put_device() on\nulpi-\u003edev.\n\nThe device release callback ulpi_dev_release() drops the OF node\nreference and frees ulpi, but the current error path in\nulpi_register_interface() then calls kfree(ulpi) again, causing a\ndouble free.\n\nLet put_device() handle the cleanup through ulpi_dev_release() and\navoid freeing ulpi again in ulpi_register_interface().",
  "id": "CVE-2026-31759",
  "modified": "2026-07-08T05:36:37.703742109Z",
  "published": "2026-05-01T14:14:51.895Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/01af542392b5d41fd659d487015a71f627accce3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/272a9b26c336a295e4e209157fed809706c1b1f7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2f70ba9dae13a190673cc3f9b4aad52179738f60"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/38c28fe25611099230f0965c925499bfcf46a795"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8763f8317bb389aded32a32b08f6751cfff657d2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a6e5461f076c2ef63159f18e5cdbd30b50f0bc15"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/aaeae6533d77e6ed4def85baec01e2815ebbef61"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ee248e6e941e4f2e634df2bd43e5f1ef810ab6df"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31759.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31759"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "usb: ulpi: fix double free in ulpi_register_interface() error path"
}