CVEvulnerability
CVE-2023-53662
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-10-07
- Last modified
- 2026-10-28
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
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.
Affected configurations
• linux linux kernel (>= 5.13 < 6.1.54)
• linux linux kernel (>= 6.2 < 6.5.4)
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/1fb3f1bbfdb511034b0360dbeb0f6a8424ed2a5c Patch
- https://git.kernel.org/stable/c/36daf050be3f6f067631dc52054de2d3b7cc849f Patch
- https://git.kernel.org/stable/c/7ca4b085f430f3774c3838b3da569ceccd6a0177 Patch
- https://git.kernel.org/stable/c/98fc9c2cc45cfcb56961a73de3ec69b474063fc0 git.kernel.org