Missing Free in wm8350-power Charger IRQ
Summary
GSD-2022-1002435: power: supply: wm8350-power: Add missing free in free_charger_irq. Affects Kernel versions >= 14431aa0c5a443d13d24e6f865a8838f97dab973, < ae64b838bececea902b819a69731cb80cca8f31a. 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 wm8350-power module is responsible for managing power supply on devices that use the WM8350 power management IC. It provides functionality for controlling various power-related features, including battery charging. The vulnerability in the module arises from a missing 'free' operation in the 'free_charger_irq' function. This omission can lead to resource leaks and potential memory corruption.
Vulnerability Detail
The missing 'free' operation in the 'free_charger_irq' function can result in resource leaks and memory corruption. When the charger IRQ is freed, the associated resources are not properly released, leading to potential memory leaks. An attacker may be able to exploit this vulnerability to exhaust system resources or trigger memory corruption, potentially leading to a denial of service or arbitrary code execution.
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, users can mitigate the risk by ensuring they are using the latest version of the Linux Kernel that includes the fix.
Conclusion
The missing 'free' operation in the 'wm8350-power' module's 'free_charger_irq' function can lead to resource leaks and memory corruption. It is recommended to update to Linux Kernel version v4.14.276 or a later version that includes the fix. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can potentially lead to resource leaks and memory corruption. It may allow an attacker to exhaust system resources or execute arbitrary code.
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 to the playground, and it will provide real-time alerts for open-source vulnerabilities.
Yes, the fix for this vulnerability is available in Linux Kernel version v4.14.276. It is recommended to update to this version or a later version that includes the fix.
There are no known exploits for this vulnerability at the moment. However, it is always recommended to apply security patches and updates to mitigate potential risks.
You can find more information about this vulnerability in the GSD-2022-1002435 entry of the GSD database maintained by the Cloud Security Alliance. The entry can be accessed at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002435.json.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.