Shellfeed logo Shellfeed

CVE-2026-89534 · HIGH (CVSS 8.8)

Summary: svcrdma: Clear sc_cm_id when ADDR_CHANGE replacement fails

Details

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.

Severity

HIGH (CVSS 8.8) — vector CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [d1b586e75ec619dde1af47e21a41a6b1b51874c2 – 2a68aeb2de8ad0fef9c50e73a50622a35c6af1a8] [6.1.191 – 6.2] [6.6.160 – 6.7] [2f84d6e8b0a7093758d8da19cec111140e7b6d41 – ?] [5cd069ad1cf7fb46af31f0dbe2850868335f5272 – ?]
  • Linux Kernel [6.11.0 – 6.12.114] [6.13.0 – 6.18.57] [6.19.0 – 7.2.4]

References