CVE-2025-22040
Published: Apr 16, 2025
Modified: May 11, 2026
CVSS v3.1
8.8
Description
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.
| Vendor | Product | Versions |
|---|---|---|
Linux | Linux | affected 0626e6641f6b467447c81dd7678a69c66f7746cf - < 596407adb9af1ee75fe7c7529607783d31b66e7faffected 0626e6641f6b467447c81dd7678a69c66f7746cf - < 3980770cb1470054e6400fd97668665975726737affected 0626e6641f6b467447c81dd7678a69c66f7746cf - < 9069939d762138e232a6f79e3e1462682ed6a17daffected 0626e6641f6b467447c81dd7678a69c66f7746cf - < 94c281721d4ed2d972232414b91d98a6f5bdb16baffected 0626e6641f6b467447c81dd7678a69c66f7746cf - < 7dfbd4c43eed91dd2548a95236908025707a8dfd+1 more versions |
Linux | Linux | affected 5.15unaffected 0 - < 5.15unaffected 6.1.134 - <= 6.1.*unaffected 6.6.87 - <= 6.6.*unaffected 6.12.23 - <= 6.12.*+3 more versions |
CVSS v3.1 Details
CVSS v3.1 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now