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.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 1ae98e295fa2577fb5e492200c58d10230e00e99, < 98fc9c2cc45cfcb56961a73de3ec69b474063fc0; >= 1ae98e295fa2577fb5e492200c58d10230e00e99, < 1fb3f1bbfdb511034b0360dbeb0f6a8424ed2a5c; >= 1ae98e295fa2577fb5e492200c58d10230e00e99, < 36daf050be3f6f067631dc52054de2d3b7cc849f; >= 1ae98e295fa2577fb5e492200c58d10230e00e99, < 7ca4b085f430f3774c3838b3da569ceccd6a0177 |
| Linux | Linux | 5.13 |
References
- https://git.kernel.org/stable/c/1fb3f1bbfdb511034b0360dbeb0f6a8424ed2a5cPatch
- https://git.kernel.org/stable/c/36daf050be3f6f067631dc52054de2d3b7cc849fPatch
- https://git.kernel.org/stable/c/7ca4b085f430f3774c3838b3da569ceccd6a0177Patch
- https://git.kernel.org/stable/c/98fc9c2cc45cfcb56961a73de3ec69b474063fc0
Timeline
- Published
- Oct 7, 2025
- Last modified
- Oct 28, 2026
- NVD status
- Modified