CVE-2025-40080: Linux kernel · nbd: restrict sockets to TCP and UDP
Affects Linux kernelSource CVE Database V5
Not known to be exploited · fixed in c365e8f20f4201d873a70385bd919f0fb531e960 : update Linux kernel when convenient.
Data as of 10 Nov 2026, 15:03 UTC
Rated by Threat Radar · No CVSS score from NVD or the CNA
Thin evidence
One scorer or none- Patch
- Available – fixed in c365e8f20f4201d873a70385bd919f0fb531e960, 808e2335bc1cf2293b9e36ccc94c267c81509c71, 37ad11f20e164c23ce827dd455b42c0fdd29685c +5
Exploitation evidence
Disclosed: evidence found.
CVE published 28 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
AI-suggested
The issue has been fixed in Linux kernel versions 4.15, 4.20, 5.4, and later. Users should upgrade to these or newer versions to remediate the vulnerability.
Description
A vulnerability in the Linux kernel's Network Block Device (nbd) subsystem allowed the use of unsupported socket types. This issue was addressed by restricting nbd sockets to only TCP and UNIX stream sockets, ensuring the socket supports the shutdown() method. The flaw affected multiple Linux kernel versions prior to the fix.
References
- git.kernel.org/stable/c/c365e8f20f4201d873a70385bd919f0fb531e960 (opens in a new tab)
- git.kernel.org/stable/c/4f9e6ff6319dbcebea64b50af0304cf0ad7e97e7 (opens in a new tab)
- git.kernel.org/stable/c/37ad11f20e164c23ce827dd455b42c0fdd29685c (opens in a new tab)
- git.kernel.org/stable/c/808e2335bc1cf2293b9e36ccc94c267c81509c71 (opens in a new tab)
- git.kernel.org/stable/c/9f7c02e031570e8291a63162c6c046dc15ff85b0 (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-019113.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-457936.html (opens in a new tab)