Missing Free in wm8350-power Charger IRQ
Summary
GSD-2022-1002246: power: supply: wm8350-power: Add missing free in free_charger_irq. Affects Kernel versions >= 14431aa0c5a443d13d24e6f865a8838f97dab973, < 90bec38f6a4c81814775c7f3dfc9acf281d5dcfa. 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 is a power supply driver in the Linux Kernel. It is responsible for managing power supply features on devices that use the WM8350 power management IC. This vulnerability specifically affects the charger IRQ functionality of the driver.
Vulnerability Detail
The vulnerability arises from a missing 'free' operation in the 'free_charger_irq' function of the wm8350-power driver. This omission can lead to resource leaks and potential memory corruption. An attacker may be able to exploit this vulnerability to cause a denial-of-service condition or execute arbitrary code with elevated privileges.
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.
Conclusion
The missing 'free' operation in the wm8350-power driver's 'free_charger_irq' function can lead to resource leaks and potential memory corruption. It is recommended to update to Linux Kernel version v5.4.189 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
wm8350-power is a power supply driver in the Linux Kernel that manages power supply features on devices using the WM8350 power management IC.
This vulnerability can lead to resource leaks and potential memory corruption. An attacker may be able to cause a denial-of-service condition or execute arbitrary code with elevated privileges.
To fix this vulnerability, update your Linux Kernel to version v5.4.189 or later, which includes the necessary fix commit 90bec38f6a4c81814775c7f3dfc9acf281d5dcfa.
No specific workaround has been mentioned for this vulnerability.
You can find more information about this vulnerability in the Open Source Vulnerability Database (OSVDB) entry GSD-2022-1002246.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.