Kernel Memory Leak Vulnerability in Linux Package - DEBIAN-CVE-2024-38539
Summary
DEBIAN-CVE-2024-38539: In the Linux kernel, the following vulnerability has been resolved: RDMA/cma: Fix kmemleak in rdma_core observed during blktests nvme/rdma use siw When running blktests nvme/rdma, the following kmemleak issue will appear... Affects linux versions < 6.8.12-1. Fixed in 6.8.12-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 package is a core component of the Debian operating system, providing essential functionalities for managing hardware and system resources. It is responsible for facilitating communication between software and hardware, ensuring efficient operation of applications. This vulnerability specifically affects the RDMA (Remote Direct Memory Access) component, which is crucial for high-performance networking. The issue arises from improper memory management, leading to potential memory leaks during specific operations.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the RDMA/cma component, which fails to properly manage memory allocation. This issue manifests as a kernel memory leak when running blktests nvme/rdma. The root cause is that the function rdma_put_gid_attr is not invoked when the sgid_attr is set to ERR_PTR(-ENODEV). This oversight can lead to unreferenced memory objects accumulating, which may degrade system performance and stability over time. The vulnerability is tracked under the identifier DEBIAN-CVE-2024-38539.
How To Fix
Minimum fixed version
6.8.12-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 mentioned for this vulnerability. It is advisable to apply the patch as soon as it is available to mitigate any risks associated with the memory leak.
Conclusion
The vulnerability DEBIAN-CVE-2024-38539 in the Linux kernel poses a risk of memory leaks in the RDMA component. It is crucial for users to update their systems to the patched version to ensure optimal performance and stability. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for linux →
FAQ
DEBIAN-CVE-2024-38539 is a vulnerability in the Linux kernel that causes memory leaks in the RDMA component during certain operations.
You can use the Vulert platform to check for vulnerabilities in your application. Simply upload your manifest file like package-lock.json to monitor for any open-source vulnerabilities.
If left unpatched, this vulnerability can lead to degraded system performance and stability due to unreferenced memory objects accumulating over time.
Yes, a patch is available in version 6.8.12-1 of the Linux package. It is recommended to update to this version or later.
You can update the Linux package by running the command 'sudo apt-get update && sudo apt-get install linux' in your terminal.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.