7.0High

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

Linux Linux Published: (22 days ago)

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.

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Linux Linux 2.6.30
linux linux kernel 2.6.30 – < 5.15.224

Ubuntu fixes

  • USN-9173-1 Linux kernel vulnerabilities Ubuntu 24.04, 22.04 · 19.11.2026 · linux, linux-aws, linux-aws-fips, linux-gcp, linux-gcp-6.8, linux-gke,...
  • USN-9168-2 Linux kernel (FIPS) vulnerabilities Ubuntu 22.04 · 19.11.2026 · linux-fips, linux-gcp-fips
  • USN-9167-1 Linux kernel vulnerabilities Ubuntu 22.04, 20.04 · 19.11.2026 · linux, linux-aws, linux-gcp, linux-gcp-5.15, linux-gke, linux-gkeop,...
  • USN-9169-1 Linux kernel (AWS) vulnerabilities Ubuntu 20.04 · 19.11.2026 · linux-aws-5.15
  • USN-9168-1 Linux kernel vulnerabilities Ubuntu 22.04 · 19.11.2026 · linux-aws-fips, linux-kvm
  • USN-9166-1 Linux kernel vulnerabilities Ubuntu 26.04, 24.04 · 19.11.2026 · linux, linux-aws, linux-gcp, linux-gcp-7.0, linux-gke, linux-ibm,...

References and patches