CVE-2026-99212

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

State
Published
Severity
Not scored
Published
Oct 28, 2026
Updated
Oct 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea to before 664fd3205cbec71ac52c005ee705cd917bb6fb1aAffected
  • 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea to before b8f141f65885810e24fc23b8a71692db62d535bfAffected
  • 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea to before e677eda15df7d5ce256654343418043c7ffd6f9bAffected
  • 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea to before 92143c5d80382588d5a3047a4f14023ee9ef6485Affected
  • 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea to before a7c7d0ff876377fea7ae876a28d6df8d9349df57Affected
  • 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea to before 91ece3efa064f0b3b3c67b9b045d9eeb4a034e43Affected
  • 55b7ed0b582f9ff4bf3b9b44969cddda8c6763ea to before 98d446b7c013254a8a7b49720557676a3a851fdeAffected
LinuxLinux
  • 2.6.30Affected
  • before 2.6.30Not affected
  • 5.15.224 through 5.15.*Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.161 through 6.6.*Not affected
  • 6.12.115 through 6.12.*Not affected
  • 6.18.59 through 6.18.*Not affected
  • 7.2.13 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.