CVE-2025-38618

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38618
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38618.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38618
Downstream
Related
Published
2025-08-22T14:15:46Z
Modified
2025-09-06T13:01:26Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

vsock: Do not allow binding to VMADDRPORTANY

It is possible for a vsock to autobind to VMADDRPORTANY. This can cause a use-after-free when a connection is made to the bound socket. The socket returned by accept() also has port VMADDRPORTANY 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 _vsockbindconnectible() to also prevent binding to VMADDRPORT_ANY.

References

Affected packages