Description
In the Linux kernel, the following vulnerability has been resolved:
nvmet-rdma: disconnect only established queues
Over iWARP, rdma_disconnect() sleeps in iw_cm_disconnect() until the ESTABLISHED event of the connection has been handled, and iw_cm handles all events of all connections one at a time on iw_cm_wq. nvmet_rdma_destroy_port_queues(), nvmet_rdma_remove_one() and nvmet_rdma_delete_ctrl() walk the queue list with nvmet_rdma_queue_mutex held and call rdma_disconnect() for each, while nvmet_rdma_cm_handler() takes the same mutex. If the walk sleeps on a queue whose ESTABLISHED is queued behind another queue's event, both are stuck and iWARP connection handling is dead until reboot. A peer sets that up by connecting in a loop, or over siw by asking for MPA peer-to-peer mode and then staying silent, which delays ESTABLISHED indefinitely.
Only call rdma_disconnect() for a queue in NVMET_RDMA_Q_LIVE, which the handler sets when it gets ESTABLISHED. A queue that never got there is left to the release work: ib_drain_qp() moves the QP to the error state, which ends the connection, and rdma_destroy_id() tells the peer. Over IB and RoCE the skipped call did nothing more than that.
Metrics
No CVSS score has been published yet.
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= f1d4ef7d88832444e8dfeb0e85e19d3b6ecb5011, < 4168e4bc4d0c78dc1bec7f2b1c8f673e411c21ae; >= f1d4ef7d88832444e8dfeb0e85e19d3b6ecb5011, < 054422b7a4be8876d030dc268af59c3c2ee6e732; >= f1d4ef7d88832444e8dfeb0e85e19d3b6ecb5011, < 374e2091897e4026e0d8e5681cfe2edd6c00885c; >= f1d4ef7d88832444e8dfeb0e85e19d3b6ecb5011, < 5742b12229f3a1e7a48e8028a54c339cc5b8b638; >= f1d4ef7d88832444e8dfeb0e85e19d3b6ecb5011, < 000a9f4492abad6008682b55571ddc31941963e3 |
| Linux | Linux | 4.13 |
References
- https://git.kernel.org/stable/c/000a9f4492abad6008682b55571ddc31941963e3
- https://git.kernel.org/stable/c/054422b7a4be8876d030dc268af59c3c2ee6e732
- https://git.kernel.org/stable/c/374e2091897e4026e0d8e5681cfe2edd6c00885c
- https://git.kernel.org/stable/c/4168e4bc4d0c78dc1bec7f2b1c8f673e411c21ae
- https://git.kernel.org/stable/c/5742b12229f3a1e7a48e8028a54c339cc5b8b638
Timeline
- Published
- Dec 3, 2026
- Last modified
- Dec 3, 2026
- NVD status
- Received