CVE
CVE-2025-22040
CVE-2025-22040HIGH 8.8EPSS 55%
CNA 原文 · 原文(英文)
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix session use-after-free in multichannel connection There is a race condition between session setup and ksmbd_sessions_deregister. The session can be freed before the connection is added to channel list of session. This patch check reference count of session before freeing it.
受影响版本
- ≥ 6.14, < 6.14.2修复版本 6.14.2
- ≥ 6.13, < 6.13.11修复版本 6.13.11
- ≥ 6.7, < 6.12.23修复版本 6.12.23
- ≥ 6.2, < 6.6.87修复版本 6.6.87
- ≥ 5.15, < 6.1.134修复版本 6.1.134
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- git.kernel.org/stable/c/3980770cb1470054e6400fd97668665975726737 · Patch
- git.kernel.org/stable/c/596407adb9af1ee75fe7c7529607783d31b66e7f · Patch
- git.kernel.org/stable/c/7dfbd4c43eed91dd2548a95236908025707a8dfd · Patch
- git.kernel.org/stable/c/9069939d762138e232a6f79e3e1462682ed6a17d · Patch
- git.kernel.org/stable/c/94c281721d4ed2d972232414b91d98a6f5bdb16b · Patch
- git.kernel.org/stable/c/fa4cdb8cbca7d6cb6aa13e4d8d83d1103f6345db · Patch
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html · Third Party Advisory
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。