CVE-2025-71153 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: Fix memory leak in get_file_all_info() In get_file_all_info(), if vfs_getattr() fails, the function returns immediately without freeing the allocated filename, leading to a memory leak. Fix this by freeing the filename before returning in this error case.
A memory leak vulnerability has been identified in the Linux kernel's ksmbd component, specifically within the file information retrieval function get_file_all_info(). When the virtual file system's getattr function fails, the get_file_all_info() function exits prematurely without releasing the allocated filename, resulting in a memory leak. This issue has been addressed by modifying the function to free the filename before returning in the event of an error.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability. The patch can be downloaded from the Linux kernel Git repository.
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/0c56693b06a68476ba113db6347e7897475f9e4c | kernel.org | Patch |
| https://git.kernel.org/stable/c/5012b4c812230ae066902a00442708c999111183 | kernel.org | Patch |
| https://git.kernel.org/stable/c/676907004256e0226c7ed3691db9f431404ca258 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d026f47db68638521df8543535ef863814fb01b1 | kernel.org | Patch |
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.6.24, < 6.6.120 >= 6.7.12, < 6.8 >= 6.8.3, < 6.12.64 >= 6.13, < 6.18.4 6.19 rc1 6.19 rc2 6.19 rc3 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Feb 26, 2026 | Initial Analysis | [email protected] |
| Jan 23, 2026 | New CVE Received | kernel.org |