ASoC: fsl: Fix refcount leak in imx_sgtl5000_probe

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002772: ASoC: fsl: Fix refcount leak in imx_sgtl5000_probe. Affects Kernel versions >= 81e8e4926167ab32593bbb915b45a42024ca1020, < 7f75e9f629ef54a0845b43889d8ab9dd6e280dd5. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The ASoC (Audio System on Chip) framework in the Linux Kernel provides support for audio devices on embedded systems. The fsl (Freescale) module is responsible for handling audio functionality on Freescale i.MX SoCs. The imx_sgtl5000_probe function is used to initialize the SGTL5000 audio codec on i.MX SoCs. This vulnerability affects the imx_sgtl5000_probe function and can lead to a refcount leak.

Vulnerability Detail

The vulnerability in imx_sgtl5000_probe results in a refcount leak. When the function is called, it fails to properly release the reference count on the audio codec, leading to a resource leak. This can potentially result in resource exhaustion and impact the stability and performance of the system. An attacker may be able to exploit this vulnerability to cause a denial-of-service condition or potentially execute arbitrary code.

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 known workaround for this vulnerability. It is recommended to apply the fix mentioned above.

Conclusion

The vulnerability in the imx_sgtl5000_probe function of the ASoC fsl module can lead to a refcount leak, potentially causing resource exhaustion and impacting system stability. It is recommended to update the Linux Kernel to version v5.18.3 or later to fix this vulnerability. No known workarounds are available. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

ASoC stands for Audio System on Chip. It is a framework in the Linux Kernel that provides support for audio devices on embedded systems.

The fsl module is responsible for handling audio functionality on Freescale i.MX SoCs.

The imx_sgtl5000_probe function is used to initialize the SGTL5000 audio codec on i.MX SoCs.

A refcount leak occurs when a reference count is not properly released, leading to a resource leak.

This vulnerability can result in resource exhaustion, impacting the stability and performance of the system. It may also allow an attacker to cause a denial-of-service condition or execute arbitrary code.

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