CVE-2025-38618 json
vsock: Do not allow binding to VMADDR_PORT_ANY
published 2025-08-22 14 mo ago modified 2026-08-05 3 mo ago also EUVD-2025-26085
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.4.297, 5.10.241, 5.15.190, 6.1.148, 6.6.102, 6.12.42, 6.15.10, 6.16.1, 6.17
- linux Debian 12 6.1.148-1
- linux Debian 13 6.12.43-1
- linux Debian 14 6.16.3-1
debian advisories DEBIAN-CVE-2025-38618
- linux Ubuntu 22.04 LTS 5.15.0-157.167
- linux Ubuntu 24.04 LTS 6.8.0-85.85
- linux-aws Ubuntu 22.04 LTS 5.15.0-1093.100
- linux-aws Ubuntu 24.04 LTS 6.8.0-1040.42
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1093.102
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1041.43
- linux-gke Ubuntu 22.04 LTS 5.15.0-1090.96
- linux-gke Ubuntu 24.04 LTS 6.8.0-1037.41
ubuntu advisories UBUNTU-CVE-2025-38618
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-livepatch-SLE16_Update_0 SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 5-160000.4.3
- kernel-livepatch-SLE16-RT_Update_0 Linux Micro 6.2 4-160000.3.4
- kernel-rt Linux Micro 6.2 6.12.0-160000.6.1
- kernel-64kb SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 6.12.0-160000.6.1
- kernel-source SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 6.12.0-160000.6.1
- kernel-default SLES 16.0, SLE High Availability Extension 16.0, Linux Micro 6.2 +1 more 6.12.0-160000.6.1
- kernel-default-base SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 6.12.0-160000.6.1.160000.2.4
- kernel-syms SLES 16.0, Linux Micro Extras 6.2, SLES for SAP applications 16.0 6.12.0-160000.6.1
suse advisories SUSE-SU-2026:20149-1SUSE-SU-2026:20169-1SUSE-SU-2026:20164-1SUSE-SU-2025:21074-1SUSE-SU-2025:21139-1SUSE-SU-2026:20560-1
- kernel-rt openSUSE Leap 16.0 6.12.0-160000.6.1
- dtb-aarch64 openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-64kb openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-syms openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-obs-qa openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-source openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-default openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-kvmsmall openSUSE Leap 16.0 6.12.0-160000.6.1
opensuse advisories openSUSE-SU-2025:20081-1
- kernel Azure Linux 3.0 6.6.104.2-1
- kernel CBL-Mariner 2.0 5.15.200.1-1
azure linux advisories AZL-66593AZL-73614
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- git.kernel.org/stable/c/c04a2c1ca25b9b23104124d3b2d349d934e302de commit
- git.kernel.org/stable/c/d1a5b1964cef42727668ac0d8532dae4f8c19386 commit
- git.kernel.org/stable/c/cf86704798c1b9c46fa59dfc2d662f57d1394d79 commit
- git.kernel.org/stable/c/f138be5d7f301fddad4e65ec66dfc3ceebf79be3 commit
- git.kernel.org/stable/c/44bd006d5c93f6a8f28b106cbae2428c5d0275b7 commit
- git.kernel.org/stable/c/32950b1907919be86a7a2697d6f93d57068b3865 commit
- git.kernel.org/stable/c/8f01093646b49f6330bb2d36761983fd829472b1 commit
- git.kernel.org/stable/c/d73960f0cf03ef1dc9e96ec7a20e538accc26d87 commit
- git.kernel.org/stable/c/aba0c94f61ec05315fa7815d21aefa4c87f6a9f4 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-38618 updated cvss 6.2
kernel: vsock: Do not allow binding to VMADDR_PORT_ANY
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelaffected: no fix available
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 4 mo ago
Exploit prediction
0.18% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
git.kernel.org
/stable/c/c04a2c1ca25b9b23104124d3b2d349d934e302de
patch
-
git.kernel.org
/stable/c/d1a5b1964cef42727668ac0d8532dae4f8c19386
patch
-
git.kernel.org
/stable/c/cf86704798c1b9c46fa59dfc2d662f57d1394d79
patch
-
git.kernel.org
/stable/c/f138be5d7f301fddad4e65ec66dfc3ceebf79be3
patch
-
git.kernel.org
/stable/c/44bd006d5c93f6a8f28b106cbae2428c5d0275b7
patch
-
git.kernel.org
/stable/c/32950b1907919be86a7a2697d6f93d57068b3865
patch
-
git.kernel.org
/stable/c/8f01093646b49f6330bb2d36761983fd829472b1
patch
-
git.kernel.org
/stable/c/d73960f0cf03ef1dc9e96ec7a20e538accc26d87
patch
-
git.kernel.org
/stable/c/aba0c94f61ec05315fa7815d21aefa4c87f6a9f4
patch
-
lists.debian.org
/debian-lts-announce/2025/10/msg00008.html
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2025/10/msg00007.html
third-party-advisory
Sources
- CVE List CVE-2025-38618
- NVD CVE-2025-38618
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.