Vulnerability · Published Aug 22, 2025 · Assigned by Linux
CVE-2025-38618vsock: Do not allow binding to VMADDR_PORT_ANY
High 7.8
In plain English
A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.148-1 | DEBIAN-CVE-2025-38618 |
| Debian:13 | linux | 6.12.43-1 | DEBIAN-CVE-2025-38618 |
| Debian:14 | linux | 6.16.3-1 | DEBIAN-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux | 5.15.0-157.167 | USN-7793-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-157.167 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux | 6.8.0-85.85 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux | 6.8.0-85.85 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1093.100 | USN-7793-1 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1093.100 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1040.42 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1040.42 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-aws-6.14 | 6.14.0-1014.14~24.04.1 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-aws-6.14 | 6.14.0-1014.14~24.04.1 | USN-7791-1 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1040.42~22.04.1 | USN-7792-3 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1040.42~22.04.1 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1097.106 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1097.106 | USN-7810-1 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1040.46 | USN-7808-1 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1040.46 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-azure-6.14 | 6.14.0-1013.13~24.04.1 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1040.46~22.04.1 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1040.46~22.04.1 | USN-7808-2 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1098.107.1 | UBUNTU-CVE-2025-38618 |
| Ubuntu:25.10 | linux-azure-fde | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-azure-nvidia | 6.8.0-1025.27 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-azure-nvidia-6.14 | 6.14.0-1007.7 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1093.102 | USN-7793-1 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1093.102 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1041.43 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1041.43 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-gcp-6.14 | 6.14.0-1017.18~24.04.1 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-gcp-6.14 | 6.14.0-1017.18~24.04.1 | USN-7791-3 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1041.43~22.04.1 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1041.43~22.04.1 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1090.96 | USN-7793-5 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1090.96 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1037.41 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1037.41 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1076.84 | USN-7793-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1076.84 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1024.26 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1024.26 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-hwe-6.14 | 6.14.0-33.33~24.04.1 | USN-7791-1 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-85.85~22.04.1 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1087.90 | USN-7793-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1087.90 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1038.38 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1038.38 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1038.38~22.04.1 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1038.38~22.04.1 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-intel | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1088.94 | USN-7793-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1088.94 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1089.94 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-157.167 | USN-7793-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-157.167 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-85.85.1 | USN-7792-1 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-85.85.1 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-85.85.1~22.04.1 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-85.85.1~22.04.1 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1088.89 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1088.89 | USN-7793-1 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1040.43 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1040.43 | USN-7792-1 |
| Ubuntu:24.04:LTS | linux-nvidia-6.11 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1040.43~22.04.1 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1040.43~22.04.1 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1040.43.1 | USN-7792-1 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1040.43.1 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1046.46 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1046.46 | USN-7793-1 |
| Ubuntu:24.04:LTS | linux-nvidia-tegra | 6.8.0-1012.12 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1035.35 | USN-7811-1 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1035.35 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-oem-6.14 | 6.14.0-1013.13 | USN-7791-3 |
| Ubuntu:24.04:LTS | linux-oem-6.14 | 6.14.0-1013.13 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1091.97 | USN-7793-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1091.97 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1037.38 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-oracle-6.14 | 6.14.0-1014.14~24.04.1 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-oracle-6.14 | 6.14.0-1014.14~24.04.1 | USN-7791-4 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1037.38~22.04.1 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1087.90 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1087.90 | USN-7793-1 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1040.44 | USN-7792-2 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1040.44 | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-riscv-6.14 | 6.14.0-33.33.1~24.04.1 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-86.87~22.04.1 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2025-38618 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1018.19 | UBUNTU-CVE-2025-38618 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1057.61 | USN-7793-1 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1057.61 | UBUNTU-CVE-2025-38618 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d021c344051af91f42c5ba9fdedc176740cbd238 – before c04a2c1ca25b9b23104124d3b2d349d934e302ded021c344051af91f42c5ba9fdedc176740cbd238 – before d1a5b1964cef42727668ac0d8532dae4f8c19386d021c344051af91f42c5ba9fdedc176740cbd238 – before cf86704798c1b9c46fa59dfc2d662f57d1394d79d021c344051af91f42c5ba9fdedc176740cbd238 – before f138be5d7f301fddad4e65ec66dfc3ceebf79be3d021c344051af91f42c5ba9fdedc176740cbd238 – before 44bd006d5c93f6a8f28b106cbae2428c5d0275b7d021c344051af91f42c5ba9fdedc176740cbd238 – before 32950b1907919be86a7a2697d6f93d57068b3865d021c344051af91f42c5ba9fdedc176740cbd238 – before 8f01093646b49f6330bb2d36761983fd829472b1d021c344051af91f42c5ba9fdedc176740cbd238 – before d73960f0cf03ef1dc9e96ec7a20e538accc26d87 |
| Linux | Linux | 3.9 |
References
- https://git.kernel.org/stable/c/c04a2c1ca25b9b23104124d3b2d349d934e302de
- https://git.kernel.org/stable/c/d1a5b1964cef42727668ac0d8532dae4f8c19386
- https://git.kernel.org/stable/c/cf86704798c1b9c46fa59dfc2d662f57d1394d79
- https://git.kernel.org/stable/c/f138be5d7f301fddad4e65ec66dfc3ceebf79be3
- https://git.kernel.org/stable/c/44bd006d5c93f6a8f28b106cbae2428c5d0275b7
- https://git.kernel.org/stable/c/32950b1907919be86a7a2697d6f93d57068b3865
- https://git.kernel.org/stable/c/8f01093646b49f6330bb2d36761983fd829472b1
- https://git.kernel.org/stable/c/d73960f0cf03ef1dc9e96ec7a20e538accc26d87
- https://git.kernel.org/stable/c/aba0c94f61ec05315fa7815d21aefa4c87f6a9f4
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html