CVE-2025-38618 Details
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.
A vulnerability in the Linux kernel's VSOCK implementation allows sockets to bind to VMADDR_PORT_ANY, leading to a use-after-free condition when a connection is established. The issue arises because the socket returned by accept() also uses VMADDR_PORT_ANY but is not listed as unbound. Binding this socket creates an additional reference count decrement, similar to a previously addressed issue, which can disrupt proper socket management. The vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed in the Linux kernel. Users should upgrade to the latest version where this issue has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/32950b1907919be86a7a2697d6f93d57068b3865 | kernel.org | Patch |
| https://git.kernel.org/stable/c/44bd006d5c93f6a8f28b106cbae2428c5d0275b7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8f01093646b49f6330bb2d36761983fd829472b1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/aba0c94f61ec05315fa7815d21aefa4c87f6a9f4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c04a2c1ca25b9b23104124d3b2d349d934e302de | kernel.org | Patch |
| https://git.kernel.org/stable/c/cf86704798c1b9c46fa59dfc2d662f57d1394d79 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d1a5b1964cef42727668ac0d8532dae4f8c19386 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d73960f0cf03ef1dc9e96ec7a20e538accc26d87 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f138be5d7f301fddad4e65ec66dfc3ceebf79be3 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html | CVE | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.9, < 5.4.297 >= 5.5, < 5.10.241 >= 5.11, < 5.15.190 >= 5.16, < 6.1.148 >= 6.2, < 6.6.102 >= 6.7, < 6.12.42 >= 6.13, < 6.15.10 >= 6.16, < 6.16.1 6.17 rc1 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 7, 2026 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Aug 28, 2025 | CVE Modified | kernel.org |
| Aug 22, 2025 | New CVE Received | kernel.org |