Memory Leak Vulnerability in Linux Kernel: exfat Package Affected
Summary
DEBIAN-CVE-2024-47677: In the Linux kernel, the following vulnerability has been resolved: exfat: resolve memory leak from exfat_create_upcase_table() If exfat_load_upcase_table reaches end and returns -EINVAL, allocated memory doesn't get fre... Affects linux versions < 6.11.2-1. Fixed in 6.11.2-1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Linux kernel is the core component of many operating systems, providing essential services for hardware and software interaction. It supports a wide range of functionalities, including process management, memory management, and device control. The exfat filesystem is designed for flash drives and external storage, allowing for large file sizes and compatibility across different operating systems. However, a recent vulnerability has been identified that could lead to memory leaks when handling specific operations within the exfat module.
Vulnerability Detail
In the Linux kernel, a vulnerability has been discovered in the exfat filesystem related to memory management. Specifically, the function exfat_create_upcase_table() does not properly free allocated memory when an error occurs in exfat_load_upcase_table, leading to a memory leak. If exfat_load_upcase_table reaches the end and returns -EINVAL, the allocated memory remains unfreed, causing a buildup of memory usage. This issue can potentially degrade system performance and lead to resource exhaustion over time.
How To Fix
Minimum fixed version
6.11.2-1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade linux
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to apply the patch as soon as it is available.
Conclusion
The memory leak vulnerability in the Linux kernel's exfat filesystem poses a risk to system performance and resource management. Users are urged to update to the latest patched version to mitigate this issue. Regular monitoring and timely updates are essential for maintaining system security.
See every vulnerability recorded for linux →
FAQ
The vulnerability is a memory leak in the exfat filesystem of the Linux kernel, which can lead to increased memory usage and potential system performance issues.
You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected without any signup.
If exploited, this vulnerability can lead to resource exhaustion, causing the system to slow down or become unresponsive due to excessive memory consumption.
Yes, a patch is available in version 6.11.2-1 of the Linux package. Users are encouraged to update to this version or later to mitigate the risk.
While there are no specific workarounds, it is advisable to monitor your system's memory usage closely and plan for an update as soon as possible.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.