CVE-2025-37899
ksmbd: fix use-after-free in session logoff
Reported by linux · Published May 20, 2025
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf |
| Linux | Linux | 5.15, 0, 6.1.159 |
| linux | linux_kernel | 5.15, 5.15, 5.15 |
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf |
Timeline
- May 20, 2025 CVE Published
- May 21, 2025 EPSS Score (30 in total, the first dated here)
- Oct 9, 2025 VulnCheck KEV Exploitation
- Oct 22, 2025 CVE Updated
- Oct 24, 2025 PoC Published (2 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (214 in total, the first dated here)
- Mar 29, 2026 Security Advisory (222 in total, the first dated here)
- Jun 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-37899
vulnetix vdb fixes CVE-2025-37899
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-37899/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart