CVE-2026-98257 Details
Description
In the Linux kernel, the following vulnerability has been resolved: rds: ib: use rds_conn_drop() on protocol version mismatch rds_ib_cm_connect_complete() runs from the RDMA-CM event handler with conn->c_cm_lock held. When the peer negotiates a protocol version older than RDS_PROTOCOL_COMPAT_VERSION, the handler calls rds_conn_destroy(), which is only safe in the rmmod path: it synchronously tears the connection down and flush_work()es the shutdown work cp_down_w. That shutdown work (rds_conn_shutdown()) needs cp_cm_lock, which is the very lock the event handler still holds, so the flush never completes: the two workers wait on each other and the RDS connection workqueues stall for good. All other RDMA-CM failure paths (REJECTED, CONNECT_ERROR, DISCONNECTED) use rds_conn_drop(), which marks the connection RDS_CONN_ERROR and schedules the shutdown work asynchronously. Use it here as well.
A vulnerability in the Linux kernel's RDS over InfiniBand (RDS/IB) implementation can lead to a deadlock when a connection is established with a protocol version older than RDS 3.1. The issue arises in the 'rds_ib_cm_connect_complete' function, which is called by the RDMA Connection Manager (RDMA-CM) event handler while holding a lock. When an incompatible protocol version is detected, the handler attempts to destroy the connection by calling 'rds_conn_destroy()', a method that is only safe during module removal. This synchronous operation conflicts with the ongoing event handling, causing a circular wait: the connection teardown process requires a lock that the event handler is still holding, leading to a permanent stall in the RDS connection workqueues. In contrast, other RDMA-CM failure scenarios are handled by 'rds_conn_drop()', which asynchronously marks the connection as erroneous and schedules the necessary shutdown procedures. This vulnerability has been addressed by modifying the event handler to use 'rds_conn_drop()' instead of 'rds_conn_destroy()'.
The vulnerability has been fixed in the Linux kernel. Users should upgrade to the latest version where this issue has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
No affected product data is available for this CVE.
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Modified | kernel.org |
| Oct 7, 2026 | CVE Modified | kernel.org |
| Oct 6, 2026 | New CVE Received | kernel.org |