Skip to main content
← All vulnerabilities
CVE-2026-89534

svcrdma: Clear sc_cm_id when ADDR_CHANGE replacement fails

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.2, 6.7, 6.12.114, 6.18.57, 7.2.4
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: svcrdma: Clear sc_cm_id when ADDR_CHANGE replacement fails When svc_rdma_listen_handler() handles RDMA_CM_EVENT_ADDR_CHANGE, it creates a replacement listener cm_id and returns 1, telling the CM core to destroy the old one. If the replacement allocation fails, sc_cm_id still points at the old cm_id that the CM core is about to destroy. Any subsequent dereference of sc_cm_id -- such as svc_rdma_detach()'s rdma_disconnect() call -- is a use-after-free. NULL sc_cm_id on the failure path and guard svc_rdma_detach()'s rdma_disconnect() call against NULL so that the listener can be torn down safely when the server shuts down.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 6.1.191 · fixed in 6.2; From 6.6.160 · fixed in 6.7

  • Linux Linux

    6.11

  • KernelLinux

    From 6.11.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.18.57; From 6.19.0 · fixed in 7.2.4

References 4

git.kernel.org