CVE-2025-37962 Details
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.
A memory leak vulnerability has been identified in the Linux kernel's ksmbd component, specifically within the lease state parsing function. The issue arises from a previous patch that introduced bounds checking for lease context creation. When this check fails, the function returns NULL without freeing the allocated lease context information, leading to a memory leak. The vulnerability affects several versions of the Linux kernel.
Users can apply the latest patches available in the Linux kernel Git repository to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2148d34371b06dac696c0497a98a6bf905a51650 | kernel.org | Patch |
| https://git.kernel.org/stable/c/829e19ef741d9e9932abdc3bee5466195e0852cf | kernel.org | Patch |
| https://git.kernel.org/stable/c/af9e2d4732a548db8f6f5a90c2c20a789a3d7240 | kernel.org | Patch |
| https://git.kernel.org/stable/c/eb4447bcce915b43b691123118893fca4f372a8f | kernel.org | Patch |
| https://git.kernel.org/stable/c/facf22c1a394c1e023dab5daf9a494f722771e1c | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html | CVE | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.1.134, < 6.1.139 >= 6.6.87, < 6.6.91 >= 6.12.23, < 6.12.29 >= 6.13.11, < 6.14 >= 6.14.2, < 6.14.7 6.15 rc1 6.15 rc2 6.15 rc3 6.15 rc4 6.15 rc5 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 16, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| May 20, 2025 | New CVE Received | kernel.org |