CVE-2026-98257

Source
https://cve.org/CVERecord?id=CVE-2026-98257
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98257.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98257
Downstream
Published
2026-10-06T08:45:22Z
Modified
2026-10-07T02:47:30Z
Summary
rds: ib: use rds_conn_drop() on protocol version mismatch
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98257.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f147dd9ecabf23fd63d2562ffe64252a0453ecde
Fixed
424019be3f637da76b74f44a40034669acbb166f
Fixed
14fb90067d13f4494cff0f03243fae3cf2911cbc
Fixed
344c72a0bc2703a6de4918ed935850e07dae3af2
Fixed
b5c9f2951d330d4a198a64d6e60f79b4bd6ef078
Fixed
d392b16acd0908f077289aad8bba066ff16de336
Fixed
65ca0a5037152a5a80b8fe6aac80eb80458be573
Fixed
7d8c22cb2cb1efb5e830a4545c76abf7b35cc2e8
Fixed
f97d8c7bab7843631206a114986c9059da03efeb

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98257.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.37
Fixed
5.10.271
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.222
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.189
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.158
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.112
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.54
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98257.json"