CVE-2026-64115
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-zfcpdump-debuginfo | errata.rockylinux.org | 5.14.0-687.56.1.el9 |
| kernel-devel-matched | errata.rockylinux.org | 6.12.0-211.64.1.el10, 5.14.0-687.56.1.el9 |
| kernel-modules-extra-common | Amazon Linux | 1:6.1.175-219.357.amzn2023 |
| kernel-modules | errata.rockylinux.org | 6.12.0-211.64.1.el10, 4.18.0-553.172.1.el8 |
| kernel-doc | errata.rockylinux.org | 4.18.0-553.172.1.el8 |
| kernel-debug-devel | errata.rockylinux.org | 6.12.0-211.64.1.el10 |
| kernel-debuginfo-common-ppc64le | errata.rockylinux.org | 6.12.0-211.64.1.el10, 5.14.0-687.56.1.el9 |
| kernel-rt-debug | errata.rockylinux.org | 6.12.0-211.64.1.el10, 5.14.0-687.56.1.el9, 4.18.0-553.172.1.rt7.513.el8 |
| kernel | errata.rockylinux.org | 6.12.0-211.64.1.el10, 5.14.0-687.56.1.el9 |
| kernel-headers | Amazon Linux | 1:6.1.175-219.357.amzn2023 |
| kernel-rt-modules-extra | errata.rockylinux.org | 5.14.0-687.56.1.el9 |
| kernel-zfcpdump-core | errata.rockylinux.org | 6.12.0-211.64.1.el10 |
44 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d021c344051af91f42c5ba9fdedc176740cbd238, d021c344051af91f42c5ba9fdedc176740cbd238, d021c344051af91f42c5ba9fdedc176740cbd238 |
| Linux | Linux | 3.9, 0, 5.10.258 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| Linux | Linux | 7.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