CVE-2025-37962
Description
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.
How to fix
- linux linux_kernel6.1.139, 6.6.91, 6.12.29, 6.14, 6.14.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 6.1.134 ≤ v < 6.1.139, 6.6.87 ≤ v < 6.6.91, 6.12.23 ≤ v < 6.12.29, 6.13.11 ≤ v < 6.14, 6.14.2 ≤ v < 6.14.7, 6.15 | 6.1.139, 6.6.91, 6.12.29, 6.14, 6.14.7 |
| debian debian_linux | 11.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.