CVE-2024-38551 ASoC: mediatek: Assign dummy when codec not specified for a DAI link

Medium 5.5 Published Updated

A missing null check in MediaTek sound drivers can cause a kernel crash when a codec is not specified, leading to denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-38551?

CVE-2024-38551 is a medium-severity vulnerability in Linux kernel, published on 19 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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 a board to assign the correct parameters and this is done by checking the codec DAI names at probe time.

If no real codec is present, assign the dummy codec to the DAI link to avoid NULL pointer during string comparison.

Weakness: CWE-476

Which versions are affected by CVE-2024-38551?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-38551?

Apply the vendor's patch.

Is CVE-2024-38551 being exploited?

There is no known exploitation of CVE-2024-38551 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-38551, DEBIAN-CVE-2024-38551, GHSA-v4gm-xx5v-3j7m, UBUNTU-CVE-2024-38551.

Is CVE-2024-38551 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free