CVE-2024-57805 ASoC: SOF: Intel: hda-dai: Do not release the link DMA on STOP

Medium 5.5 Published Updated

A race condition in the Linux kernel Intel HDA audio driver allows stream interference, potentially causing firmware errors or system crashes.

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

CVE-2024-57805 is a medium-severity vulnerability in Linux kernel, published on 11 Jan 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: Do not release the link DMA on STOP

The linkDMA should not be released on stop trigger since a stream re-start might happen without closing of the stream. This leaves a short time for other streams to 'steal' the linkDMA since it has been released.

This issue is not easy to reproduce under normal conditions as usually after stop the stream is closed, or the same stream is restarted, but if another stream got in between the stop and start, like this: aplay -Dhw:0,3 -c2 -r48000 -fS32_LE /dev/zero -d 120 CTRL+z aplay -Dhw:0,0 -c2 -r48000 -fS32_LE /dev/zero -d 120

then the link DMA channels will be mixed up, resulting firmware error or crash.

Which versions are affected by CVE-2024-57805?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-57805?

Apply the vendor's patch.

Is CVE-2024-57805 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-57805, DEBIAN-CVE-2024-57805, GHSA-vg48-78jc-v8h9, UBUNTU-CVE-2024-57805.

Is CVE-2024-57805 in your software?

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

Check your SBOMs for free