CVE-2025-37777
ksmbd: fix use-after-free in __smb2_lease_break_noti()
Reported by linux · Published May 1, 2025
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in __smb2_lease_break_noti() Move tcp_transport free to ksmbd_conn_free. If ksmbd connection is referenced when ksmbd server thread terminates, It will not be freed, but conn->tcp_transport is freed. __smb2_lease_break_noti can be performed asynchronously when the connection is disconnected. __smb2_lease_break_noti calls ksmbd_conn_write, which can cause use-after-free when conn->ksmbd_transport is already freed.
EPSS 0.38% · 32.5th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | e59796fc80603bcd8569d4d2e10b213c1918edb4, 21a4e47578d44c6b37c4fc4aba8ed7cc8dbb13de, 1da8bd9a10ecd718692732294d15fd801c0eabb5, 1aec4d14cf81b7b3e7b69eb1cfa94144eed7138e |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf |
| Linux | Linux | 5.15, 0, 6.6.101 |
| Linux | Linux | 6.15, 0, 6.6.101 |
| linux | linux_kernel | 5.15, 5.15, 5.15 |
Timeline
- May 1, 2025 Coalition ESS Score (19 in total, the first dated here)
- May 1, 2025 CVE Published
- May 2, 2025 EPSS Score (30 in total, the first dated here)
- Dec 15, 2025 Security Advisory (235 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (196 in total, the first dated here)
- Sep 21, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-37777
vulnetix vdb fixes CVE-2025-37777
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-37777/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart