{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143285","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.364Z","datePublished":"2026-12-03T09:21:22.335Z","dateUpdated":"2026-12-04T03:32:14.949Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-04T03:32:14.949Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-rdma: disconnect only established queues\n\nOver iWARP, rdma_disconnect() sleeps in iw_cm_disconnect() until the\nESTABLISHED event of the connection has been handled, and iw_cm handles\nall events of all connections one at a time on iw_cm_wq.\nnvmet_rdma_destroy_port_queues(), nvmet_rdma_remove_one() and\nnvmet_rdma_delete_ctrl() walk the queue list with\nnvmet_rdma_queue_mutex held and call rdma_disconnect() for each, while\nnvmet_rdma_cm_handler() takes the same mutex. If the walk sleeps on a\nqueue whose ESTABLISHED is queued behind another queue's event, both\nare stuck and iWARP connection handling is dead until reboot. A peer\nsets that up by connecting in a loop, or over siw by asking for MPA\npeer-to-peer mode and then staying silent, which delays ESTABLISHED\nindefinitely.\n\nOnly call rdma_disconnect() for a queue in NVMET_RDMA_Q_LIVE, which the\nhandler sets when it gets ESTABLISHED. A queue that never got there is\nleft to the release work: ib_drain_qp() moves the QP to the error\nstate, which ends the connection, and rdma_destroy_id() tells the peer.\nOver IB and RoCE the skipped call did nothing more than that."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - A remote iWARP peer's RDMA CM CONNECT_REQUEST is accepted in nvmet_rdma_queue_connect (RDMA_PS_TCP listener from nvmet_rdma_enable_port) while the queue is still NVMET_RDMA_Q_CONNECTING. iWARP is TCP, so that handshake is routable; __nvmet_rdma_queue_disconnect then sleeps in rdma_disconnect until iwcm_wq runs ESTABLISHED.\nAC:L - The peer floods CONNECT_REQUESTs so ordered iwcm_wq still has nvmet_rdma_queue_connect, which takes nvmet_rdma_queue_mutex, ahead of ESTABLISHED, and completes a recv shorter than sizeof(struct nvme_command). nvmet_rdma_recv_done calls nvmet_rdma_error_comp with sq->ctrl NULL, and queue_disconnect waits in iw_cm_disconnect while holding that mutex.\nPR:N - nvmet_rdma_queue_connect parses only the nvme_rdma_cm_req qid and queue sizes, posts recvs, and calls rdma_accept. nvmet_host_allowed runs later in nvmet_alloc_ctrl, from the fabrics Connect command after nvmet_rdma_queue_established, so this CONNECTING-state path is before authentication.\nUI:N - The peer opens the iWARP connections and sends the short receive itself. No local user has to mount a namespace or take any action on the host.\nS:U - The blocked iwcm_wq worker and nvmet_rdma_queue_mutex are host kernel state. The hang does not cross a guest, container, or IOMMU boundary.\nC:N - iw_cm_disconnect only wait_event's on cm_id_priv->connect_wait. That path does not copy a buffer or expose queue memory to the peer.\nI:N - __nvmet_rdma_queue_disconnect only stores NVMET_RDMA_Q_DISCONNECTING and waits. It does not write attacker-controlled bytes or change a function pointer.\nA:H - The waiter holds nvmet_rdma_queue_mutex, so the CONNECT_REQUEST ahead of ESTABLISHED on ordered iwcm_wq blocks in nvmet_rdma_queue_connect and the wake_up in cm_conn_est_handler never runs. iWARP CM stays wedged until reboot."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/rdma.c"],"versions":[{"version":"f1d4ef7d88832444e8dfeb0e85e19d3b6ecb5011","lessThan":"4168e4bc4d0c78dc1bec7f2b1c8f673e411c21ae","status":"affected","versionType":"git"},{"version":"f1d4ef7d88832444e8dfeb0e85e19d3b6ecb5011","lessThan":"054422b7a4be8876d030dc268af59c3c2ee6e732","status":"affected","versionType":"git"},{"version":"f1d4ef7d88832444e8dfeb0e85e19d3b6ecb5011","lessThan":"374e2091897e4026e0d8e5681cfe2edd6c00885c","status":"affected","versionType":"git"},{"version":"f1d4ef7d88832444e8dfeb0e85e19d3b6ecb5011","lessThan":"5742b12229f3a1e7a48e8028a54c339cc5b8b638","status":"affected","versionType":"git"},{"version":"f1d4ef7d88832444e8dfeb0e85e19d3b6ecb5011","lessThan":"000a9f4492abad6008682b55571ddc31941963e3","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/rdma.c"],"versions":[{"version":"4.13","status":"affected"},{"version":"0","lessThan":"4.13","status":"unaffected","versionType":"semver"},{"version":"5.15.227","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"5.15.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"7.4-rc2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/4168e4bc4d0c78dc1bec7f2b1c8f673e411c21ae"},{"url":"https://git.kernel.org/stable/c/054422b7a4be8876d030dc268af59c3c2ee6e732"},{"url":"https://git.kernel.org/stable/c/374e2091897e4026e0d8e5681cfe2edd6c00885c"},{"url":"https://git.kernel.org/stable/c/5742b12229f3a1e7a48e8028a54c339cc5b8b638"},{"url":"https://git.kernel.org/stable/c/000a9f4492abad6008682b55571ddc31941963e3"}],"title":"nvmet-rdma: disconnect only established queues","x_generator":{"engine":"bippy-1.2.0"}}}}