nbd: restrict sockets to TCP and UDP
In the Linux kernel, the following vulnerability has been resolved: nbd: restrict sockets to TCP and UDP Recently, syzbot started to abuse NBD with all kinds of sockets. Commit cf1b2326b734 ("nbd: verify socket is supported during setup") made sure the socket supported a shutdown() method. Explicitely accept TCP and UNIX stream sockets.
02 / AFFECTED SOFTWARE
Affected packages
841 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
In the Linux kernel, the following vulnerability has been resolved: nbd: restrict sockets to TCP and UDP Recently, syzbot started to abuse NBD with all kinds of sockets. Commit cf1b2326b734 ("nbd: verify socket is supported during setup") made sure the socket supported a shutdown() method. Explicitely accept TCP and UNIX stream sockets.
05 / REFERENCES
Further evidence
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/37ad11f20e164c23ce827dd455b42c0fdd29685c
- https://git.kernel.org/stable/c/4f9e6ff6319dbcebea64b50af0304cf0ad7e97e7
- https://git.kernel.org/stable/c/808e2335bc1cf2293b9e36ccc94c267c81509c71
- https://git.kernel.org/stable/c/9f7c02e031570e8291a63162c6c046dc15ff85b0
- https://git.kernel.org/stable/c/c365e8f20f4201d873a70385bd919f0fb531e960
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40080.json
- https://nvd.nist.gov/vuln/detail/CVE-2025-40080