{"id":"CVE-2026-143281","summary":"nvmet-rdma: disconnect a queue on device removal","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-rdma: disconnect a queue on device removal\n\ncma_remove_one() sends DEVICE_REMOVAL to the owner of every cm_id on\nthe device and then waits, without timeout, until they're all\ndestroyed. nvmet_rdma_device_removal() does nothing for a queue cm_id\nand leaves the queues to nvmet_rdma_remove_one(), which only works if\nthat runs first. As a module it does, nvmet-rdma registers after\nrdma_cm. Built in, both register at the same initcall level and\ndrivers/Makefile lists nvme/ ahead of infiniband/, so cma_remove_one()\nruns first and waits for cm_ids that only the later callback would\ndestroy. Since the RDMA CM drops all later events for a cm_id once it\nhas sent DEVICE_REMOVAL, a peer closing its connection doesn't help\neither. One connection from anyone who can reach the port hangs \"rdma\nlink delete\" until something else ends the queue.\n\nCall nvmet_rdma_queue_disconnect() for the queue. It unlists the queue\nand queues the release work, which destroys the cm_id. Don't wait for\nit, rdma_destroy_id() waits for the handler to return, which was the\ndeadlock before commit f1d4ef7d8883.","modified":"2026-12-03T11:01:54.141923230Z","published":"2026-12-03T09:21:19.685Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143281.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/157964fe20203b4f0b88afdd3a83c278143728f5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/214fbe97702b258d19f16768b9f9c41dec3e52a3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/386fe3612a73e7214c2c3deff2d41ff597613f3c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3e048e411f2c638adfac1291775be3becd90222a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a4387799d4228866dc1746b466cd17e1c638d050"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ded70db6ca5f998b6efcb0750d0bd7bc7d147f66"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143281.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143281"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f1d4ef7d88832444e8dfeb0e85e19d3b6ecb5011"},{"fixed":"ded70db6ca5f998b6efcb0750d0bd7bc7d147f66"},{"fixed":"386fe3612a73e7214c2c3deff2d41ff597613f3c"},{"fixed":"214fbe97702b258d19f16768b9f9c41dec3e52a3"},{"fixed":"3e048e411f2c638adfac1291775be3becd90222a"},{"fixed":"157964fe20203b4f0b88afdd3a83c278143728f5"},{"fixed":"a4387799d4228866dc1746b466cd17e1c638d050"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143281.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.13.0"},{"fixed":"5.10.276"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.227"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143281.json"}}],"schema_version":"1.9.2"}