{"id":"CVE-2026-99212","revision":"96a5fada4fa940cfa5448c6e507bb907","records":[{"revision":"96a5fada4fa940cfa5448c6e507bb907","observedAt":"2026-10-31T13:33:50.447+00:00","statement":{"source":"cve-program","id":"CVE-2026-99212","aliases":[],"title":"net/rds: don't let the rdma_cm destroy an id RDS still owns on route failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/rds: don't let the rdma_cm destroy an id RDS still owns on route failure\n\nrds_rdma_cm_event_handler_cmn() hands the return value of\nrdma_resolve_route() straight back to the rdma_cm on\nRDMA_CM_EVENT_ADDR_RESOLVED.  A synchronous failure there - -ENOMEM\nfrom the route work allocation, an SA query that cannot be set up, a\nRoCE route with no usable device - makes addr_handler() destroy the\nid the event was delivered on.  That id is ic->i_cm_id, and nothing\nclears the pointer: the connection sits in RDS_CONN_CONNECTING with a\nfreed id until its shutdown calls rdma_disconnect() and\nrdma_destroy_id() on it.\n\nThe ROUTE_RESOLVED case already avoids this: rds_ib_cm_initiate_connect()\nforces a zero return while ic->i_cm_id == cm_id, as the comment there\nexplains.  Do the same here - drop the connection and return 0 - so\nthe id stays RDS's to destroy from the shutdown, and the reconnect\ngets a fresh one.","state":0,"publishedAt":"2026-10-28T10:36:05.612+00:00","modifiedAt":"2026-10-31T12:45:05.538+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/rds/rdma_transport.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea\",\n                            \"lessThan\": \"664fd3205cbec71ac52c005ee705cd917bb6fb1a\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea\",\n                            \"lessThan\": \"b8f141f65885810e24fc23b8a71692db62d535bf\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea\",\n                            \"lessThan\": \"e677eda15df7d5ce256654343418043c7ffd6f9b\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea\",\n                            \"lessThan\": \"92143c5d80382588d5a3047a4f14023ee9ef6485\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea\",\n                            \"lessThan\": \"a7c7d0ff876377fea7ae876a28d6df8d9349df57\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea\",\n                            \"lessThan\": \"91ece3efa064f0b3b3c67b9b045d9eeb4a034e43\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea\",\n                            \"lessThan\": \"98d446b7c013254a8a7b49720557676a3a851fde\",\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/rds/rdma_transport.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"2.6.30\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"2.6.30\",\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:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/664fd3205cbec71ac52c005ee705cd917bb6fb1a","https://git.kernel.org/stable/c/b8f141f65885810e24fc23b8a71692db62d535bf","https://git.kernel.org/stable/c/e677eda15df7d5ce256654343418043c7ffd6f9b","https://git.kernel.org/stable/c/92143c5d80382588d5a3047a4f14023ee9ef6485","https://git.kernel.org/stable/c/a7c7d0ff876377fea7ae876a28d6df8d9349df57","https://git.kernel.org/stable/c/91ece3efa064f0b3b3c67b9b045d9eeb4a034e43","https://git.kernel.org/stable/c/98d446b7c013254a8a7b49720557676a3a851fde"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-99212","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-99212","identifiers":["CVE-2026-99212"]},"retained":false,"historicalAffected":[]}],"coverage":[]}