Critical Vulnerability in Linux Package: ASoC Mediatek Codec Handling

linux Updated 02 Oct 2025

Summary

19/06/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-38551: In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: Assign dummy when codec not specified for a DAI link MediaTek sound card drivers are checking whether a DAI link is present and used on... Affects linux versions < 6.8.12-1. Fixed in 6.8.12-1. 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 Linux package is a core component of the Debian operating system, responsible for managing hardware interactions and system resources. It provides essential functionalities for various hardware components, including sound cards. The package is widely used across different versions of Debian, making it crucial for system stability and performance. This vulnerability specifically affects the MediaTek sound card drivers within the Linux kernel, which are responsible for handling audio input and output.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the ASoC (ALSA System on Chip) subsystem related to MediaTek sound card drivers. The issue arises when the drivers check for the presence of a Digital Audio Interface (DAI) link and its associated codec. If no codec is specified, the system assigns a dummy codec to prevent a NULL pointer dereference during string comparison. This flaw could lead to unexpected behavior or crashes in systems relying on these drivers, potentially impacting audio functionality and overall system stability.

How To Fix

Minimum fixed version

6.8.12-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. However, users are advised to monitor their systems for any unusual behavior and apply the patch as soon as it is available.

Conclusion

The identified vulnerability in the Linux package related to MediaTek sound card drivers poses a significant risk to system stability and audio functionality. Users are strongly encouraged to update to the patched version 6.8.12-1 to ensure their systems remain secure. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves a NULL pointer dereference in MediaTek sound card drivers when no codec is specified for a DAI link.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

The vulnerability could lead to system crashes or unexpected behavior in audio functionalities, affecting user experience.

Yes, a patch is available in version 6.8.12-1 of the Linux package. Users should update to this version to mitigate the risk.

If immediate updating is not possible, monitor your system for unusual behavior and consider limiting the use of affected audio functionalities until the patch can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.8.12-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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