CVE-2024-57805

MEDIUM

Linux Kernel - Use-After-Free in ASoC SOF Intel HDA-DAI Link DMA Handling

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0017
EPSS Percentile 6.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (12)
linux/Kernel 6.12.0 - 6.12.8linux
Linux/Linux < 6.12
Linux/Linux 6.11.6 - 6.12
Linux/Linux 6.12
Linux/Linux 6.12.8 - 6.12.*
Linux/Linux 6.13
Linux/Linux ab5593793e9088abcddce30ba8e376e31b7285fd - 909ecf15cb70f78cdb5c930f58df01db039a0ff8
Linux/Linux ab5593793e9088abcddce30ba8e376e31b7285fd - e8d0ba147d901022bcb69da8d8fd817f84e9f3ca
Linux/Linux ec0c7735dd014e54e55bc3bf4ed2e73d56bb00b3
linux/linux_kernel 6.12 (4 CPE variants)
... and 2 more
Published Jan 11, 2025
Tracked Since Feb 18, 2026