CVE-2023-53662ext4: fix memory leaks in ext4_fname_{setup_filename,prepare_lookup}
- 5.5MediumCVSS base score
- 0.16%Exploitation in 30 daysEPSS · top 95% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
Published
- 7 months later
· 7 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.16% · top 95% of all CVEs (16 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 1ae98e295fa2577fb5e492200c58d10230e00e99 – < 98fc9c2cc45cfcb56961a73de3ec69b474063fc0
- affected 1ae98e295fa2577fb5e492200c58d10230e00e99 – < 1fb3f1bbfdb511034b0360dbeb0f6a8424ed2a5c
- affected 1ae98e295fa2577fb5e492200c58d10230e00e99 – < 36daf050be3f6f067631dc52054de2d3b7cc849f
- affected 1ae98e295fa2577fb5e492200c58d10230e00e99 – < 7ca4b085f430f3774c3838b3da569ceccd6a0177
- affected 5.13
- unaffected < 5.13
- unaffected 5.15.199 – ≤ 5.15.*
- unaffected 6.1.54 – ≤ 6.1.*
- unaffected 6.5.4 – ≤ 6.5.*
- unaffected 6.6 – ≤ *
References
References4
- https://git.kernel.org/stable/c/98fc9c2cc45cfcb56961a73de3ec69b474063fc0 (opens in a new tab)
- https://git.kernel.org/stable/c/1fb3f1bbfdb511034b0360dbeb0f6a8424ed2a5c (opens in a new tab)
- https://git.kernel.org/stable/c/36daf050be3f6f067631dc52054de2d3b7cc849f (opens in a new tab)
- https://git.kernel.org/stable/c/7ca4b085f430f3774c3838b3da569ceccd6a0177 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-31971 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-53662)Record last updated .