High severity8.8NVD Advisory· Published May 20, 2025· Updated Jul 30, 2026
CVE-2025-37899
CVE-2025-37899
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
9cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 6 more
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=5.15,<6.12.28
- cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*
- (no CPE)
- (no CPE)range: 5.15
Patches
Vulnerability mechanics
References
7- git.kernel.org/stable/c/02d16046cd11a5c037b28c12ffb818c56dd3ef43nvdPatch
- git.kernel.org/stable/c/2fc9feff45d92a92cd5f96487655d5be23fb7e2bnvdPatch
- git.kernel.org/stable/c/d5ec1d79509b3ee01de02c236f096bc050221b7fnvdPatch
- news.ycombinator.com/itemnvdExploitIssue TrackingThird Party Advisory
- 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/nvdExploitThird Party Advisory
- git.kernel.org/stable/c/70ad6455139e26e85f48f95d0e21f351c1909342nvd
- git.kernel.org/stable/c/931dc8a3670f71c45c0b1379ea4e92dafbda1acanvd
News mentions
0No linked articles in our index yet.