Vulnerability in Kernel: ASoC: mediatek: Fix error handling in mt8183_da7219_max98357_dev_probe

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001129: ASoC: mediatek: Fix error handling in mt8183_da7219_max98357_dev_probe. Affects Kernel versions < 9b9f6227e8d0c7c46b6d9d7b8a5c4e0536049fcf. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel is a crucial component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities for device drivers, file systems, and process management. ASoC (Audio System on Chip) is a subsystem within the Kernel that handles audio-related functionalities, including audio codec drivers. The mediatek driver in ASoC is specifically designed for MediaTek SoCs (System on Chips). The mt8183_da7219_max98357_dev_probe function in this driver is responsible for initializing and configuring the DA7219 and MAX98357 audio codecs on the MediaTek MT8183 platform.

Vulnerability Detail

The vulnerability identified in the mt8183_da7219_max98357_dev_probe function can lead to error handling issues. If an error occurs during the initialization or configuration process of the DA7219 or MAX98357 audio codecs, the driver fails to handle the error properly, potentially resulting in system instability or crashes. An attacker with local access to the affected system could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition or 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

As a temporary workaround, users can disable or remove the affected audio codecs from the system. This can be achieved by modifying the device tree configuration or disabling the corresponding kernel modules. However, this workaround may result in the loss of audio functionality for the affected codecs.

Conclusion

The vulnerability in the mt8183_da7219_max98357_dev_probe function of the mediatek ASoC driver can lead to error handling issues, potentially resulting in system instability or crashes. It is recommended to update the Linux Kernel to version v5.17.2 or later to address this vulnerability. Users can also check if their application is affected using the Vulert playground (https://vulert.com/scanner) without requiring access to the code or installation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially lead to system instability, crashes, denial-of-service (DoS) conditions, or arbitrary code execution with elevated privileges.

Any system running the Linux Kernel with the mediatek ASoC driver and utilizing the mt8183_da7219_max98357_dev_probe function is potentially affected.

At the time of this report, there are no known public exploits specifically targeting this vulnerability. However, it is advisable to apply the recommended fix as soon as possible to mitigate any potential risks.

No, this vulnerability requires local access to the affected system in order to exploit it.

For more details about this vulnerability, including the specific code changes and the commit that fixed it, please refer to the provided references link.

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