{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-40080","id":"CVE-2025-40080","title":"nbd: restrict sockets to TCP and UDP","description":"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.","descriptionLong":"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.","published":"2025-10-28T11:48:44.796Z","updated":"2026-11-17T07:02:44.689888990Z","reserved":"2025-04-16T07:20:57.160Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"cf1b2326b734896734c6e167e41766f9cee7686a","lessThan":"c365e8f20f4201d873a70385bd919f0fb531e960","status":"affected","versionType":"git"},{"version":"cf1b2326b734896734c6e167e41766f9cee7686a","lessThan":"4f9e6ff6319dbcebea64b50af0304cf0ad7e97e7","status":"affected","versionType":"git"},{"version":"cf1b2326b734896734c6e167e41766f9cee7686a","lessThan":"37ad11f20e164c23ce827dd455b42c0fdd29685c","status":"affected","versionType":"git"},{"version":"cf1b2326b734896734c6e167e41766f9cee7686a","lessThan":"808e2335bc1cf2293b9e36ccc94c267c81509c71","status":"affected","versionType":"git"},{"version":"cf1b2326b734896734c6e167e41766f9cee7686a","lessThan":"9f7c02e031570e8291a63162c6c046dc15ff85b0","status":"affected","versionType":"git"},{"version":"4df728651b8a99693c69962d8e5a5b9e5a3bbcc7","status":"affected","versionType":"git"},{"version":"083322455c67d278c56a66b73f1221f004ee600a","status":"affected","versionType":"git"},{"version":"4fa1cbd587ef967812f9d9f6ce46ec1dead7502c","status":"affected","versionType":"git"},{"version":"4.14.152","lessThan":"4.15","status":"affected","versionType":"semver"},{"version":"4.19.82","lessThan":"4.20","status":"affected","versionType":"semver"},{"version":"5.3.9","lessThan":"5.4","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.4","status":"affected"},{"version":"0","lessThan":"5.4","status":"unaffected","versionType":"semver"},{"version":"6.1.156","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.112","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.53","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.17.3","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/c365e8f20f4201d873a70385bd919f0fb531e960","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4f9e6ff6319dbcebea64b50af0304cf0ad7e97e7","tags":["web"]},{"url":"https://git.kernel.org/stable/c/37ad11f20e164c23ce827dd455b42c0fdd29685c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/808e2335bc1cf2293b9e36ccc94c267c81509c71","tags":["web"]},{"url":"https://git.kernel.org/stable/c/9f7c02e031570e8291a63162c6c046dc15ff85b0","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40080.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40080","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00206,"epssPercentile":0.10853,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-40080","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40080","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-40080","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-40080","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}