Memory Leak Vulnerability in ab8500_fg_sysfs_init
Summary
GSD-2022-1002502: power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init. Affects Kernel versions >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < 31cdf7897dba1f096b74f69d840f0575b8cdb9ae. 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 ab8500 package is a power supply driver in the Linux Kernel. It provides support for the AB8500 PMIC (Power Management Integrated Circuit) found in various devices. The ab8500_fg_sysfs_init function is responsible for initializing the sysfs interface for the fuel gauge subsystem of the AB8500 PMIC.
Vulnerability Detail
The ab8500_fg_sysfs_init function in the ab8500 power supply driver in the Linux Kernel before v4.9.311 suffers from a memory leak. This vulnerability can be exploited by an attacker to cause a denial-of-service condition by repeatedly initializing the sysfs interface, leading to memory exhaustion. The vulnerability was introduced in version v4.9 of the Linux Kernel and was fixed in version v4.9.311.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, update the Linux Kernel to version v4.9.311 or later. This can be done by pulling the latest changes from the official Linux Kernel repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
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.
Conclusion
The memory leak vulnerability in the ab8500_fg_sysfs_init function of the ab8500 power supply driver in the Linux Kernel can lead to a denial-of-service condition. It is recommended to update the Linux Kernel to version v4.9.311 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can be exploited by an attacker to cause a denial-of-service condition by repeatedly initializing the sysfs interface, leading to memory exhaustion.
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 vulnerabilities.
No, there is no known workaround for this vulnerability. It is recommended to apply the fix by updating the Linux Kernel.
No, this vulnerability requires local access to the system in order to exploit it.
There are no known instances of this vulnerability being exploited in the wild at this time.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.