Local kernel compromise via vsock connect race
Published Dec 4, 2025 · Updated Aug 5, 2026
Race condition in affected Linux kernels since 3.9 and RUGGEDCOM RST2428P before V4.0 allows local users to corrupt kernel memory. During an established connect, signal or timeout handling disconnects the socket while concurrent sendmsg or connect operations retain and use transport state, causing stale state, a use-after-free, or a null-pointer dereference. An unprivileged local process can create AF_VSOCK sockets and repeatedly control both sides of the race; consequences include kernel memory read or write, control-flow hijack, a hang, or a crash.
Summary
What happened
Race condition in affected Linux kernels since 3.9 and RUGGEDCOM RST2428P before V4.0 allows local users to corrupt kernel memory. During an established connect, signal or timeout handling disconnects the socket while concurrent sendmsg or connect operations retain and use transport state, causing stale state, a use-after-free, or a null-pointer dereference. An unprivileged local process can create AF_VSOCK sockets and repeatedly control both sides of the race; consequences include kernel memory read or write, control-flow hijack, a hang, or a crash.
The record
- CVE
- CVE-2025-40248
- Published
- Dec 4, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-20, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 4, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record 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=3.9
- Affected versionversion=d021c344051af91f42c5ba9fdedc176740cbd238 <002541ef650b742a198e4be363881439bb9d86b4
- Affected versionversion=d021c344051af91f42c5ba9fdedc176740cbd238 <3f71753935d648082a8279a97d30efe6b85be680
- Affected versionversion=d021c344051af91f42c5ba9fdedc176740cbd238 <5998da5a8208ae9ad7838ba322bccb2bdcd95e81
- Affected versionversion=d021c344051af91f42c5ba9fdedc176740cbd238 <67432915145848658149683101104e32f9fd6559
- Affected versionversion=d021c344051af91f42c5ba9fdedc176740cbd238 <ab6b19f690d89ae4709fba73a3c4a7911f495b7a
- Affected versionversion=d021c344051af91f42c5ba9fdedc176740cbd238 <da664101fb4a0de5cb70d2bae6a650df954df2af
- Affected versionversion=d021c344051af91f42c5ba9fdedc176740cbd238 <eeca93f06df89be5a36305b7b9dae1ed65550dfc
- Affected versionversion=d021c344051af91f42c5ba9fdedc176740cbd238 <f1c170cae285e4b8f61be043bb17addc3d0a14b5
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
No public exploit references are available in this record.
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