CVE-2023-53662 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: fix memory leaks in ext4_fname_{setup_filename,prepare_lookup} If the filename casefolding fails, we'll be leaking memory from the fscrypt_name struct, namely from the 'crypto_buf.name' member. Make sure we free it in the error path on both ext4_fname_setup_filename() and ext4_fname_prepare_lookup() functions.
A memory leak vulnerability has been identified in the Linux kernel's ext4 file system, specifically within the functions responsible for managing casefolded filenames. When the casefolding process fails, memory allocated for the fscrypt_name structure is not properly released, leading to a leak from the 'crypto_buf.name' member. This issue affects the ext4_fname_setup_filename and ext4_fname_prepare_lookup functions. The vulnerability has been addressed by ensuring that the allocated memory is freed in the error handling paths of both functions.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for upgrading the Linux kernel can be found in the official Linux documentation or through the package management system of the respective Linux distribution.
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/1fb3f1bbfdb511034b0360dbeb0f6a8424ed2a5c | kernel.org | Patch |
| https://git.kernel.org/stable/c/36daf050be3f6f067631dc52054de2d3b7cc849f | kernel.org | Patch |
| https://git.kernel.org/stable/c/7ca4b085f430f3774c3838b3da569ceccd6a0177 | kernel.org | Patch |
| https://git.kernel.org/stable/c/98fc9c2cc45cfcb56961a73de3ec69b474063fc0 | kernel.org |
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 | >= 5.13, < 6.1.54 >= 6.2, < 6.5.4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 28, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Feb 6, 2026 | CVE Modified | kernel.org |
| Feb 3, 2026 | Initial Analysis | [email protected] |
| Oct 7, 2025 | New CVE Received | kernel.org |