CVE-2025-40080
JSON

Not scored

nbd: restrict sockets to TCP and UDP

Severity
Not scored
Exploit likelihood
0.29% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom cf1b2326b734896734c6e167e41766f9cee7686a before c365e8f20f4201d873a70385bd919f0fb531e960, from cf1b2326b734896734c6e167e41766f9cee7686a before 4f9e6ff6319dbcebea64b50af0304cf0ad7e97e7, from cf1b2326b734896734c6e167e41766f9cee7686a before 37ad11f20e164c23ce827dd455b42c0fdd29685c, from cf1b2326b734896734c6e167e41766f9cee7686a before 808e2335bc1cf2293b9e36ccc94c267c81509c71, from cf1b2326b734896734c6e167e41766f9cee7686a before 9f7c02e031570e8291a63162c6c046dc15ff85b0, 4df728651b8a99693c69962d8e5a5b9e5a3bbcc7, 083322455c67d278c56a66b73f1221f004ee600a, 4fa1cbd587ef967812f9d9f6ce46ec1dead7502c and 4 more
Not affected: before 5.4, from 6.1.156 up to 6.1.*, from 6.6.112 up to 6.6.*, from 6.12.53 up to 6.12.*, from 6.17.3 up to 6.17.*, from 6.18 up to *
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: nbd: restringir sockets a TCP y UDP Recientemente, syzbot comenzó a abusar de NBD con todo tipo de sockets. El commit cf1b2326b734 ('nbd: verificar que el socket sea compatible durante la configuración') se aseguró de que el socket soportara un método shutdown(). Aceptar explícitamente sockets de flujo TCP y UNIX.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-40080 changed 2026-11-10CVE Terms of Use
NVDCVE-2025-40080 changed 2026-11-10Public domain