{"id":"CVE-2025-38618","aliases":["CVE-2025-38618"],"related":[],"kind":"vulnerability","state":"published","title":"vsock: Do not allow binding to VMADDR_PORT_ANY","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock: Do not allow binding to VMADDR_PORT_ANY\n\nIt is possible for a vsock to autobind to VMADDR_PORT_ANY. This can\ncause a use-after-free when a connection is made to the bound socket.\nThe socket returned by accept() also has port VMADDR_PORT_ANY but is not\non the list of unbound sockets. Binding it will result in an extra\nrefcount decrement similar to the one fixed in fcdd2242c023 (vsock: Keep\nthe binding until socket destruction).\n\nModify the check in __vsock_bind_connectible() to also prevent binding\nto VMADDR_PORT_ANY.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock: Do not allow binding to VMADDR_PORT_ANY\n\nIt is possible for a vsock to autobind to VMADDR_PORT_ANY. This can\ncause a use-after-free when a connection is made to the bound socket.\nThe socket returned by accept() also has port VMADDR_PORT_ANY but is not\non the list of unbound sockets. Binding it will result in an extra\nrefcount decrement similar to the one fixed in fcdd2242c023 (vsock: Keep\nthe binding until socket destruction).\n\nModify the check in __vsock_bind_connectible() to also prevent binding\nto VMADDR_PORT_ANY.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: vsock: No permitir la vinculación a VMADDR_PORT_ANY. Es posible que un vsock se autoenlace a VMADDR_PORT_ANY. Esto puede causar un use-after-free cuando se establece una conexión al socket enlazado. El socket devuelto por accept() también tiene el puerto VMADDR_PORT_ANY, pero no está en la lista de sockets no enlazados. Vincularlo resultará en una disminución adicional del recuento de referencias similar a la corregida en fcdd2242c023 (vsock: Mantener la vinculación hasta la destrucción del socket). Modifique la comprobación en __vsock_bind_connectible() para evitar también la vinculación a VMADDR_PORT_ANY.","source":"nvd"}],"published":"2025-08-22T13:01:24.678Z","modified":"2026-08-05T12:03:33.962Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"d021c344051af91f42c5ba9fdedc176740cbd238","fixed":"c04a2c1ca25b9b23104124d3b2d349d934e302de","status":"affected"},{"type":"git","introduced":"d021c344051af91f42c5ba9fdedc176740cbd238","fixed":"d1a5b1964cef42727668ac0d8532dae4f8c19386","status":"affected"},{"type":"git","introduced":"d021c344051af91f42c5ba9fdedc176740cbd238","fixed":"cf86704798c1b9c46fa59dfc2d662f57d1394d79","status":"affected"},{"type":"git","introduced":"d021c344051af91f42c5ba9fdedc176740cbd238","fixed":"f138be5d7f301fddad4e65ec66dfc3ceebf79be3","status":"affected"},{"type":"git","introduced":"d021c344051af91f42c5ba9fdedc176740cbd238","fixed":"44bd006d5c93f6a8f28b106cbae2428c5d0275b7","status":"affected"},{"type":"git","introduced":"d021c344051af91f42c5ba9fdedc176740cbd238","fixed":"32950b1907919be86a7a2697d6f93d57068b3865","status":"affected"},{"type":"git","introduced":"d021c344051af91f42c5ba9fdedc176740cbd238","fixed":"8f01093646b49f6330bb2d36761983fd829472b1","status":"affected"},{"type":"git","introduced":"d021c344051af91f42c5ba9fdedc176740cbd238","fixed":"d73960f0cf03ef1dc9e96ec7a20e538accc26d87","status":"affected"},{"type":"git","introduced":"d021c344051af91f42c5ba9fdedc176740cbd238","fixed":"aba0c94f61ec05315fa7815d21aefa4c87f6a9f4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.9","status":"unaffected"},{"type":"semver","introduced":"5.4.297","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.241","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.190","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.148","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.102","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.42","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.10","lastAffected":"6.15.*","status":"unaffected"},{"type":"semver","introduced":"6.16.1","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.9","fixed":"5.4.297"},{"status":"affected","introduced":"5.5","fixed":"5.10.241"},{"status":"affected","introduced":"5.11","fixed":"5.15.190"},{"status":"affected","introduced":"5.16","fixed":"6.1.148"},{"status":"affected","introduced":"6.2","fixed":"6.6.102"},{"status":"affected","introduced":"6.7","fixed":"6.12.42"},{"status":"affected","introduced":"6.13","fixed":"6.15.10"},{"status":"affected","introduced":"6.16","fixed":"6.16.1"},{"status":"affected","version":"6.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c04a2c1ca25b9b23104124d3b2d349d934e302de","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d1a5b1964cef42727668ac0d8532dae4f8c19386","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cf86704798c1b9c46fa59dfc2d662f57d1394d79","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f138be5d7f301fddad4e65ec66dfc3ceebf79be3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/44bd006d5c93f6a8f28b106cbae2428c5d0275b7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/32950b1907919be86a7a2697d6f93d57068b3865","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f01093646b49f6330bb2d36761983fd829472b1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d73960f0cf03ef1dc9e96ec7a20e538accc26d87","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aba0c94f61ec05315fa7815d21aefa4c87f6a9f4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-10T20:42:30.337Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38618","url":"https://www.cve.org/CVERecord?id=CVE-2025-38618","licence":"CVE Terms of Use","modified":"2026-08-05T12:03:33.962Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38618","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38618","licence":"Public domain","modified":"2026-07-30T06:23:31.593Z"}],"updatedAt":"2026-11-25T22:59:03.518Z","epss":{"score":0.00398,"percentile":0.36101,"date":"2026-12-01T12:00:22.000Z"}}