CVE-2024-58012 ASoC: SOF: Intel: hda-dai: Ensure DAI widget is valid during params

Medium 5.5 Published Updated

A missing check in the Linux kernel's Intel HDA driver allows a local attacker to cause a system crash via a null pointer dereference.

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-58012?

CVE-2024-58012 is a medium-severity vulnerability in Linux kernel, published on 27 Feb 2025. 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: SOF: Intel: hda-dai: Ensure DAI widget is valid during params

Each cpu DAI should associate with a widget. However, the topology might not create the right number of DAI widgets for aggregated amps. And it will cause NULL pointer deference. Check that the DAI widget associated with the CPU DAI is valid to prevent NULL pointer deference due to missing DAI widgets in topologies with aggregated amps.

Weakness: CWE-476

Which versions are affected by CVE-2024-58012?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-58012?

Apply the vendor's patch.

Is CVE-2024-58012 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-57899, AZL-57911, BELL-CVE-2024-58012, DEBIAN-CVE-2024-58012, GHSA-r4cp-jgm6-j6m3, ROOT-OS-DEBIAN-11-CVE-2024-58012 and 4 more.

Is CVE-2024-58012 in your software?

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

Check your SBOMs for free