# CVE-2026-99212: net/rds: don't let the rdma_cm destroy an id RDS still owns on route failure

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-10-28T10:36:05.612Z
- Modified: 2026-10-31T13:17:59.453Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/rds: don't let the rdma_cm destroy an id RDS still owns on route failure

rds_rdma_cm_event_handler_cmn() hands the return value of
rdma_resolve_route() straight back to the rdma_cm on
RDMA_CM_EVENT_ADDR_RESOLVED.  A synchronous failure there - -ENOMEM
from the route work allocation, an SA query that cannot be set up, a
RoCE route with no usable device - makes addr_handler() destroy the
id the event was delivered on.  That id is ic->i_cm_id, and nothing
clears the pointer: the connection sits in RDS_CONN_CONNECTING with a
freed id until its shutdown calls rdma_disconnect() and
rdma_destroy_id() on it.

The ROUTE_RESOLVED case already avoids this: rds_ib_cm_initiate_connect()
forces a zero return while ic->i_cm_id == cm_id, as the comment there
explains.  Do the same here - drop the connection and return 0 - so
the id stays RDS's to destroy from the shutdown, and the reconnect
gets a fresh one.

(As written by CVE List.)

## Affected

- Linux Linux: from 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea before 664fd3205cbec71ac52c005ee705cd917bb6fb1a; from 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea before b8f141f65885810e24fc23b8a71692db62d535bf; from 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea before e677eda15df7d5ce256654343418043c7ffd6f9b; from 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea before 92143c5d80382588d5a3047a4f14023ee9ef6485; from 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea before a7c7d0ff876377fea7ae876a28d6df8d9349df57; from 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea before 91ece3efa064f0b3b3c67b9b045d9eeb4a034e43; from 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea before 98d446b7c013254a8a7b49720557676a3a851fde; 2.6.30 (not affected: before 2.6.30; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.161 up to 6.6.*; from 6.12.115 up to 6.12.*; from 6.18.59 up to 6.18.*; from 7.2.13 up to 7.2.*; from 7.3 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-99212](https://www.cve.org/CVERecord?id=CVE-2026-99212), CVE Terms of Use, modified 2026-10-31
- NVD: [CVE-2026-99212](https://nvd.nist.gov/vuln/detail/CVE-2026-99212), Public domain, modified 2026-10-31

---

Page: https://cve.day/CVE-2026-99212 · Whole record: https://cve.day/CVE-2026-99212.json · Rebuilt by cve.day 2026-11-25T22:59:47.602Z
