Memory Leak in Linux Kernel Affecting Encrypted Directories
CVE-2023-53276
What is CVE-2023-53276?
A memory leak has been identified in the Linux kernel affecting the handling of temporary files on encrypted directories through the ubifs filesystem. Specifically, when a tmpfile is created, memory allocated for the filename is not properly freed after being copied to the directory entry inode. This results in unreferenced memory that can lead to an increase in memory usage over time, potentially causing performance issues. The memory leak can be observed using kmemleak, prompting the need for corrective measures to manage memory effectively in tmpfile operations.
Affected Version(s)
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 8ad8c67a897e68426e85990ebfe0a7d1f71fc79f
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 107d481642c356a5668058066360fc473911e628
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 823f554747f8aafaa965fb2f3ae794110ed429ef