ASoC: mxs: Fix error handling in mxs_sgtl5000_probe

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002257: ASoC: mxs: Fix error handling in mxs_sgtl5000_probe. Affects Kernel versions >= e968194b45c4e8077dada75c5bae5660b37628fe, < 67e12f1cb2f97468c12b59e21975eaa0f332e7d2. 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 ASoC (Audio System on Chip) framework in the Linux Kernel provides support for audio devices integrated into SoCs (System on Chips). The mxs_sgtl5000 driver is responsible for handling the SGTL5000 audio codec on Freescale i.MX23/i.MX28 platforms. The SGTL5000 is a low-power stereo codec with a headphone amplifier and is commonly used in embedded systems. The mxs_sgtl5000_probe function is responsible for initializing and configuring the SGTL5000 codec during system boot.

Vulnerability Detail

The mxs_sgtl5000_probe function in the mxs_sgtl5000 driver in the ASoC framework of the Linux Kernel has an error handling issue. If the initialization of the SGTL5000 codec fails, the error handling code does not properly clean up resources, leading to a potential resource leak. An attacker with local access to the system could exploit this vulnerability to cause a denial-of-service condition or potentially 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 known workaround for this vulnerability. It is recommended to update the Linux Kernel to the fixed version.

Conclusion

The mxs_sgtl5000_probe function in the mxs_sgtl5000 driver of the ASoC framework in the Linux Kernel has an error handling issue that could lead to a resource leak. It is recommended to update the Linux Kernel to 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 →

Share this vulnerability

FAQ

The ASoC (Audio System on Chip) framework is a part of the Linux Kernel that provides support for audio devices integrated into SoCs (System on Chips). It allows for the configuration and control of audio codecs and audio interfaces on embedded systems.

The mxs_sgtl5000 driver is responsible for handling the SGTL5000 audio codec on Freescale i.MX23/i.MX28 platforms. The SGTL5000 is a low-power stereo codec with a headphone amplifier commonly used in embedded systems.

If exploited, this vulnerability could lead to a denial-of-service condition or potentially allow an attacker to execute arbitrary code with elevated privileges.

To fix this vulnerability, update your Linux Kernel to version v5.4.189 or later.

There is no known workaround for this vulnerability. It is recommended to update the Linux Kernel to the fixed version.

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