AZL-118484: CVE-2026-143281 affecting package kernel 6.6.161.1-1
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch f1d4ef7d8883
Event History
Frequently Asked Questions
What deployment condition makes this issue reachable?
The affected system must be using the nvmet-rdma target functionality with an RDMA-reachable port. The deadlock is specifically described for the built-in configuration, where nvmet-rdma and rdma_cm initialize at the same initcall level; module loading follows a different registration order.
What does an attacker need to do to trigger the hang?
A single connection from any party able to reach the RDMA port can leave a queue cm_id present. When the RDMA device is then removed, such as through "rdma link delete", processing can wait indefinitely for that cm_id to be destroyed.
Can the peer resolve the condition by closing its connection?
No. After RDMA CM sends DEVICE_REMOVAL for a cm_id, it drops subsequent events for that ID, so a peer closing the connection does not resolve the blocked removal.
How can administrators recognize an affected system during an incident?
A key symptom is that "rdma link delete" hangs during RDMA device removal. The hang persists while cma_remove_one() waits for queue cm_ids that have not been disconnected and destroyed.