CVE-2023-53396

MEDIUM

Linux Kernel 5.15.33-5.15.112 - Use-After-Free in UBIFS Rename Operation

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: ubifs: Fix memory leak in do_rename If renaming a file in an encrypted directory, function fscrypt_setup_filename allocates memory for a file name. This name is never used, and before returning to the caller the memory for it is not freed. When running kmemleak on it we see that it is registered as a leak. The report below is triggered by a simple program 'rename' that renames a file in an encrypted directory: unreferenced object 0xffff888101502840 (size 32): comm "rename", pid 9404, jiffies 4302582475 (age 435.735s) backtrace: __kmem_cache_alloc_node __kmalloc fscrypt_setup_filename do_rename ubifs_rename vfs_rename do_renameat2 To fix this we can remove the call to fscrypt_setup_filename as it's not needed.

Scores

CVSS v3 5.5
EPSS 0.0014
EPSS Percentile 3.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-401
Status published
Products (18)
Linux/Linux < 5.18
Linux/Linux 17495eb2f7f08113b50aba298c2c1a045824c4f7
Linux/Linux 278d9a243635f26c05ad95dcf9c5a593b9e04dc6 - 3a36d20e012903f45714df2731261fdefac900cb
Linux/Linux 278d9a243635f26c05ad95dcf9c5a593b9e04dc6 - 517ddc0259d7a7231486bdafde8035c478bc4088
Linux/Linux 278d9a243635f26c05ad95dcf9c5a593b9e04dc6 - 7e264f67b7d6580eff5c2696961039fd05c69258
Linux/Linux 278d9a243635f26c05ad95dcf9c5a593b9e04dc6 - 9f565752b328fe53c9e42b7d4e4d89a1da63d738
Linux/Linux 5.15.112 - 5.15.*
Linux/Linux 5.15.33 - 5.15.112
Linux/Linux 5.16.19 - 5.17
Linux/Linux 5.17.2 - 5.18
... and 8 more
Published Sep 18, 2025
Tracked Since Feb 18, 2026