VDB

CVE-2026-64115

CVE-2026-64115 PUBLISHED CVSS 8.8 HIGH

vsock/vmci: fix UAF when peer resets connection during handshake

Reported by linux · Published July 19, 2026

In the Linux kernel, the following vulnerability has been resolved: vsock/vmci: fix UAF when peer resets connection during handshake vmci_transport_recv_connecting_server() returned err = 0 for a peer RST in its default switch arm: err = pkt->type == VMCI_TRANSPORT_PACKET_TYPE_RST ? 0 : -EINVAL; That made vmci_transport_recv_listen() skip vsock_remove_pending(), leaving the pending socket on the listener's pending_links with sk_state = TCP_CLOSE while destroy: still dropped the explicit reference taken before schedule_delayed_work(). One second later vsock_pending_work() observed is_pending=true and performed full cleanup: vsock_remove_pending() then the two trailing sock_put(sk) calls -- the first reached refcount 0 and __sk_freed the socket, and the second wrote into the freed object: BUG: KASAN: slab-use-after-free in refcount_warn_saturate Write of size 4 at addr ffff88800b1cac80 by task kworker Workqueue: events vsock_pending_work Treat peer RST like any other unexpected packet type (err = -EINVAL). All destroy: arms now return err < 0, so vmci_transport_recv_listen() removes pending from pending_links synchronously and vsock_pending_work() takes the is_pending=false / !rejected branch, dropping only its own work reference. This also closes the multi-packet race Sashiko reported on v2: pending is removed from the list before any subsequent packet can find it. The pre-existing sk_acceptq_removed() gap on the err < 0 path of vmci_transport_recv_listen() that Sashiko also noted is not introduced or changed by this patch. Tested on lts-6.12.79 with KASAN: 52/100 unpatched -> 0/100 patched.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-zfcpdump-debuginfoerrata.rockylinux.org5.14.0-687.56.1.el9
kernel-devel-matchederrata.rockylinux.org6.12.0-211.64.1.el10, 5.14.0-687.56.1.el9
kernel-modules-extra-commonAmazon Linux1:6.1.175-219.357.amzn2023
kernel-moduleserrata.rockylinux.org6.12.0-211.64.1.el10, 4.18.0-553.172.1.el8
kernel-docerrata.rockylinux.org4.18.0-553.172.1.el8
kernel-debug-develerrata.rockylinux.org6.12.0-211.64.1.el10
kernel-debuginfo-common-ppc64leerrata.rockylinux.org6.12.0-211.64.1.el10, 5.14.0-687.56.1.el9
kernel-rt-debugerrata.rockylinux.org6.12.0-211.64.1.el10, 5.14.0-687.56.1.el9, 4.18.0-553.172.1.rt7.513.el8
kernelerrata.rockylinux.org6.12.0-211.64.1.el10, 5.14.0-687.56.1.el9
kernel-headersAmazon Linux1:6.1.175-219.357.amzn2023
kernel-rt-modules-extraerrata.rockylinux.org5.14.0-687.56.1.el9
kernel-zfcpdump-coreerrata.rockylinux.org6.12.0-211.64.1.el10

44 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxd021c344051af91f42c5ba9fdedc176740cbd238, d021c344051af91f42c5ba9fdedc176740cbd238, d021c344051af91f42c5ba9fdedc176740cbd238
LinuxLinux3.9, 0, 5.10.258
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-headers0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.12-tools-devel0
amazon:2023bpftool6.120
amazon:2023kernel-modules-extra0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.120
amazon:2023python3-perf6.120
amazon:2023perf6.120
amazon:2023kernel-tools-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-tools0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-devel0
amazon:2023python3-perf0
amazon:2023bpftool6.180
LinuxLinux7.1, *, *

…and 18 more

Timeline

  • Jul 19, 2026 CVE Published
  • Jul 20, 2026 Coalition ESS Score
  • Jul 20, 2026 Security Advisory (37 in total, the first dated here)
  • Aug 7, 2026 EPSS Score (9 in total, the first dated here)
  • Aug 12, 2026 Distribution Patch (40 in total, the first dated here)
  • Oct 20, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64115
vulnetix vdb fixes CVE-2026-64115

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64115/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›