CVE-2026-98257
rds: ib: use rds_conn_drop() on protocol version mismatch
Check your servers for CVE-2026-98257
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98257 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.72%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 49.5% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f147dd9ecabf23fd63d2562ffe64252a0453ecde, before 424019be3f637da76b74f44a40034669acbb166f affected from f147dd9ecabf23fd63d2562ffe64252a0453ecde, before 14fb90067d13f4494cff0f03243fae3cf2911cbc affected from f147dd9ecabf23fd63d2562ffe64252a0453ecde, before 344c72a0bc2703a6de4918ed935850e07dae3af2 affected from f147dd9ecabf23fd63d2562ffe64252a0453ecde, before b5c9f2951d330d4a198a64d6e60f79b4bd6ef078 affected from f147dd9ecabf23fd63d2562ffe64252a0453ecde, before d392b16acd0908f077289aad8bba066ff16de336 affected from f147dd9ecabf23fd63d2562ffe64252a0453ecde, before 65ca0a5037152a5a80b8fe6aac80eb80458be573 affected from f147dd9ecabf23fd63d2562ffe64252a0453ecde, before 7d8c22cb2cb1efb5e830a4545c76abf7b35cc2e8 affected from f147dd9ecabf23fd63d2562ffe64252a0453ecde, before f97d8c7bab7843631206a114986c9059da03efeb
Other versions: unaffected
|
| Linux |
affected 2.6.37 unaffected before 2.6.37 unaffected from 5.10.271 up to and including 5.10.* unaffected from 5.15.222 up to and including 5.15.* unaffected from 6.1.189 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.112 up to and including 6.12.* unaffected from 6.18.54 up to and including 6.18.* unaffected from 7.2.8 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98257 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98257
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98257
trivy image --scanners vuln IMAGE | grep CVE-2026-98257
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/424019be3f637da76b74f44a40034669acbb166f git.kernel.org
- https://git.kernel.org/stable/c/14fb90067d13f4494cff0f03243fae3cf2911cbc git.kernel.org
- https://git.kernel.org/stable/c/344c72a0bc2703a6de4918ed935850e07dae3af2 git.kernel.org
- https://git.kernel.org/stable/c/b5c9f2951d330d4a198a64d6e60f79b4bd6ef078 git.kernel.org
- https://git.kernel.org/stable/c/d392b16acd0908f077289aad8bba066ff16de336 git.kernel.org
- https://git.kernel.org/stable/c/65ca0a5037152a5a80b8fe6aac80eb80458be573 git.kernel.org
- https://git.kernel.org/stable/c/7d8c22cb2cb1efb5e830a4545c76abf7b35cc2e8 git.kernel.org
- https://git.kernel.org/stable/c/f97d8c7bab7843631206a114986c9059da03efeb git.kernel.org
Source: the record CVE-2026-98257 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse