Memory Leak in dmi-sysfs in Linux Kernel
Summary
GSD-2022-1003723: firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle. Affects Kernel versions >= 948af1f0bbc8526448e8cbe3f8d3bf211bdf5181, < a724634b2a49f6ff0177a9e19a5a92fc1545e1b7. 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 Linux Kernel is the core component of the Linux operating system. It provides essential functionality and interfaces for various hardware and software components. The dmi-sysfs subsystem in the Linux Kernel is responsible for exposing Desktop Management Interface (DMI) information through the sysfs interface. DMI is a standard for describing hardware components of a computer system.
The dmi_sysfs_register_handle function in the dmi-sysfs subsystem has a memory leak vulnerability. This vulnerability allows an attacker to cause a memory leak by repeatedly registering DMI handles, which can lead to resource exhaustion and potential denial of service (DoS) attacks. The vulnerability was introduced in version 2.6.39 of the Linux Kernel and is fixed in version 5.4.198.
Vulnerability Detail
The memory leak vulnerability in dmi-sysfs can be exploited by an attacker to exhaust system resources and potentially cause a denial of service (DoS) condition. By repeatedly registering DMI handles, an attacker can trigger the memory leak, leading to the consumption of available memory. This can result in degraded system performance, unresponsiveness, or even system crashes. The vulnerability was introduced in version 2.6.39 of the Linux Kernel and is fixed in version 5.4.198.
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 recommended to apply the fix by updating the Linux Kernel to the latest version.
Conclusion
The memory leak vulnerability in dmi-sysfs in the Linux Kernel can lead to resource exhaustion and potential denial of service (DoS) attacks. It is recommended to update the Linux Kernel to version 5.4.198 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to resource exhaustion and potential denial of service (DoS) attacks. It can cause system performance degradation, unresponsiveness, or even system crashes.
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 known vulnerabilities.
At the time of this report, there is no known public exploit for this vulnerability. However, it is important to apply the fix as soon as possible to mitigate the risk.
No, this vulnerability requires local access to the system in order to exploit it.
There are no reported incidents related to this vulnerability at the time of this report.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.