CVE
CVE-2026-31476
CNA 原文 · 原文(英文)
In the Linux kernel, the following vulnerability has been resolved: ksmbd: do not expire session on binding failure When a multichannel session binding request fails (e.g. wrong password), the error path unconditionally sets sess->state = SMB2_SESSION_EXPIRED. However, during binding, sess points to the target session looked up via ksmbd_session_lookup_slowpath() -- which belongs to another connection's user. This allows a remote attacker to invalidate any active session by simply sending a binding request with a wrong password (DoS). Fix this by skipping session expiration when the failed request was a binding attempt, since the session does not belong to the current connection. The reference taken by ksmbd_session_lookup_slowpath() is still correctly released via ksmbd_user_session_put().
受影响版本
- 7.0-rc7仅此版本
- 7.0-rc6仅此版本
- 7.0-rc5仅此版本
- 7.0-rc4仅此版本
- 7.0-rc3仅此版本
- 7.0-rc2仅此版本
- 7.0-rc1仅此版本
- ≥ 6.19, < 6.19.11修复版本 6.19.11
- ≥ 6.13, < 6.18.21修复版本 6.18.21
- ≥ 6.7, < 6.12.80修复版本 6.12.80
- ≥ 6.2, < 6.6.131修复版本 6.6.131
- ≥ 5.15.1, < 6.1.168修复版本 6.1.168
- 5.15仅此版本
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- git.kernel.org/stable/c/1d1888b4a7aec518b707f6eca0bf08992c0e8da3 · Patch
- git.kernel.org/stable/c/6fafc4c4238e538969f1375f9ecdc6587c53f1cc · Patch
- git.kernel.org/stable/c/9bbb19d21ded7d78645506f20d8c44895e3d0fb9 · Patch
- git.kernel.org/stable/c/a897064a457056acb976e20e3007cdf553de340f · Patch
- git.kernel.org/stable/c/e0e5edc81b241c70355217de7e120c97c3429deb · Patch
- git.kernel.org/stable/c/f5300690c23c5ac860499bb37dbc09cf43fd62e6 · Patch
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。