CVE
CVE-2026-98069
CNA 原文 · 原文(英文)
In the Linux kernel, the following vulnerability has been resolved: net/rds: acquire the fastpath locks in rds_conn_shutdown() rds_conn_shutdown() quiesces the transmit and receive-refill paths by waiting for RDS_IN_XMIT and RDS_RECV_REFILL to be sampled clear, and then runs the transport shutdown and rds_conn_path_reset(). Sampling the bits clear is not the same as owning them: the moment after the wait_event() returns, rds_send_xmit() can re-acquire RDS_IN_XMIT (or rds_ib_recv_refill() can re-acquire RDS_RECV_REFILL) and run concurrently with the teardown. The sender does recheck the connection state after taking the lock, but that recheck is a classic store-buffering pattern: teardown writes the state and reads the bit while the sender writes the bit and reads the state. acquire_in_xmit() is only an acquire operation, so on weakly ordered architectures both sides can miss each other's write, and the transmit path then runs while the transport zeroes its rings (e.g. rds_ib_ring_init()) and rds_send_path_reset() rewrites the transmit state under it. Oracle UEK fixed the same class of crashes - a 14-year tail of BUG_ON()s in rds_ib_sub_signaled(), unexpected op-codes and NULL dereferences in rds_ib_send_cqe_handler() during failover testing - by making the teardown path *acquire* the fastpath bit locks instead of testing them ("rds: Make sure transmit path and connection tear-down does not run concurrently"). Ownership of a single word is decided by RMW atomicity, so no cross-variable ordering is needed. Do the same here: take both locks before calling the transport shutdown, hold them across rds_conn_path_reset(), and release them explicitly with a wake-up afterwards. Both are released with clear_bit_unlock(), so that the ring re-initialization done by the transport shutdown and the transmit state rewritten by rds_send_path_reset() are ordered before either bit is seen clear by the next acquire_in_xmit() or acquire_refill(). The fastpath users of these…
受影响版本
- 7.3-rc1仅此版本
- ≥ 6.19, < 7.2.7修复版本 7.2.7
- ≥ 6.13, < 6.18.53修复版本 6.18.53
- ≥ 6.7, < 6.12.111修复版本 6.12.111
- ≥ 6.2, < 6.6.158修复版本 6.6.158
- ≥ 5.16, < 6.1.189修复版本 6.1.189
- ≥ 5.11, < 5.15.222修复版本 5.15.222
- ≥ 2.6.37, < 5.10.271修复版本 5.10.271
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- git.kernel.org/stable/c/1f900f585cbb0fbe6aa00c31c9f5bb63ee614456 · Patch
- git.kernel.org/stable/c/1fe627e5db5c3f53a9f9f9c8a66671755d306955 · Patch
- git.kernel.org/stable/c/2e46248e375a516301884719f08b6015c79a6456 · Patch
- git.kernel.org/stable/c/32e21bcf4b5b11454bf57c4bb3bf019b71512ace · Patch
- git.kernel.org/stable/c/7f4f21e4439df30d9aca9fb3bac38191a2f34729 · Patch
- git.kernel.org/stable/c/7febb113795d5de5b690b208f4b0e64a5fad1201 · Patch
- git.kernel.org/stable/c/813f3582ac7ae9f60f917937d54660e0952d5f2d · Patch
- git.kernel.org/stable/c/900e96c9749a06833801f60c393aa1d405ea226c · Patch
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。