Missing Free in wm8350-power Charger IRQ
Summary
GSD-2022-1001532: power: supply: wm8350-power: Add missing free in free_charger_irq. Affects Kernel versions >= 14431aa0c5a443d13d24e6f865a8838f97dab973, < ae07ec8110ba83295c88bff7e85835cc2f6cc4ea. 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 package is responsible for managing power supply in devices that utilize the WM8350 power management IC. It provides functions and drivers for controlling various power-related features, including the charger IRQ. The charger IRQ is responsible for handling interrupts related to the charging functionality of the device.
Vulnerability Detail
The vulnerability in the wm8350-power package involves a missing 'free' operation in the 'free_charger_irq' function. This missing operation can lead to a resource leak, potentially causing memory corruption or exhaustion. An attacker may be able to exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.16.19 or later. This update includes the necessary fix for the missing 'free' operation in the 'free_charger_irq' function. Users should ensure they are running a version of the Linux Kernel that includes this fix.
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.
Conclusion
In conclusion, the wm8350-power package in the Linux Kernel is vulnerable to a missing 'free' operation in the 'free_charger_irq' function. This vulnerability can potentially lead to memory corruption or exhaustion, allowing an attacker to execute arbitrary code or cause a denial-of-service condition. It is recommended to update the Linux Kernel to version v5.16.19 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can potentially allow an attacker to execute arbitrary code or cause a denial-of-service condition.
You can use the Vulert Playground (https://vulert.com/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.
There are no known exploits for this vulnerability at the time of this report.
Yes, a patch is available in the Linux Kernel version v5.16.19 and later.
You can find more information about this vulnerability in the Open Source Vulnerability Database (OSVDB) entry with ID GSD-2022-1001532.
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.