{"id":"CVE-2026-99212","aliases":["CVE-2026-99212"],"related":[],"kind":"vulnerability","state":"published","title":"net/rds: don't let the rdma_cm destroy an id RDS still owns on route failure","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-28T10:36:05.612Z","modified":"2026-10-31T13:17:59.453Z","severity":{"scorer":"Linux","scheme":"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,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"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,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea","fixed":"664fd3205cbec71ac52c005ee705cd917bb6fb1a","status":"affected"},{"type":"git","introduced":"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea","fixed":"b8f141f65885810e24fc23b8a71692db62d535bf","status":"affected"},{"type":"git","introduced":"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea","fixed":"e677eda15df7d5ce256654343418043c7ffd6f9b","status":"affected"},{"type":"git","introduced":"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea","fixed":"92143c5d80382588d5a3047a4f14023ee9ef6485","status":"affected"},{"type":"git","introduced":"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea","fixed":"a7c7d0ff876377fea7ae876a28d6df8d9349df57","status":"affected"},{"type":"git","introduced":"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea","fixed":"91ece3efa064f0b3b3c67b9b045d9eeb4a034e43","status":"affected"},{"type":"git","introduced":"55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea","fixed":"98d446b7c013254a8a7b49720557676a3a851fde","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.30","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.30","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.161","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.115","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.59","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.13","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/664fd3205cbec71ac52c005ee705cd917bb6fb1a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b8f141f65885810e24fc23b8a71692db62d535bf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e677eda15df7d5ce256654343418043c7ffd6f9b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/92143c5d80382588d5a3047a4f14023ee9ef6485","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a7c7d0ff876377fea7ae876a28d6df8d9349df57","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/91ece3efa064f0b3b3c67b9b045d9eeb4a034e43","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/98d446b7c013254a8a7b49720557676a3a851fde","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99212","url":"https://www.cve.org/CVERecord?id=CVE-2026-99212","licence":"CVE Terms of Use","modified":"2026-10-31T12:45:05.538Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99212","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99212","licence":"Public domain","modified":"2026-10-31T13:17:59.453Z"}],"updatedAt":"2026-11-25T22:59:47.602Z","epss":{"score":0.00153,"percentile":0.04646,"date":"2026-12-01T12:00:22.000Z"}}