Local service interruption via unsupported NBD sockets
Published Oct 28, 2025 · Updated Oct 28, 2025
Improper socket validation in the Linux kernel NBD driver allows local users to disclose limited data and interrupt service. The nbd_get_socket function accepts any socket with a shutdown operation instead of restricting input to TCP or UNIX stream sockets. Access to the local NBD setup interface is required, and crafted unsupported sockets can trigger kernel locking faults that disrupt the host.
Summary
What happened
Improper socket validation in the Linux kernel NBD driver allows local users to disclose limited data and interrupt service. The nbd_get_socket function accepts any socket with a shutdown operation instead of restricting input to TCP or UNIX stream sockets. Access to the local NBD setup interface is required, and crafted unsupported sockets can trigger kernel locking faults that disrupt the host.
The record
- CVE
- CVE-2025-40080
- Published
- Oct 28, 2025
- Updated
- Oct 28, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 28, 2025CVE publishedPublication date reported by the CVE source.
- Oct 28, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=083322455c67d278c56a66b73f1221f004ee600a
- Affected versionversion=4df728651b8a99693c69962d8e5a5b9e5a3bbcc7
- Affected versionversion=4fa1cbd587ef967812f9d9f6ce46ec1dead7502c
- Affected versionversion=5.4
- Affected versionversion=cf1b2326b734896734c6e167e41766f9cee7686a <37ad11f20e164c23ce827dd455b42c0fdd29685c
- Affected versionversion=cf1b2326b734896734c6e167e41766f9cee7686a <4f9e6ff6319dbcebea64b50af0304cf0ad7e97e7
- Affected versionversion=cf1b2326b734896734c6e167e41766f9cee7686a <808e2335bc1cf2293b9e36ccc94c267c81509c71
- Affected versionversion=cf1b2326b734896734c6e167e41766f9cee7686a <9f7c02e031570e8291a63162c6c046dc15ff85b0
- Affected versionversion=cf1b2326b734896734c6e167e41766f9cee7686a <c365e8f20f4201d873a70385bd919f0fb531e960
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- syzbot unsupported-socket NBD reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo