PT-2025-16680 · Linux+6 · Linux Kernel+6
Published
2025-03-27
·
Updated
2026-05-26
·
CVE-2025-22040
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A race condition exists between session setup and ksmdb sessions deregister in the Linux kernel, specifically in the ksmbd component. This condition can lead to a session being freed before its connection is added to the channel list of the session, resulting in a use-after-free issue. The patch for this issue checks the reference count of the session before freeing it to prevent this problem.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
DoS
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Ubuntu