CVE-2025-40080
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 versions
Linux kernel versions
4.14.152,
4.19.82,
5.3.9,
5.4
and later are affected. Fixed in
6.1.156,
6.6.112,
6.12.53,
6.17.3,
6.18
and their respective stable series.
References
The following references provide additional information about CVE-2025-40080 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/37ad11f20e164c23ce827dd455b42c0fdd29685c
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4f9e6ff6319dbcebea64b50af0304cf0ad7e97e7
-
PatchKernel patch commithttps://git.kernel.org/stable/c/808e2335bc1cf2293b9e36ccc94c267c81509c71
Frequently asked questions
-
What is CVE-2025-40080?
CVE-2025-40080 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 4.14.152 onward and has been patched in 6.1.156, 6.6.112, 6.12.53 and others. CVE-2025-40080 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2025-40080?
Yes — CVE-2025-40080 has been patched. Fixed versions include 6.1.156, 6.6.112, 6.12.53 and others. If you are running Linux kernel 4.14.152 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-40080 actively exploited?
No — CVE-2025-40080 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.