CVE Catalog

CVE-2025-38618

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

6th percentile - higher than 6% of all known CVEs

Summary

In the Linux kernel vsock module, a use-after-free vulnerability exists due to the ability to autobind a socket to VMADDR_PORT_ANY. The socket returned by accept() also has port VMADDR_PORT_ANY but is not on the list of unbound sockets, leading to an extra refcount decrement.

Risk Assessment

A local attacker can exploit this vulnerability to trigger a use-after-free, potentially leading to system crash or privilege escalation.

Recommendation

Apply the Linux kernel patch that prevents binding to VMADDR_PORT_ANY in __vsock_bind_connectible(). Update your system to a kernel version containing the fix.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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. This can cause a use-after-free when a connection is made to the bound socket. The socket returned by accept() also has port VMADDR_PORT_ANY but is not on the list of unbound sockets. Binding it will result in an extra refcount decrement similar to the one fixed in fcdd2242c023 (vsock: Keep the binding until socket destruction). Modify the check in __vsock_bind_connectible() to also prevent binding to VMADDR_PORT_ANY.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS