svcrdma: Clear sc_cm_id when ADDR_CHANGE replacement fails
- CVE-2026-89534
- GHSA-9cv8-xv6f-2jmx
- EUVD-2026-76440
Description
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.
Text from the CVE.org record.
Affected
Linux
- from 6.1.191 to before 6.1.193
- from 6.6.160 to before 6.6.163
- 6.11
- before 6.11: not affected
- from 6.1.193 up to 6.1.*: not affected
- from 6.6.163 up to 6.6.*: not affected
- from 6.12.114 up to 6.12.*: not affected
- from 6.18.57 up to 6.18.*: not affected
- and 2 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.