CVE-2025-37899
HIGH EPSS 27.5%
Published May 20, 20251y ago · Modified Jun 17, 20261w ago
7.8 CVSS 3.1
Published May 20, 2025 1y ago
Last Modified Jun 17, 2026 1w ago
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in session logoff The sess->user object can currently be in use by another thread, for example if another connection has sent a session setup request to bind to the session being free'd. The handler for that connection could be in the smb2_sess_setup function which makes use of sess->user.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
27.5% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 1
CWE-416 Use After Free Memory Safety
Affected Products 6
References 7
- git.kernel.org https://git.kernel.org/stable/c/02d16046cd11a5c037b28c12ffb818c56dd3ef43
- git.kernel.org https://git.kernel.org/stable/c/2fc9feff45d92a92cd5f96487655d5be23fb7e2b
- git.kernel.org https://git.kernel.org/stable/c/70ad6455139e26e85f48f95d0e21f351c1909342
- git.kernel.org https://git.kernel.org/stable/c/931dc8a3670f71c45c0b1379ea4e92dafbda1aca
- git.kernel.org https://git.kernel.org/stable/c/d5ec1d79509b3ee01de02c236f096bc050221b7f
- news.ycombinator.com https://news.ycombinator.com/item?id=44081338
- sean.heelan.io https://sean.heelan.io/2025/05/22/how-i-used-o3-to-find-cve-2025-37899-a-remote-zeroday-vulnerability-in-the-linux-kernels-smb-implementation/
Remediation
- git.kernel.org https://git.kernel.org/stable/c/02d16046cd11a5c037b28c12ffb818c56dd3ef43
- git.kernel.org https://git.kernel.org/stable/c/2fc9feff45d92a92cd5f96487655d5be23fb7e2b
- git.kernel.org https://git.kernel.org/stable/c/d5ec1d79509b3ee01de02c236f096bc050221b7f