Missing Free in wm8350-power Charger IRQ

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback