CVE-2025-37962
ksmbd: fix memory leak in parse_lease_state()
Reported by linux · Published May 20, 2025
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix memory leak in parse_lease_state() The previous patch that added bounds check for create lease context introduced a memory leak. When the bounds check fails, the function returns NULL without freeing the previously allocated lease_ctx_info structure. This patch fixes the issue by adding kfree(lreq) before returning NULL in both boundary check cases.
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_kernel | linux | 6.14.7, 6.14, 6.12.29, 6.6.91, 6.1.139 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 629dd37acc336ad778979361c351e782053ea284, 60b7207893a8a06c78441934931a08fdad63f18e, 800c482c9ef5910f05e3a713943c67cc6c1d4939 |
| Linux | Linux | 6.1.134, 6.6.87, 6.12.23 |
| linux | linux_kernel | 6.6.87, 6.12.23, 6.14.2 |
| Linux | Linux | 629dd37acc336ad778979361c351e782053ea284, 60b7207893a8a06c78441934931a08fdad63f18e, 800c482c9ef5910f05e3a713943c67cc6c1d4939 |
Timeline
- May 20, 2025 CVE Published
- May 21, 2025 EPSS Score (30 in total, the first dated here)
- Oct 24, 2025 PoC Published (3 in total, the first dated here)
- Nov 4, 2025 CVE Updated
- Mar 29, 2026 Distribution Patch (228 in total, the first dated here)
- Mar 29, 2026 Security Advisory (236 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-37962
vulnetix vdb fixes CVE-2025-37962
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-37962/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart