vsock: treat TCP_CLOSING as once-established
Summary
| CVE | CVE-2026-99213 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-28 11:17:42 UTC |
| Updated | 2026-10-31 13:17:59 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.001710000 probability, percentile 0.064420000 (date 2026-10-31)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected d021c344051af91f42c5ba9fdedc176740cbd238 ea36ef3c229d54b552432d1290aee1d807f67fd5 git | Not specified |
| CNA | Linux | Linux | affected d021c344051af91f42c5ba9fdedc176740cbd238 5f2ab77028602a22f0cc33cac063a313787cbeae git | Not specified |
| CNA | Linux | Linux | affected d021c344051af91f42c5ba9fdedc176740cbd238 f89770c7365748d9d6a2ae07d1c23497ca21ec07 git | Not specified |
| CNA | Linux | Linux | affected d021c344051af91f42c5ba9fdedc176740cbd238 deb972c7eea8d0bc3109c35c30a1c86d4939f811 git | Not specified |
| CNA | Linux | Linux | affected d021c344051af91f42c5ba9fdedc176740cbd238 baf1b5715640e434249ce7f63f94bd1a00938ef9 git | Not specified |
| CNA | Linux | Linux | affected d021c344051af91f42c5ba9fdedc176740cbd238 c2c5359ef2c33684fa3f3652fd761a483db8d1e7 git | Not specified |
| CNA | Linux | Linux | affected d021c344051af91f42c5ba9fdedc176740cbd238 44d1ca05d6094a5d75c671a0545249186d790b8d git | Not specified |
| CNA | Linux | Linux | affected d021c344051af91f42c5ba9fdedc176740cbd238 4f6ac74fa594a918d41255c941256e1d51592d3b git | Not specified |
| CNA | Linux | Linux | affected 3.9 | Not specified |
| CNA | Linux | Linux | unaffected 3.9 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.273 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.224 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.191 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.161 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.115 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.59 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2.13 7.2.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/baf1b5715640e434249ce7f63f94bd1a00938ef9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/ea36ef3c229d54b552432d1290aee1d807f67fd5 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/44d1ca05d6094a5d75c671a0545249186d790b8d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/4f6ac74fa594a918d41255c941256e1d51592d3b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/deb972c7eea8d0bc3109c35c30a1c86d4939f811 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/5f2ab77028602a22f0cc33cac063a313787cbeae | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/f89770c7365748d9d6a2ae07d1c23497ca21ec07 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/c2c5359ef2c33684fa3f3652fd761a483db8d1e7 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.