CVE-2026-143282: nvmet-rdma: queue the release work under the mutex
In the Linux kernel, the following vulnerability has been resolved:
nvmet-rdma: queue the release work under the mutex
nvmetrdmaremoveone() takes the queue mutex, unlists each queue of the device and queues its release work, then flushes nvmet-wq. So a queue that still holds objects on the device must either be on the list or have its release work queued. nvmetrdmaqueuedisconnect() breaks that: it unlists the queue under the mutex, drops it, and only then calls nvmetrdmaqueuedisconnect() to queue the work. A device removal in that window finds nothing to wait for, and the release work then destroys the QP and CQ share on a freed device.
Queue the work before dropping the mutex, as nvmetrdmaremoveone() itself does. That's safe now that rdmadisconnect() no longer sleeps on an iWARP event that needs the same mutex.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.276 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.227 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
In nvmet-rdma, queue the queue's release work while holding the queue mutex, before dropping it.
Event History
Frequently Asked Questions
What conditions are required for this issue to occur?
The race requires an NVMe-over-RDMA queue disconnect to overlap with removal of the associated RDMA device. The disconnect path can remove a queue from the device list before its release work is queued, allowing device removal to complete without waiting for that work.
What is the consequence if the race is triggered?
The queued release work can subsequently destroy queue-pair and completion-queue resources that reference an already freed device. This is a use-after-free condition in the Linux kernel's nvmet-rdma component.
How can this be mitigated if an update cannot be applied immediately?
The provided information identifies the vulnerable scenario as concurrent NVMe-over-RDMA queue disconnection and RDMA device removal. Avoiding or coordinating those operations reduces exposure, but no specific configuration workaround is provided.