CVE-2026-143281: nvmet-rdma: disconnect a queue on device removal

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

nvmet-rdma: disconnect a queue on device removal

cmaremoveone() sends DEVICEREMOVAL to the owner of every cmid on the device and then waits, without timeout, until they're all destroyed. nvmetrdmadeviceremoval() does nothing for a queue cmid and leaves the queues to nvmetrdmaremoveone(), which only works if that runs first. As a module it does, nvmet-rdma registers after rdmacm. Built in, both register at the same initcall level and drivers/Makefile lists nvme/ ahead of infiniband/, so cmaremoveone() runs first and waits for cmids that only the later callback would destroy. Since the RDMA CM drops all later events for a cmid once it has sent DEVICEREMOVAL, a peer closing its connection doesn't help either. One connection from anyone who can reach the port hangs "rdma link delete" until something else ends the queue.

Call nvmetrdmaqueuedisconnect() for the queue. It unlists the queue and queues the release work, which destroys the cmid. Don't wait for it, rdmadestroyid() waits for the handler to return, which was the deadlock before commit f1d4ef7d8883.

Affected Software

6 affected componentsFixes available
Linux Linux kernel
linux/kernel>=4.13.0<5.10.276
5.10.276
linux/kernel>=5.11.0<5.15.227
5.15.227
linux/kernel>=5.16.0<6.12.120
6.12.120
linux/kernel>=6.13.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.7
7.3.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.10.276
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.227
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.120
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.66
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.7
  6. Compensating control

    In nvmet_rdma_device_removal(), call nvmet_rdma_queue_disconnect() for the queue.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:21 AM
Data Sourced
via MITRE·09:21 AM
Description
Data Sourced
via OSV·09:21 AM
DescriptionAffected Software
Data Sourced
via NVD·10:18 AM
Description

Frequently Asked Questions

1

Who is exposed to this issue?

Systems using the Linux kernel's NVMe target RDMA transport are exposed when an RDMA device is removed while it has an active queue connection. A party able to reach the NVMe-RDMA port can create the connection that triggers the hang.

2

What is the operational impact?

Removing the RDMA link can hang indefinitely because RDMA CM waits for queue cm_ids to be destroyed. Closing the peer connection after DEVICE_REMOVAL does not resolve the hang, because later events for that cm_id are dropped.

3

Are built-in and module configurations affected in the same way?

The problematic ordering is described for built-in configurations, where nvmet-rdma and rdma_cm register at the same initcall level and NVMe initialization precedes InfiniBand. When nvmet-rdma is a module, it registers after rdma_cm, so its removal callback runs first.

4

What change resolves the deadlock?

The fix disconnects the affected queue during device removal using nvmet_rdma_queue_disconnect(). This unlists the queue and schedules release work to destroy its cm_id without waiting in the device-removal callback.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203