HIGH · CVSS 8.8 Published: 2025-04-16
CVE-2025-22040 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-22040 |
|---|---|
| Base Severity / Score | HIGH (8.8 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Weakness Classification | CWE-416 |
| Archive Categories | HIGH Advisories · 2025 Index |
Operational Mitigation Guidance
Prioritize remediation in the next maintenance cycle. Validate affected dependency versions in SBOM manifests and review inbound access controls. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://git.kernel.org/stable/c/3980770cb1470054e6400fd97668665975726737
- https://git.kernel.org/stable/c/596407adb9af1ee75fe7c7529607783d31b66e7f
- https://git.kernel.org/stable/c/7dfbd4c43eed91dd2548a95236908025707a8dfd
Related Security Advisories
CVE-2025-22039 HIGH 8.8
CVE-2025-22041 HIGH 8.8
CVE-2025-22037 HIGH 7.5
CVE-2025-22038 HIGH 8.3
CVE-2025-22042 HIGH 8.1
CVE-2025-22043 HIGH 8.1