CVE-2025-40080Published Oct 28, 2025 · Oct 28Updated 2d ago
nbd: restrict sockets to TCP and UDP
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
4df728651b8a99693c69962d8e5a5b9e5a3bbcc7| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's NBD setup did not sufficiently restrict socket types. A local actor able to set up NBD could supply unsupported sockets; the input does not specify a resulting impact or whether authentication is required.
Engineers running Linux kernels with NBD should check their deployments; affected versions are not specified.