Vulnerability in ASoC mxs: Error Handling in mxs_sgtl5000_probe

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002103: ASoC: mxs: Fix error handling in mxs_sgtl5000_probe. Affects Kernel versions >= e968194b45c4e8077dada75c5bae5660b37628fe, < 86b6cf989437e694fd0a15782b5a513853a739e0. 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 system-on-chip (SoC) platforms. One of the supported platforms is mxs, which includes the mxs_sgtl5000 driver for the Freescale i.MX23/i.MX28 SoCs. This driver enables audio functionality for devices using the SGTL5000 codec. However, a vulnerability has been discovered in the mxs_sgtl5000_probe function, which handles the initialization of the SGTL5000 codec. This vulnerability can potentially be exploited to cause a denial-of-service (DoS) condition or execute arbitrary code in the context of the kernel.

Vulnerability Detail

The vulnerability in mxs_sgtl5000_probe arises from improper error handling. When certain error conditions occur during the initialization process, the driver fails to properly clean up resources, leading to potential memory leaks or other issues. An attacker with local access to the system may be able to trigger these error conditions and exploit the vulnerability. Successful exploitation could result in a DoS condition, where the audio functionality becomes unavailable, or even allow the attacker to execute arbitrary code with kernel privileges. It is important to note that the impact and attack plausibility of this vulnerability have not been proven.

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 disable the mxs_sgtl5000 driver if it is not required for their system. This can be achieved by blacklisting the driver module or configuring the kernel to exclude it during the build process. However, it is important to consider the impact of disabling the driver on the audio functionality of the affected devices.

Conclusion

The ASoC mxs_sgtl5000_probe vulnerability in the Linux Kernel has been identified and addressed. Users are advised to update their kernel to a version that includes the fix. Disabling the mxs_sgtl5000 driver can serve as a temporary workaround, but it is important to consider the impact on audio functionality. 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 integrated into system-on-chip (SoC) platforms.

This vulnerability affects devices using the mxs platform and the mxs_sgtl5000 driver for the Freescale i.MX23/i.MX28 SoCs.

The vulnerability could lead to a denial-of-service (DoS) condition, where the audio functionality becomes unavailable. In some cases, it may also allow an attacker to execute arbitrary code with kernel privileges.

No, the impact and attack plausibility of this vulnerability have not been proven.

To fix the vulnerability, it is recommended to update the Linux Kernel to version v5.10.110 or later, which includes the necessary fix.

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