CVE-2025-37899
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf < 931dc8a3670f71c45c0b1379ea4e92dafbda1aca | affected |
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf < 70ad6455139e26e85f48f95d0e21f351c1909342 | affected |
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf < d5ec1d79509b3ee01de02c236f096bc050221b7f | affected |
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf < 02d16046cd11a5c037b28c12ffb818c56dd3ef43 | affected |
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf < 2fc9feff45d92a92cd5f96487655d5be23fb7e2b | affected |
| Linux | Linux | 5.15 | affected |
| Linux | Linux | 0 < 5.15 | unaffected |
| Linux | Linux | 6.1.159 <= 6.1.* | unaffected |
| Linux | Linux | 6.6.119 <= 6.6.* | unaffected |
| Linux | Linux | 6.12.28 <= 6.12.* | unaffected |
| Linux | Linux | 6.14.6 <= 6.14.* | unaffected |
| Linux | Linux | 6.15 <= * | unaffected |
Weaknesses
ADP Enrichment
CVE Program Container
Additional References
- 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/
- https://news.ycombinator.com/item?id=44081338
References
- https://git.kernel.org/stable/c/931dc8a3670f71c45c0b1379ea4e92dafbda1aca
- https://git.kernel.org/stable/c/70ad6455139e26e85f48f95d0e21f351c1909342
- https://git.kernel.org/stable/c/d5ec1d79509b3ee01de02c236f096bc050221b7f
- https://git.kernel.org/stable/c/02d16046cd11a5c037b28c12ffb818c56dd3ef43
- https://git.kernel.org/stable/c/2fc9feff45d92a92cd5f96487655d5be23fb7e2b
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.