# CVE-2026-64115: vsock/vmci: fix UAF when peer resets connection during handshake

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-07-19T15:40:15.513Z
- **Modified:** 2026-10-19T21:17:24.263Z

## Who should check

- Anyone running Linux \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 1e19f08552b90070ed18bafb1763c78297823af6; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 1dd531e28f61edd286edc486ab068f135b5ae1eb; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< ecda37f8faab3220da199335e42564cb7a9ad145; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< cc27e989a5dfdfcfc1cca7c3be27a0c7532b46cb; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 47e63077605c6c2aa45b3df9847a8cdc1f1f6ef9; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 440447699c681e26ed58e9c309cad718270a18b4; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 9fe74e42914c851d68069713b7b917a9c33faf26; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 99e22ddf4edb63dc8382bc028af928056d3450cf
- Anyone running Linux 3.9

## Description

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.

## Affected and fixed versions

- Linux: \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 1e19f08552b90070ed18bafb1763c78297823af6; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 1dd531e28f61edd286edc486ab068f135b5ae1eb; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< ecda37f8faab3220da199335e42564cb7a9ad145; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< cc27e989a5dfdfcfc1cca7c3be27a0c7532b46cb; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 47e63077605c6c2aa45b3df9847a8cdc1f1f6ef9; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 440447699c681e26ed58e9c309cad718270a18b4; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 9fe74e42914c851d68069713b7b917a9c33faf26; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 99e22ddf4edb63dc8382bc028af928056d3450cf (cvelist)
- Linux: 3.9 (cvelist)

## Mitigation

- Upgrade Linux to 99e22ddf4edb63dc8382bc028af928056d3450cf or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64115. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64115.md
Affected: Linux >= d021c344051af91f42c5ba9fdedc176740cbd238, < 1e19f08552b90070ed18bafb1763c78297823af6; >= d021c344051af91f42c5ba9fdedc176740cbd238, < 1dd531e28f61edd286edc486ab068f135b5ae1eb; >= d021c344051af91f42c5ba9fdedc176740cbd238, < ecda37f8faab3220da199335e42564cb7a9ad145; >= d021c344051af91f42c5ba9…
Fixed in: Linux 1e19f08552b90070ed18bafb1763c78297823af6, Linux 1dd531e28f61edd286edc486ab068f135b5ae1eb, Linux 47e63077605c6c2aa45b3df9847a8cdc1f1f6ef9, Linux 440447699c681e26ed58e9c309cad718270a18b4, Linux 9fe74e42914c851d68069713b7b917a9c33faf26, Linux 99e22ddf4edb63dc8382bc028af928056d3450cf

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64115 being exploited?

There is no confirmed exploitation: CVE-2026-64115 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64115?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64115?

Linux \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 1e19f08552b90070ed18bafb1763c78297823af6; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 1dd531e28f61edd286edc486ab068f135b5ae1eb; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< ecda37f8faab3220da199335e42564cb7a9ad145; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< cc27e989a5dfdfcfc1cca7c3be27a0c7532b46cb; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 47e63077605c6c2aa45b3df9847a8cdc1f1f6ef9; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 440447699c681e26ed58e9c309cad718270a18b4; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 9fe74e42914c851d68069713b7b917a9c33faf26; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 99e22ddf4edb63dc8382bc028af928056d3450cf; Linux 3.9.

### Is there a fix for CVE-2026-64115?

Yes. Fixed in Linux 1e19f08552b90070ed18bafb1763c78297823af6, Linux 1dd531e28f61edd286edc486ab068f135b5ae1eb, Linux 47e63077605c6c2aa45b3df9847a8cdc1f1f6ef9, Linux 440447699c681e26ed58e9c309cad718270a18b4, Linux 9fe74e42914c851d68069713b7b917a9c33faf26, Linux 99e22ddf4edb63dc8382bc028af928056d3450cf. Upgrade Linux to 99e22ddf4edb63dc8382bc028af928056d3450cf or later.

### How do I check if I'm affected by CVE-2026-64115?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/1e19f08552b90070ed18bafb1763c78297823af6>
- patch: <https://git.kernel.org/stable/c/1dd531e28f61edd286edc486ab068f135b5ae1eb>
- patch: <https://git.kernel.org/stable/c/ecda37f8faab3220da199335e42564cb7a9ad145>
- patch: <https://git.kernel.org/stable/c/cc27e989a5dfdfcfc1cca7c3be27a0c7532b46cb>
- patch: <https://git.kernel.org/stable/c/47e63077605c6c2aa45b3df9847a8cdc1f1f6ef9>
- patch: <https://git.kernel.org/stable/c/440447699c681e26ed58e9c309cad718270a18b4>
- patch: <https://git.kernel.org/stable/c/9fe74e42914c851d68069713b7b917a9c33faf26>
- patch: <https://git.kernel.org/stable/c/99e22ddf4edb63dc8382bc028af928056d3450cf>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64115>

HTML: <https://flawdb.com/CVE-2026-64115> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64115>
