{
  "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-2025-40080",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-40080",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-10-28T11:48:44.796Z",
    "updatedAt": "2026-10-15T01:08:55.820Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "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": "nbd: restrict sockets to TCP and UDP",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nnbd: restrict sockets to TCP and UDP\n\nRecently, syzbot started to abuse NBD with all kinds of sockets.\n\nCommit cf1b2326b734 (\"nbd: verify socket is supported during setup\")\nmade sure the socket supported a shutdown() method.\n\nExplicitely accept TCP and UNIX stream sockets.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "cf1b2326b734896734c6e167e41766f9cee7686a",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c365e8f20f4201d873a70385bd919f0fb531e960"
            },
            {
              "version": "cf1b2326b734896734c6e167e41766f9cee7686a",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4f9e6ff6319dbcebea64b50af0304cf0ad7e97e7"
            },
            {
              "version": "cf1b2326b734896734c6e167e41766f9cee7686a",
              "status": "affected",
              "versionType": "git",
              "lessThan": "37ad11f20e164c23ce827dd455b42c0fdd29685c"
            },
            {
              "version": "cf1b2326b734896734c6e167e41766f9cee7686a",
              "status": "affected",
              "versionType": "git",
              "lessThan": "808e2335bc1cf2293b9e36ccc94c267c81509c71"
            },
            {
              "version": "cf1b2326b734896734c6e167e41766f9cee7686a",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9f7c02e031570e8291a63162c6c046dc15ff85b0"
            },
            {
              "version": "4df728651b8a99693c69962d8e5a5b9e5a3bbcc7",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "083322455c67d278c56a66b73f1221f004ee600a",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "4fa1cbd587ef967812f9d9f6ce46ec1dead7502c",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "4.14.152",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.15"
            },
            {
              "version": "4.19.82",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.20"
            },
            {
              "version": "5.3.9",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.4"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.4",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.4"
            },
            {
              "version": "6.1.156",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.112",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.53",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.17.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.17.*"
            },
            {
              "version": "6.18",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}