Critical Vulnerability in Linux Kernel: Binding to VMADDR_PORT_ANY
Summary
CVE-2025-38618: In the Linux kernel, the following vulnerability has been resolved: vsock: Do not allow binding to VMADDR_PORT_ANY It is possible for a vsock to autobind to VMADDR_PORT_ANY. Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Linux kernel is the core component of many operating systems, providing the essential interface between hardware and software. It manages system resources and facilitates communication between hardware and applications. This vulnerability affects various Debian versions of the Linux kernel, which is crucial for system stability and security.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified that allows a vsock to autobind to VMADDR_PORT_ANY. This can lead to a use-after-free condition when a connection is established to the bound socket. The socket returned by the accept() function may also have the port VMADDR_PORT_ANY, which is not on the list of unbound sockets. Binding it results in an extra reference count decrement, similar to a previously fixed issue. This vulnerability can potentially allow unauthorized access or system instability.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
Currently, there are no specific workarounds provided for this vulnerability. It is advisable to apply the patch as soon as it is available to mitigate any risks associated with this issue.
Conclusion
The vulnerability in the Linux kernel regarding binding to VMADDR_PORT_ANY poses significant risks to system security and stability. It is crucial to apply the available patch to mitigate these risks and ensure the integrity of your system.
See every vulnerability recorded for linux →
FAQ
The vulnerability allows a vsock to autobind to VMADDR_PORT_ANY, leading to a potential use-after-free condition.
The vulnerability affects Debian versions 11, 12, 13, and 14 of the Linux kernel.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.
Exploiting this vulnerability could lead to unauthorized access, system instability, or crashes.
Yes, the patched version of the Linux kernel is 6.16.3-1. It is recommended to update to this version or later.
Related vulnerabilities
Recent vulnerabilities recorded for linux.