{"id":"CVE-2023-53662","summary":"ext4: fix memory leaks in ext4_fname_{setup_filename,prepare_lookup}","details":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: fix memory leaks in ext4_fname_{setup_filename,prepare_lookup}\n\nIf the filename casefolding fails, we'll be leaking memory from the\nfscrypt_name struct, namely from the 'crypto_buf.name' member.\n\nMake sure we free it in the error path on both ext4_fname_setup_filename()\nand ext4_fname_prepare_lookup() functions.","modified":"2026-04-02T09:44:46.123661Z","published":"2025-10-07T15:21:21.703Z","related":["SUSE-SU-2025:21040-1","SUSE-SU-2025:21052-1","SUSE-SU-2025:21056-1","SUSE-SU-2025:21064-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4111-1","SUSE-SU-2025:4128-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4139-1","SUSE-SU-2025:4140-1","SUSE-SU-2025:4141-1","SUSE-SU-2025:4149-1","SUSE-SU-2025:4301-1","SUSE-SU-2025:4320-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53662.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1fb3f1bbfdb511034b0360dbeb0f6a8424ed2a5c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/36daf050be3f6f067631dc52054de2d3b7cc849f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7ca4b085f430f3774c3838b3da569ceccd6a0177"},{"type":"WEB","url":"https://git.kernel.org/stable/c/98fc9c2cc45cfcb56961a73de3ec69b474063fc0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53662.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53662"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2023-53662.json"}}],"schema_version":"1.7.5"}