CVE-2025-22041
ksmbd: fix use-after-free in ksmbd_sessions_deregister()
Reported by linux · Published April 16, 2025
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in ksmbd_sessions_deregister() In multichannel mode, UAF issue can occur in session_deregister when the second channel sets up a session through the connection of the first channel. session that is freed through the global session table can be accessed again through ->sessions of connection.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf |
| Linux | Linux | 5.15, 0, 6.1.134 |
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf, 6.6.87, 6.13.11 |
| linux | linux_kernel | 5.15, 5.15, 5.15 |
Timeline
- Apr 16, 2025 CVE Published
- Apr 17, 2025 EPSS Score (30 in total, the first dated here)
- May 30, 2025 Coalition ESS Score (11 in total, the first dated here)
- Dec 21, 2025 Security Advisory (316 in total, the first dated here)
- Dec 21, 2025 CVE Updated
- Apr 20, 2026 Distribution Patch (309 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-22041
vulnetix vdb fixes CVE-2025-22041
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-22041/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart