{"api_version":"1","generated_at":"2026-11-01T09:41:06+00:00","cve":"CVE-2026-99213","urls":{"html":"https://cve.report/CVE-2026-99213","api":"https://cve.report/api/cve/CVE-2026-99213.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99213","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99213"},"summary":{"title":"vsock: treat TCP_CLOSING as once-established","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock: treat TCP_CLOSING as once-established\n\nHandle the TCP_ESTABLISHED -> TCP_CLOSING transition on OP_RST, which can\nrace with the connect loop. Immediately break and return 0 on\nESTABLISHED/CLOSING. The return value of connect() should reflect what\nhappened up to the point the connection was established or failed. Events\nthat occur afterwards must not affect it. E.g. even if OP_RW has already\nset sk_err, connect() should still return 0, not ENOBUFS because of it.\nAdapt the inaccurate comment above signal_pending().\n\nResetting a socket that is still present in connected_table can lead to\nmemory corruption. The reporter noted lost transports for in-flight skbs,\nand I have reproduced crashes caused by re-insertion into connected_table.\n\n  list_add double add: new=, prev=, next=.\n  kernel BUG at lib/list_debug.c:35!\n  Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI\n  Workqueue: vsock-loopback vsock_loopback_work\n  RIP: 0010:__list_add_valid_or_report+0x11f/0x130\n  Call Trace:\n   vsock_insert_connected.cold+0xe/0x13\n   virtio_transport_recv_pkt+0x10e9/0x1460\n   vsock_loopback_work+0x305/0x480\n   process_one_work+0xe4c/0x1560\n   worker_thread+0x4f1/0xd60\n   kthread+0x36e/0x470\n   ret_from_fork+0x47b/0x6b0\n   ret_from_fork_asm+0x1a/0x30\n\nThis fix is supplementary to commit 002541ef650b (\"vsock: Ignore\nsignal/timeout on connect() if already established\"). Details under Link.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-28 11:17:42","updated_at":"2026-10-31 13:17:59"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/baf1b5715640e434249ce7f63f94bd1a00938ef9","name":"https://git.kernel.org/stable/c/baf1b5715640e434249ce7f63f94bd1a00938ef9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ea36ef3c229d54b552432d1290aee1d807f67fd5","name":"https://git.kernel.org/stable/c/ea36ef3c229d54b552432d1290aee1d807f67fd5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/44d1ca05d6094a5d75c671a0545249186d790b8d","name":"https://git.kernel.org/stable/c/44d1ca05d6094a5d75c671a0545249186d790b8d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4f6ac74fa594a918d41255c941256e1d51592d3b","name":"https://git.kernel.org/stable/c/4f6ac74fa594a918d41255c941256e1d51592d3b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/deb972c7eea8d0bc3109c35c30a1c86d4939f811","name":"https://git.kernel.org/stable/c/deb972c7eea8d0bc3109c35c30a1c86d4939f811","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5f2ab77028602a22f0cc33cac063a313787cbeae","name":"https://git.kernel.org/stable/c/5f2ab77028602a22f0cc33cac063a313787cbeae","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f89770c7365748d9d6a2ae07d1c23497ca21ec07","name":"https://git.kernel.org/stable/c/f89770c7365748d9d6a2ae07d1c23497ca21ec07","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c2c5359ef2c33684fa3f3652fd761a483db8d1e7","name":"https://git.kernel.org/stable/c/c2c5359ef2c33684fa3f3652fd761a483db8d1e7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99213","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99213","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d021c344051af91f42c5ba9fdedc176740cbd238 ea36ef3c229d54b552432d1290aee1d807f67fd5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d021c344051af91f42c5ba9fdedc176740cbd238 5f2ab77028602a22f0cc33cac063a313787cbeae git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d021c344051af91f42c5ba9fdedc176740cbd238 f89770c7365748d9d6a2ae07d1c23497ca21ec07 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d021c344051af91f42c5ba9fdedc176740cbd238 deb972c7eea8d0bc3109c35c30a1c86d4939f811 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d021c344051af91f42c5ba9fdedc176740cbd238 baf1b5715640e434249ce7f63f94bd1a00938ef9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d021c344051af91f42c5ba9fdedc176740cbd238 c2c5359ef2c33684fa3f3652fd761a483db8d1e7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d021c344051af91f42c5ba9fdedc176740cbd238 44d1ca05d6094a5d75c671a0545249186d790b8d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d021c344051af91f42c5ba9fdedc176740cbd238 4f6ac74fa594a918d41255c941256e1d51592d3b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.9","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.9 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.273 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.224 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.191 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.161 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.115 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.59 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.13 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"99213","cve":"CVE-2026-99213","epss":"0.001710000","percentile":"0.064420000","score_date":"2026-10-31","updated_at":"2026-11-01 00:01:49"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/vmw_vsock/af_vsock.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"ea36ef3c229d54b552432d1290aee1d807f67fd5","status":"affected","version":"d021c344051af91f42c5ba9fdedc176740cbd238","versionType":"git"},{"lessThan":"5f2ab77028602a22f0cc33cac063a313787cbeae","status":"affected","version":"d021c344051af91f42c5ba9fdedc176740cbd238","versionType":"git"},{"lessThan":"f89770c7365748d9d6a2ae07d1c23497ca21ec07","status":"affected","version":"d021c344051af91f42c5ba9fdedc176740cbd238","versionType":"git"},{"lessThan":"deb972c7eea8d0bc3109c35c30a1c86d4939f811","status":"affected","version":"d021c344051af91f42c5ba9fdedc176740cbd238","versionType":"git"},{"lessThan":"baf1b5715640e434249ce7f63f94bd1a00938ef9","status":"affected","version":"d021c344051af91f42c5ba9fdedc176740cbd238","versionType":"git"},{"lessThan":"c2c5359ef2c33684fa3f3652fd761a483db8d1e7","status":"affected","version":"d021c344051af91f42c5ba9fdedc176740cbd238","versionType":"git"},{"lessThan":"44d1ca05d6094a5d75c671a0545249186d790b8d","status":"affected","version":"d021c344051af91f42c5ba9fdedc176740cbd238","versionType":"git"},{"lessThan":"4f6ac74fa594a918d41255c941256e1d51592d3b","status":"affected","version":"d021c344051af91f42c5ba9fdedc176740cbd238","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/vmw_vsock/af_vsock.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.9"},{"lessThan":"3.9","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.273","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.224","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.191","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.161","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.115","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.59","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.13","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.273","versionStartIncluding":"3.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.224","versionStartIncluding":"3.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.191","versionStartIncluding":"3.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.161","versionStartIncluding":"3.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.115","versionStartIncluding":"3.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.59","versionStartIncluding":"3.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.13","versionStartIncluding":"3.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"3.9","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock: treat TCP_CLOSING as once-established\n\nHandle the TCP_ESTABLISHED -> TCP_CLOSING transition on OP_RST, which can\nrace with the connect loop. Immediately break and return 0 on\nESTABLISHED/CLOSING. The return value of connect() should reflect what\nhappened up to the point the connection was established or failed. Events\nthat occur afterwards must not affect it. E.g. even if OP_RW has already\nset sk_err, connect() should still return 0, not ENOBUFS because of it.\nAdapt the inaccurate comment above signal_pending().\n\nResetting a socket that is still present in connected_table can lead to\nmemory corruption. The reporter noted lost transports for in-flight skbs,\nand I have reproduced crashes caused by re-insertion into connected_table.\n\n  list_add double add: new=, prev=, next=.\n  kernel BUG at lib/list_debug.c:35!\n  Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI\n  Workqueue: vsock-loopback vsock_loopback_work\n  RIP: 0010:__list_add_valid_or_report+0x11f/0x130\n  Call Trace:\n   vsock_insert_connected.cold+0xe/0x13\n   virtio_transport_recv_pkt+0x10e9/0x1460\n   vsock_loopback_work+0x305/0x480\n   process_one_work+0xe4c/0x1560\n   worker_thread+0x4f1/0xd60\n   kthread+0x36e/0x470\n   ret_from_fork+0x47b/0x6b0\n   ret_from_fork_asm+0x1a/0x30\n\nThis fix is supplementary to commit 002541ef650b (\"vsock: Ignore\nsignal/timeout on connect() if already established\"). Details under Link."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - A local connect() on AF_VSOCK reaches the patched vsock_connect() through connect_socket() and vsock_stream_ops.connect; VMADDR_CID_LOCAL drives the response and reset through vsock_loopback_work(), not a routable network protocol.\nAC:L - The same attacker can operate both VMADDR_CID_LOCAL endpoints, deliver signals while connect() races with RESPONSE/RST processing, and retry connect() until the controlled window is hit.\nPR:L - vsock_create() and vsock_connect() impose no capability check, and vsock_auto_bind() selects an unreserved port; CAP_NET_BIND_SERVICE is checked only for an explicit port at or below LAST_RESERVED_PORT.\nUI:N - The attacker's own threads perform socket creation, connect, peer reset, signal delivery, and reconnection without any action by another user.\nS:U - The corrupted connected_table and transport state belong to the same kernel reached by the local AF_VSOCK caller; this path does not cross a guest-host, IOMMU, or other security authority boundary.\nC:H - A transport-changing reconnect reaches vsock_deassign_transport() and virtio_transport_destruct(), freeing vsk->trans while virtio_transport_consume_skb_sent() can retain and dereference it for an in-flight skb; this heap use-after-free can expose reclaimed kernel contents.\nI:H - A same-transport reconnect passes the already-linked connected_table node to vsock_insert_connected() and list_add(), while the transport-change path can modify a freed virtio_vsock_sock through bytes_unsent; these corruptions support heap grooming and control-flow hijacking.\nA:H - The demonstrated re-insertion reaches __list_add_valid_or_report() and its list_add double-add BUG, producing a kernel Oops from vsock_loopback_work(); the attacker can repeat the connection sequence."}]}],"providerMetadata":{"dateUpdated":"2026-10-31T12:45:10.380Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/ea36ef3c229d54b552432d1290aee1d807f67fd5"},{"url":"https://git.kernel.org/stable/c/5f2ab77028602a22f0cc33cac063a313787cbeae"},{"url":"https://git.kernel.org/stable/c/f89770c7365748d9d6a2ae07d1c23497ca21ec07"},{"url":"https://git.kernel.org/stable/c/deb972c7eea8d0bc3109c35c30a1c86d4939f811"},{"url":"https://git.kernel.org/stable/c/baf1b5715640e434249ce7f63f94bd1a00938ef9"},{"url":"https://git.kernel.org/stable/c/c2c5359ef2c33684fa3f3652fd761a483db8d1e7"},{"url":"https://git.kernel.org/stable/c/44d1ca05d6094a5d75c671a0545249186d790b8d"},{"url":"https://git.kernel.org/stable/c/4f6ac74fa594a918d41255c941256e1d51592d3b"}],"title":"vsock: treat TCP_CLOSING as once-established","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99213","datePublished":"2026-10-28T10:36:06.441Z","dateReserved":"2026-09-25T10:25:14.401Z","dateUpdated":"2026-10-31T12:45:10.380Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-28 11:17:42","lastModifiedDate":"2026-10-31 13:17:59","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99213","Ordinal":"1","Title":"vsock: treat TCP_CLOSING as once-established","CVE":"CVE-2026-99213","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99213","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock: treat TCP_CLOSING as once-established\n\nHandle the TCP_ESTABLISHED -> TCP_CLOSING transition on OP_RST, which can\nrace with the connect loop. Immediately break and return 0 on\nESTABLISHED/CLOSING. The return value of connect() should reflect what\nhappened up to the point the connection was established or failed. Events\nthat occur afterwards must not affect it. E.g. even if OP_RW has already\nset sk_err, connect() should still return 0, not ENOBUFS because of it.\nAdapt the inaccurate comment above signal_pending().\n\nResetting a socket that is still present in connected_table can lead to\nmemory corruption. The reporter noted lost transports for in-flight skbs,\nand I have reproduced crashes caused by re-insertion into connected_table.\n\n  list_add double add: new=, prev=, next=.\n  kernel BUG at lib/list_debug.c:35!\n  Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI\n  Workqueue: vsock-loopback vsock_loopback_work\n  RIP: 0010:__list_add_valid_or_report+0x11f/0x130\n  Call Trace:\n   vsock_insert_connected.cold+0xe/0x13\n   virtio_transport_recv_pkt+0x10e9/0x1460\n   vsock_loopback_work+0x305/0x480\n   process_one_work+0xe4c/0x1560\n   worker_thread+0x4f1/0xd60\n   kthread+0x36e/0x470\n   ret_from_fork+0x47b/0x6b0\n   ret_from_fork_asm+0x1a/0x30\n\nThis fix is supplementary to commit 002541ef650b (\"vsock: Ignore\nsignal/timeout on connect() if already established\"). Details under Link.","Type":"Description","Title":"vsock: treat TCP_CLOSING as once-established"}]}}}