Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-40080

nbd: restrict sockets to TCP and UDP

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • cf1b2326b734896734c6e167e41766f9cee7686a to < c365e8f20f4201d873a70385bd919f0fb531e960affected
  • cf1b2326b734896734c6e167e41766f9cee7686a to < 4f9e6ff6319dbcebea64b50af0304cf0ad7e97e7affected
  • cf1b2326b734896734c6e167e41766f9cee7686a to < 37ad11f20e164c23ce827dd455b42c0fdd29685caffected
  • cf1b2326b734896734c6e167e41766f9cee7686a to < 808e2335bc1cf2293b9e36ccc94c267c81509c71affected
  • cf1b2326b734896734c6e167e41766f9cee7686a to < 9f7c02e031570e8291a63162c6c046dc15ff85b0affected
  • 4df728651b8a99693c69962d8e5a5b9e5a3bbcc7affected
  • 083322455c67d278c56a66b73f1221f004ee600aaffected
  • 4fa1cbd587ef967812f9d9f6ce46ec1dead7502caffected
  • 4.14.152 to < 4.15affected
  • 4.19.82 to < 4.20affected
  • 5.3.9 to < 5.4affected

Linux Linux

Default version status: affected

  • 5.4affected
  • 0 to < 5.4unaffected
  • 6.1.156 to ≤ 6.1.*unaffected
  • 6.6.112 to ≤ 6.6.*unaffected
  • 6.12.53 to ≤ 6.12.*unaffected
  • 6.17.3 to ≤ 6.17.*unaffected
  • 6.18 to ≤ *unaffected

References