Memory Leak in mm/huge_memory Package
Summary
GSD-2022-1002580: mm/huge_memory: Fix xarray node memory leak. Affects Kernel versions >= 6b24ca4a1a8d4ee3221d6d44ddbb99f542e4bda3, < 95c8181b4947e000f3b9b8e5918d899fce77b93d. No fix is published. 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 mm/huge_memory package is a component of the Linux Kernel, which is responsible for managing memory allocation and deallocation in the system. It includes functionality related to handling huge pages, which are larger memory pages used to improve performance. The package is critical for the proper functioning of the operating system.
Vulnerability Detail
The vulnerability identified in the mm/huge_memory package is a memory leak in the xarray node. A memory leak occurs when memory is allocated but not properly deallocated, leading to a gradual depletion of available memory resources. This vulnerability can potentially result in system instability, performance degradation, and denial-of-service attacks. It was introduced in version v5.17 of the Linux Kernel and has been fixed in version v5.18.4.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no known workaround for this vulnerability. It is necessary to update the Linux Kernel to the fixed version to mitigate the risk.
Conclusion
The memory leak vulnerability in the mm/huge_memory package of the Linux Kernel can have serious consequences for system stability and performance. It is crucial to update the kernel to version v5.18.4 or later to address this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to memory exhaustion, system instability, and potential denial-of-service attacks.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.
At the time of this report, there is no known exploit for this vulnerability. However, it is important to patch the system as soon as possible to prevent any potential exploitation.
No, only versions from v5.17 to v5.18.3 are affected. The vulnerability has been fixed in version v5.18.4.
No, updating the Linux Kernel to the fixed version is the recommended solution. Manually fixing the vulnerability without the kernel update may not be feasible or effective.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.