CVE-2023-53662

published 7 Oct 2025 · updated 11 May 2026

ext4: fix memory leaks in ext4_fname_{setup_filename,prepare_lookup}

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1fb3f1bbfdb511034b0360dbeb0f6a8424ed2a5c, Kernel 36daf050be3f6f067631dc52054de2d3b7cc849f, Kernel 7ca4b085f430f3774c3838b3da569ceccd6a0177 and 1 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.13, >=1ae98e295fa2577fb5e492200c58d10230e00e99 <1fb3f1bbfdb511034b0360dbeb0f6a8424ed2a5c, >=1ae98e295fa2577fb5e492200c58d10230e00e99 <36daf050be3f6f067631dc52054de2d3b7cc849f, >=1ae98e295fa2577fb5e492200c58d10230e00e99 <7ca4b085f430f3774c3838b3da569ceccd6a0177, >=1ae98e295fa2577fb5e492200c58d10230e00e99 <98fc9c2cc45cfcb56961a73de3ec69b474063fc01fb3f1bbfdb511034b0360dbeb0f6a8424ed2a5c, 36daf050be3f6f067631dc52054de2d3b7cc849f, 7ca4b085f430f3774c3838b3da569ceccd6a0177, 98fc9c2cc45cfcb56961a73de3ec69b474063fc0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-53662 severity on Zeptric[![CVE-2023-53662](https://zeptric.io/badge/cve/CVE-2023-53662.svg)](https://zeptric.io/cve/CVE-2023-53662)