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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 931dc8a3670f71c45c0b1379ea4e92dafbda1aca; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 70ad6455139e26e85f48f95d0e21f351c1909342; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < d5ec1d79509b3ee01de02c236f096bc050221b7f; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 02d16046cd11a5c037b28c12ffb818c56dd3ef43; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 2fc9feff45d92a92cd5f96487655d5be23fb7e2b |
| Linux | Linux | 5.15 |
References
- https://git.kernel.org/stable/c/02d16046cd11a5c037b28c12ffb818c56dd3ef43Patch
- https://git.kernel.org/stable/c/2fc9feff45d92a92cd5f96487655d5be23fb7e2bPatch
- https://git.kernel.org/stable/c/70ad6455139e26e85f48f95d0e21f351c1909342
- https://git.kernel.org/stable/c/931dc8a3670f71c45c0b1379ea4e92dafbda1aca
- https://git.kernel.org/stable/c/d5ec1d79509b3ee01de02c236f096bc050221b7fPatch
- https://news.ycombinator.com/item?id=44081338Exploit, Issue Tracking, Third Party Advisory
- 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/Exploit, Third Party Advisory
Timeline
- Published
- May 20, 2025
- Last modified
- Jul 30, 2026
- NVD status
- Modified