{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2026-31727",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-31727",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-05-01T14:14:27.552Z",
    "updatedAt": "2026-06-19T11:58:05.053Z",
    "importedAt": "2026-10-24T01:58:02.025Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "usb: gadget: u_ether: Fix NULL pointer deref in eth_get_drvinfo",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: u_ether: Fix NULL pointer deref in eth_get_drvinfo\n\nCommit ec35c1969650 (\"usb: gadget: f_ncm: Fix net_device lifecycle with\ndevice_move\") reparents the gadget device to /sys/devices/virtual during\nunbind, clearing the gadget pointer. If the userspace tool queries on\nthe surviving interface during this detached window, this leads to a\nNULL pointer dereference.\n\nUnable to handle kernel NULL pointer dereference\nCall trace:\n eth_get_drvinfo+0x50/0x90\n ethtool_get_drvinfo+0x5c/0x1f0\n __dev_ethtool+0xaec/0x1fe0\n dev_ethtool+0x134/0x2e0\n dev_ioctl+0x338/0x560\n\nAdd a NULL check for dev->gadget in eth_get_drvinfo(). When detached,\nskip copying the fw_version and bus_info strings, which is natively\nhandled by ethtool_get_drvinfo for empty strings.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "7c97366f5dac5255e60a317ffe3a5b18f3745547",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f9f987472f4b8ab177be2b6492a59278ed969479"
            },
            {
              "version": "36c41e9724c9a7a7cda37f5a4e9d94f25c8031c4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "7fce959e9be3bf63bb0fdf4b05f9cc42cb289fe2"
            },
            {
              "version": "93f116c3393a22acab96ad1bef12b2572eb80ca4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0326429e8ba99892e1d1e115dc8e88e1a3b64e24"
            },
            {
              "version": "e584cb58a2ea7ff4d3a4bc43d5ca512ed3ecb77d",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a36e5e800b9c93e3e1ffa42f34d38b36775dbcee"
            },
            {
              "version": "85acaba2f42b557499bab3608307f17bf13beb69",
              "status": "affected",
              "versionType": "git",
              "lessThan": "7de4d46be40738c7e48e64b5cc0a34aa1e047b0a"
            },
            {
              "version": "ec35c1969650e7cb6c8a91020e568ed46e3551b0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e002e92e88e12457373ed096b18716d97e7bbb20"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "6.12.78",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.12.81"
            },
            {
              "version": "6.18.19",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.18.22"
            },
            {
              "version": "6.19.9",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.19.12"
            }
          ]
        }
      ]
    }
  }
}