{"id":"CVE-2026-99213","revision":"42b40794668f4316ad58827cb5a52d0e","records":[{"revision":"42b40794668f4316ad58827cb5a52d0e","observedAt":"2026-10-31T13:33:50.447+00:00","statement":{"source":"cve-program","id":"CVE-2026-99213","aliases":[],"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":0,"publishedAt":"2026-10-28T10:36:06.441+00:00","modifiedAt":"2026-10-31T12:45:10.38+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"net/vmw_vsock/af_vsock.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"d021c344051af91f42c5ba9fdedc176740cbd238\",\n                            \"lessThan\": \"ea36ef3c229d54b552432d1290aee1d807f67fd5\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d021c344051af91f42c5ba9fdedc176740cbd238\",\n                            \"lessThan\": \"5f2ab77028602a22f0cc33cac063a313787cbeae\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d021c344051af91f42c5ba9fdedc176740cbd238\",\n                            \"lessThan\": \"f89770c7365748d9d6a2ae07d1c23497ca21ec07\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d021c344051af91f42c5ba9fdedc176740cbd238\",\n                            \"lessThan\": \"deb972c7eea8d0bc3109c35c30a1c86d4939f811\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d021c344051af91f42c5ba9fdedc176740cbd238\",\n                            \"lessThan\": \"baf1b5715640e434249ce7f63f94bd1a00938ef9\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d021c344051af91f42c5ba9fdedc176740cbd238\",\n                            \"lessThan\": \"c2c5359ef2c33684fa3f3652fd761a483db8d1e7\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d021c344051af91f42c5ba9fdedc176740cbd238\",\n                            \"lessThan\": \"44d1ca05d6094a5d75c671a0545249186d790b8d\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d021c344051af91f42c5ba9fdedc176740cbd238\",\n                            \"lessThan\": \"4f6ac74fa594a918d41255c941256e1d51592d3b\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"net/vmw_vsock/af_vsock.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"3.9\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"3.9\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.10.273\",\n                            \"lessThanOrEqual\": \"5.10.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.15.224\",\n                            \"lessThanOrEqual\": \"5.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.191\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.161\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.115\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.59\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.13\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/ea36ef3c229d54b552432d1290aee1d807f67fd5","https://git.kernel.org/stable/c/5f2ab77028602a22f0cc33cac063a313787cbeae","https://git.kernel.org/stable/c/f89770c7365748d9d6a2ae07d1c23497ca21ec07","https://git.kernel.org/stable/c/deb972c7eea8d0bc3109c35c30a1c86d4939f811","https://git.kernel.org/stable/c/baf1b5715640e434249ce7f63f94bd1a00938ef9","https://git.kernel.org/stable/c/c2c5359ef2c33684fa3f3652fd761a483db8d1e7","https://git.kernel.org/stable/c/44d1ca05d6094a5d75c671a0545249186d790b8d","https://git.kernel.org/stable/c/4f6ac74fa594a918d41255c941256e1d51592d3b"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-99213","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-99213","identifiers":["CVE-2026-99213"]},"retained":false,"historicalAffected":[]}],"coverage":[]}