Memory Leak in habanalabs MMU DR fini
Summary
GSD-2022-1001033: habanalabs: fix possible memory leak in MMU DR fini. Affects Kernel versions < 30058d3a83cfe8c6aacbfe5ab13c01dd0c1799e3. 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 habanalabs package is a component of the Linux Kernel ecosystem. It provides support for Habana Labs AI accelerators. These accelerators are used for machine learning and artificial intelligence workloads. The MMU DR (Memory Management Unit Device Register) is responsible for managing memory resources for these accelerators. However, a vulnerability has been discovered in the MMU DR fini function, which may lead to a memory leak.
Vulnerability Detail
The vulnerability in the habanalabs MMU DR fini function can result in a memory leak. When the function is called to release resources, it may fail to properly deallocate memory, causing a leak. This can lead to a gradual depletion of available memory, potentially impacting system performance and stability. The vulnerability has been addressed in the Linux Kernel version v5.17.3 by commit 30058d3a83cfe8c6aacbfe5ab13c01dd0c1799e3.
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 specific workaround mentioned for this vulnerability. However, applying the recommended fix by updating the Linux Kernel should address the issue.
Conclusion
The habanalabs package in the Linux Kernel is vulnerable to a memory leak in the MMU DR fini function. This vulnerability can lead to a gradual depletion of available memory, impacting system performance and stability. It is recommended to update the Linux Kernel to version v5.17.3 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
Habanalabs is a package in the Linux Kernel ecosystem that provides support for Habana Labs AI accelerators used for machine learning and artificial intelligence workloads.
The MMU DR fini function is responsible for releasing resources and deallocating memory used by the Memory Management Unit Device Register in habanalabs.
A memory leak occurs when memory is allocated but not properly deallocated, leading to a gradual depletion of available memory over time.
The memory leak caused by this vulnerability can result in reduced system performance and stability due to the gradual depletion of available memory.
To fix this vulnerability, update the Linux Kernel to version v5.17.3 or later.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.