CVE-2023-53662

Source
https://cve.org/CVERecord?id=CVE-2023-53662
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53662.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53662
Downstream
Related
Published
2025-10-07T15:21:21.703Z
Modified
2026-03-11T07:48:02.321409Z
Summary
ext4: fix memory leaks in ext4_fname_{setup_filename,prepare_lookup}
Details

In the Linux kernel, the following vulnerability has been resolved:

ext4: fix memory leaks in ext4fname{setupfilename,preparelookup}

If the filename casefolding fails, we'll be leaking memory from the fscryptname struct, namely from the 'cryptobuf.name' member.

Make sure we free it in the error path on both ext4fnamesetupfilename() and ext4fnamepreparelookup() functions.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53662.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1ae98e295fa2577fb5e492200c58d10230e00e99
Fixed
98fc9c2cc45cfcb56961a73de3ec69b474063fc0
Fixed
1fb3f1bbfdb511034b0360dbeb0f6a8424ed2a5c
Fixed
36daf050be3f6f067631dc52054de2d3b7cc849f
Fixed
7ca4b085f430f3774c3838b3da569ceccd6a0177

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53662.json"