Vulnerabilities · 2025 · Linux
CVE-2025-37899
Linux Kernel vulnerability
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.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/02d16046cd11a5c037b28c12ffb818c56dd3ef43 · Patch
- git.kernel.org/stable/c/2fc9feff45d92a92cd5f96487655d5be23fb7e2b · Patch
- git.kernel.org/stable/c/d5ec1d79509b3ee01de02c236f096bc050221b7f · Patch
- news.ycombinator.com/item?id=44081338 · Exploit
- sean.heelan.io/2025/05/22/how-i-used-o3-to-find-cve-2025-37899-a-remote-zeroday-vulnerabil · Exploit
- git.kernel.org/stable/c/70ad6455139e26e85f48f95d0e21f351c1909342
- git.kernel.org/stable/c/931dc8a3670f71c45c0b1379ea4e92dafbda1aca
- nvd.nist.gov/vuln/detail/CVE-2025-37899
- cve.org/CVERecord?id=CVE-2025-37899
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.