Skip to main content
← All vulnerabilities
CVE-2025-40080

nbd: restrict sockets to TCP and UDP

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.15, 4.20, 5.4, 6.1.156, 6.6.112, and 2 more
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From cf1b2326b734896734c6e167e41766f9cee7686a · fixed in c365e8f20f4201d873a70385bd919f0fb531e960; From cf1b2326b734896734c6e167e41766f9cee7686a · fixed in 4f9e6ff6319dbcebea64b50af0304cf0ad7e97e7; From cf1b2326b734896734c6e167e41766f9cee7686a · fixed in 37ad11f20e164c23ce827dd455b42c0fdd29685c; From cf1b2326b734896734c6e167e41766f9cee7686a · fixed in 808e2335bc1cf2293b9e36ccc94c267c81509c71; From cf1b2326b734896734c6e167e41766f9cee7686a · fixed in 9f7c02e031570e8291a63162c6c046dc15ff85b0; From 4.14.152 · fixed in 4.15; From 4.19.82 · fixed in 4.20; From 5.3.9 · fixed in 5.4

  • Linux Linux

    5.4

  • KernelLinux

    From 5.4.0 · fixed in 6.1.156; From 6.2.0 · fixed in 6.6.112; From 6.7.0 · fixed in 6.12.53; From 6.13.0 · fixed in 6.17.3

References 5

git.kernel.org