# CVE-2025-38618: vsock: Do not allow binding to VMADDR\_PORT\_ANY

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-08-22 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2025-38618, DEBIAN-CVE-2025-38618
- Record: https://cvemate.com/vulnerability/CVE-2025-38618 · JSON: https://cvemate.com/vulnerability/CVE-2025-38618/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.398%, percentile 36.088%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 150)

- debian linux (Debian): \< 6.1.148-1 \| \< 6.12.43-1 \| \< 6.16.3-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-273.307 \| \< 4.15.0-242.254 \| \< 5.4.0-222.242 \| \< 5.15.0-157.167 \| \< 6.8.0-85.85
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1148.154 \| \< 4.4.0-1186.201 \| \< 4.15.0-1185.198 \| \< 5.4.0-1151.161 \| \< 5.15.0-1093.100 \| \< 6.8.0-1040.42
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1093.100~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1151.161~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): \< 6.14.0-1014.14~24.04.1
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1040.42~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2123.129 \| All versions (No fix recorded) \| \< 5.4.0-1151.161+fips1 \| \< 5.15.0-1093.100+fips1 \| \< 6.8.0-1040.42+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1185.198~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1193.208~14.04.1 \| \< 4.15.0-1193.208~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1154.161 \| \< 5.15.0-1097.106 \| \< 6.8.0-1040.46
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1193.208

## References (first 20 of 60)

- <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>
- <https://ubuntu.com/security/CVE-2025-38618>
- <https://www.cve.org/CVERecord?id=CVE-2025-38618>
- <https://git.kernel.org/linus/aba0c94f61ec05315fa7815d21aefa4c87f6a9f4>
- <https://ubuntu.com/security/notices/USN-7791-1>
- <https://ubuntu.com/security/notices/USN-7792-1>
- <https://ubuntu.com/security/notices/USN-7793-1>
- <https://ubuntu.com/security/notices/USN-7795-1>
- <https://ubuntu.com/security/notices/USN-7796-1>
- <https://ubuntu.com/security/notices/USN-7797-1>

---

Data as of 2026-12-05T04:47:05.302Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
