Skip to main content
VulnerabilityPublished Updated

CVE-2025-40080: Linux kernel · nbd: restrict sockets to TCP and UDP

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited · fixed in c365e8f20f4201d873a70385bd919f0fb531e960 : update Linux kernel when convenient.

Data as of 10 Nov 2026, 15:03 UTC

Severity
Unrated

Rated by Threat Radar · No CVSS score from NVD or the CNA

Thin evidence

One scorer or none
Patch
Available – fixed in c365e8f20f4201d873a70385bd919f0fb531e960, 808e2335bc1cf2293b9e36ccc94c267c81509c71, 37ad11f20e164c23ce827dd455b42c0fdd29685c +5

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • >=4.14.152 <4.15
  • >=4.19.82 <4.20
  • >=5.3.9 <5.4
Fixed in
  • c365e8f20f4201d873a70385bd919f0fb531e960
  • 808e2335bc1cf2293b9e36ccc94c267c81509c71
  • 37ad11f20e164c23ce827dd455b42c0fdd29685c
  • 9f7c02e031570e8291a63162c6c046dc15ff85b0
  • 5.4
  • 4f9e6ff6319dbcebea64b50af0304cf0ad7e97e7
  • 4.20
  • 4.15
LinuxLinuxAffected
  • =5.4
Fixed in–

AI-suggested

The issue has been fixed in Linux kernel versions 4.15, 4.20, 5.4, and later. Users should upgrade to these or newer versions to remediate the vulnerability.

Description

A vulnerability in the Linux kernel's Network Block Device (nbd) subsystem allowed the use of unsupported socket types. This issue was addressed by restricting nbd sockets to only TCP and UNIX stream sockets, ensuring the socket supports the shutdown() method. The flaw affected multiple Linux kernel versions prior to the fix.

References

Community reviews

Loading reviews…