CVE-2025-37899ksmbd: fix use-after-free in session logoff
- 8.8HighCVSS base score
- 0.88%Exploitation in 30 daysEPSS · top 40% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 34 days later
· 34 days later
Published
- 15 months later
· 15 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.88% · top 40% of all CVEs (15 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 931dc8a3670f71c45c0b1379ea4e92dafbda1aca
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 70ad6455139e26e85f48f95d0e21f351c1909342
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < d5ec1d79509b3ee01de02c236f096bc050221b7f
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 02d16046cd11a5c037b28c12ffb818c56dd3ef43
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 2fc9feff45d92a92cd5f96487655d5be23fb7e2b
- affected 5.15
- unaffected < 5.15
- unaffected 6.1.159 – ≤ 6.1.*
- unaffected 6.6.119 – ≤ 6.6.*
- unaffected 6.12.28 – ≤ 6.12.*
- unaffected 6.14.6 – ≤ 6.14.*
- unaffected 6.15 – ≤ *
References
References7
- https://git.kernel.org/stable/c/931dc8a3670f71c45c0b1379ea4e92dafbda1aca (opens in a new tab)
- https://git.kernel.org/stable/c/70ad6455139e26e85f48f95d0e21f351c1909342 (opens in a new tab)
- https://git.kernel.org/stable/c/d5ec1d79509b3ee01de02c236f096bc050221b7f (opens in a new tab)
- https://git.kernel.org/stable/c/02d16046cd11a5c037b28c12ffb818c56dd3ef43 (opens in a new tab)
- https://git.kernel.org/stable/c/2fc9feff45d92a92cd5f96487655d5be23fb7e2b (opens in a new tab)
- 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/ (opens in a new tab)
- https://news.ycombinator.com/item?id=44081338 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-15946 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-37899)Record last updated .