U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2025-38618 Detail

Description

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://git.kernel.org/stable/c/32950b1907919be86a7a2697d6f93d57068b3865 kernel.org
https://git.kernel.org/stable/c/44bd006d5c93f6a8f28b106cbae2428c5d0275b7 kernel.org
https://git.kernel.org/stable/c/8f01093646b49f6330bb2d36761983fd829472b1 kernel.org
https://git.kernel.org/stable/c/aba0c94f61ec05315fa7815d21aefa4c87f6a9f4 kernel.org
https://git.kernel.org/stable/c/c04a2c1ca25b9b23104124d3b2d349d934e302de kernel.org
https://git.kernel.org/stable/c/cf86704798c1b9c46fa59dfc2d662f57d1394d79 kernel.org
https://git.kernel.org/stable/c/d1a5b1964cef42727668ac0d8532dae4f8c19386 kernel.org
https://git.kernel.org/stable/c/d73960f0cf03ef1dc9e96ec7a20e538accc26d87 kernel.org
https://git.kernel.org/stable/c/f138be5d7f301fddad4e65ec66dfc3ceebf79be3 kernel.org

Weakness Enumeration

CWE-ID CWE Name Source

Change History

2 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2025-38618
NVD Published Date:
08/22/2025
NVD Last Modified:
08/28/2025
Source:
kernel.org