# nbd: restrict sockets to TCP and UDP

CVE record · `CVE-2025-40080`

- **Identifiers:** `CVE-2025-40080`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 28 Oct 2025
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 28 Oct 2025, 11:48 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `cf1b2326b734896734c6e167e41766f9cee7686a to before c365e8f20f4201d873a70385bd919f0fb531e960` (git)
  - affected: `cf1b2326b734896734c6e167e41766f9cee7686a to before 4f9e6ff6319dbcebea64b50af0304cf0ad7e97e7` (git)
  - affected: `cf1b2326b734896734c6e167e41766f9cee7686a to before 37ad11f20e164c23ce827dd455b42c0fdd29685c` (git)
  - affected: `cf1b2326b734896734c6e167e41766f9cee7686a to before 808e2335bc1cf2293b9e36ccc94c267c81509c71` (git)
  - affected: `cf1b2326b734896734c6e167e41766f9cee7686a to before 9f7c02e031570e8291a63162c6c046dc15ff85b0` (git)
  - affected: `4df728651b8a99693c69962d8e5a5b9e5a3bbcc7` (git)
  - affected: `083322455c67d278c56a66b73f1221f004ee600a` (git)
  - affected: `4fa1cbd587ef967812f9d9f6ce46ec1dead7502c` (git)
  - affected: `4.14.152 to before 4.15` (semver)
  - affected: `4.19.82 to before 4.20` (semver)
  - affected: `5.3.9 to before 5.4` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.4`
  - unaffected: `before 5.4` (semver)
  - unaffected: `6.1.156 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.112 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.53 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.3 to 6.17.*, inclusive` (semver)
  - unaffected: `6.18 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel nbd driver did not restrict which socket types it accepts, affecting versions from 5.4 until fixed. The source gives few details on attacker requirements or impact. Upgrade to 6.1.156 or later, 6.6.112 or later, 6.12.53 or later, or 6.17.3 or later, depending on your branch.

Written 19 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0021, the 10th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 28 Oct 2025, 11:48 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-40080)
- 28 Oct 2025, 12:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-40080)

## Sources

- [CVE List: CVE-2025-40080](https://www.cve.org/CVERecord?id=CVE-2025-40080)
- [NVD: CVE-2025-40080](https://nvd.nist.gov/vuln/detail/CVE-2025-40080)

### References from the CNA

- <https://git.kernel.org/stable/c/c365e8f20f4201d873a70385bd919f0fb531e960>
- <https://git.kernel.org/stable/c/4f9e6ff6319dbcebea64b50af0304cf0ad7e97e7>
- <https://git.kernel.org/stable/c/37ad11f20e164c23ce827dd455b42c0fdd29685c>
- <https://git.kernel.org/stable/c/808e2335bc1cf2293b9e36ccc94c267c81509c71>
- <https://git.kernel.org/stable/c/9f7c02e031570e8291a63162c6c046dc15ff85b0>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-40080>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-40080/>. Everything for agents: <https://agentprime.io/llms.txt>.
