CVE-2026-143281
not scored yetnvmet-rdma: disconnect a queue on device removal
In the Linux kernel, the following vulnerability has been resolved:
nvmet-rdma: disconnect a queue on device removal
cma_remove_one() sends DEVICE_REMOVAL to the owner of every cm_id on
the device and then waits, without timeout, until they're all
destroyed. nvmet_rdma_device_removal() does nothing for a queue cm_id
and leaves the queues to nvmet_rdma_remove_one(), which only works if
that runs first. As a module it does, nvmet-rdma registers after
rdma_cm. Built in, both register at the same initcall level and
drivers/Makefile lists nvme/ ahead of infiniband/, so cma_remove_one()
runs first and waits for cm_ids that only the later callback would
destroy. Since the RDMA CM drops all later events for a cm_id once it
has sent DEVICE_REMOVAL, 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 nvmet_rdma_queue_disconnect() for the queue. It unlists the queue
and queues the release work, which destroys the cm_id. Don't wait for
it, rdma_destroy_id() waits for the handler to return, which was the
deadlock before commit f1d4ef7d8883.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= f1d4ef7d88832444e8dfeb0e85e19d3b6ecb5011, < ded70db6ca5f998b6efcb0750d0bd7bc7d147f66; >= f1d4ef7d88832444e8dfeb0e85e19d3b6ecb5011, < 386fe3612a73e7214c2c3deff2d41ff597613f3c; >= f1d4ef7d88832444e8dfeb0e85e19d3b6ecb5011, < 214fbe97702b258d19f16768b9f9c41dec3e52a3; >= f1d4ef7d88832444e8dfeb0e85e19d3b6ecb5011, < 3e048e411f2c638adfac1291775be3becd90222a; >= f1d4ef7d88832444e8dfeb0e85e19d3b6ecb5011, < 157964fe20203b4f0b88afdd3a83c278143728f5; >= f1d4ef7d88832444e8dfeb0e85e19d3b6ecb5011, < a4387799d4228866dc1746b466cd17e1c638d050 | ded70db6ca5f998b6efcb0750d0bd7bc7d147f66, 386fe3612a73e7214c2c3deff2d41ff597613f3c, 214fbe97702b258d19f16768b9f9c41dec3e52a3, 3e048e411f2c638adfac1291775be3becd90222a, 157964fe20203b4f0b88afdd3a83c278143728f5, a4387799d4228866dc1746b466cd17e1c638d050 |
| CVE List | Linux | Linux | = 4.13 |
References
- https://git.kernel.org/stable/c/157964fe20203b4f0b88afdd3a83c278143728f5
- https://git.kernel.org/stable/c/214fbe97702b258d19f16768b9f9c41dec3e52a3
- https://git.kernel.org/stable/c/386fe3612a73e7214c2c3deff2d41ff597613f3c
- https://git.kernel.org/stable/c/3e048e411f2c638adfac1291775be3becd90222a
- https://git.kernel.org/stable/c/a4387799d4228866dc1746b466cd17e1c638d050
- https://git.kernel.org/stable/c/ded70db6ca5f998b6efcb0750d0bd7bc7d147f66
History
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:08 UTC · CVE List: first stored (published 3 Dec 2026)