Refcount Leak in imx_sgtl5000_probe in Kernel

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003113: ASoC: fsl: Fix refcount leak in imx_sgtl5000_probe. Affects Kernel versions >= 81e8e4926167ab32593bbb915b45a42024ca1020, < 4bfbbfdb3d761323127a67d7d765abe2f77d7b21. 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 Kernel is a fundamental component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential services and functionalities to enable the proper functioning of the system. The imx_sgtl5000_probe is a driver in the Kernel responsible for handling the initialization and configuration of the SGTL5000 audio codec on Freescale i.MX platforms.

Vulnerability Detail

The imx_sgtl5000_probe function in the Kernel has a refcount leak vulnerability. This vulnerability can lead to a resource leak, causing memory corruption and potential system instability. An attacker with local access to the system could exploit this vulnerability to escalate privileges or cause a denial-of-service condition. The vulnerability was introduced in version v3.5 of the Kernel and has been fixed in version v5.17.14.

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

As a workaround, users can apply a patch provided by the Kernel maintainers. The patch can be found in the commit 4bfbbfdb3d761323127a67d7d765abe2f77d7b21. Applying the patch involves modifying the affected code in the imx_sgtl5000_probe function to fix the refcount leak issue.

Conclusion

The refcount leak vulnerability in the imx_sgtl5000_probe function of the Kernel can lead to memory corruption and potential system instability. It is crucial to update the Kernel to version v5.17.14 or later to mitigate this vulnerability. Applying the provided patch can serve as a temporary workaround. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can lead to memory corruption and potential system instability. An attacker with local access to the system could exploit this vulnerability to escalate privileges 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 to the playground, and it will analyze the dependencies and alert you if any vulnerabilities are found.

At the time of this report, there is no known public exploit for this vulnerability. However, it is important to apply the necessary fixes to mitigate the risk.

If updating the Kernel is not immediately feasible, applying the provided patch can serve as a temporary mitigation. However, it is strongly recommended to update to the latest version as soon as possible.

You can find more information about this vulnerability in the vulnerability database maintained by the Cloud Security Alliance. The specific vulnerability ID is GSD-2022-1003113.

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