# CVE-2026-99213: vsock: treat TCP\_CLOSING as once-established

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; 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.18% (percentile 4, 2026-11-26)
- **Published:** 2026-10-28T10:36:06.441Z
- **Modified:** 2026-10-31T13:17:59.610Z

## Who should check

- Anyone running Linux \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< ea36ef3c229d54b552432d1290aee1d807f67fd5; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 5f2ab77028602a22f0cc33cac063a313787cbeae; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< f89770c7365748d9d6a2ae07d1c23497ca21ec07; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< deb972c7eea8d0bc3109c35c30a1c86d4939f811; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< baf1b5715640e434249ce7f63f94bd1a00938ef9; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< c2c5359ef2c33684fa3f3652fd761a483db8d1e7; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 44d1ca05d6094a5d75c671a0545249186d790b8d; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 4f6ac74fa594a918d41255c941256e1d51592d3b
- Anyone running Linux 3.9

## Description

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

vsock: treat TCP\_CLOSING as once-established

Handle the TCP\_ESTABLISHED -\> TCP\_CLOSING transition on OP\_RST, which can
race with the connect loop. Immediately break and return 0 on
ESTABLISHED/CLOSING. The return value of connect() should reflect what
happened up to the point the connection was established or failed. Events
that occur afterwards must not affect it. E.g. even if OP\_RW has already
set sk\_err, connect() should still return 0, not ENOBUFS because of it.
Adapt the inaccurate comment above signal\_pending().

Resetting a socket that is still present in connected\_table can lead to
memory corruption. The reporter noted lost transports for in-flight skbs,
and I have reproduced crashes caused by re-insertion into connected\_table.

  list\_add double add: new=, prev=, next=.
  kernel BUG at lib/list\_debug.c:35!
  Oops: invalid opcode: 0000 \[\#1\] SMP KASAN NOPTI
  Workqueue: vsock-loopback vsock\_loopback\_work
  RIP: 0010:\_\_list\_add\_valid\_or\_report+0x11f/0x130
  Call Trace:
   vsock\_insert\_connected.cold+0xe/0x13
   virtio\_transport\_recv\_pkt+0x10e9/0x1460
   vsock\_loopback\_work+0x305/0x480
   process\_one\_work+0xe4c/0x1560
   worker\_thread+0x4f1/0xd60
   kthread+0x36e/0x470
   ret\_from\_fork+0x47b/0x6b0
   ret\_from\_fork\_asm+0x1a/0x30

This fix is supplementary to commit 002541ef650b ("vsock: Ignore
signal/timeout on connect() if already established"). Details under Link.

## Affected and fixed versions

- Linux: \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< ea36ef3c229d54b552432d1290aee1d807f67fd5; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 5f2ab77028602a22f0cc33cac063a313787cbeae; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< f89770c7365748d9d6a2ae07d1c23497ca21ec07; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< deb972c7eea8d0bc3109c35c30a1c86d4939f811; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< baf1b5715640e434249ce7f63f94bd1a00938ef9; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< c2c5359ef2c33684fa3f3652fd761a483db8d1e7; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 44d1ca05d6094a5d75c671a0545249186d790b8d; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 4f6ac74fa594a918d41255c941256e1d51592d3b (cvelist)
- Linux: 3.9 (cvelist)

## Mitigation

- Upgrade Linux to 4f6ac74fa594a918d41255c941256e1d51592d3b 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-99213. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99213.md
Affected: Linux >= d021c344051af91f42c5ba9fdedc176740cbd238, < ea36ef3c229d54b552432d1290aee1d807f67fd5; >= d021c344051af91f42c5ba9fdedc176740cbd238, < 5f2ab77028602a22f0cc33cac063a313787cbeae; >= d021c344051af91f42c5ba9fdedc176740cbd238, < f89770c7365748d9d6a2ae07d1c23497ca21ec07; >= d021c344051af91f42c5ba9…
Fixed in: Linux 5f2ab77028602a22f0cc33cac063a313787cbeae, Linux 44d1ca05d6094a5d75c671a0545249186d790b8d, Linux 4f6ac74fa594a918d41255c941256e1d51592d3b

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-99213 being exploited?

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

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

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

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

Linux \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< ea36ef3c229d54b552432d1290aee1d807f67fd5; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 5f2ab77028602a22f0cc33cac063a313787cbeae; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< f89770c7365748d9d6a2ae07d1c23497ca21ec07; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< deb972c7eea8d0bc3109c35c30a1c86d4939f811; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< baf1b5715640e434249ce7f63f94bd1a00938ef9; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< c2c5359ef2c33684fa3f3652fd761a483db8d1e7; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 44d1ca05d6094a5d75c671a0545249186d790b8d; \>= d021c344051af91f42c5ba9fdedc176740cbd238, \< 4f6ac74fa594a918d41255c941256e1d51592d3b; Linux 3.9.

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

Yes. Fixed in Linux 5f2ab77028602a22f0cc33cac063a313787cbeae, Linux 44d1ca05d6094a5d75c671a0545249186d790b8d, Linux 4f6ac74fa594a918d41255c941256e1d51592d3b. Upgrade Linux to 4f6ac74fa594a918d41255c941256e1d51592d3b or later.

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

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

- other: <https://git.kernel.org/stable/c/ea36ef3c229d54b552432d1290aee1d807f67fd5>
- other: <https://git.kernel.org/stable/c/5f2ab77028602a22f0cc33cac063a313787cbeae>
- other: <https://git.kernel.org/stable/c/f89770c7365748d9d6a2ae07d1c23497ca21ec07>
- other: <https://git.kernel.org/stable/c/deb972c7eea8d0bc3109c35c30a1c86d4939f811>
- other: <https://git.kernel.org/stable/c/baf1b5715640e434249ce7f63f94bd1a00938ef9>
- other: <https://git.kernel.org/stable/c/c2c5359ef2c33684fa3f3652fd761a483db8d1e7>
- other: <https://git.kernel.org/stable/c/44d1ca05d6094a5d75c671a0545249186d790b8d>
- other: <https://git.kernel.org/stable/c/4f6ac74fa594a918d41255c941256e1d51592d3b>

## 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-99213>

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