ASoC: SOF: Intel: hda-dai: Do not release the link DMA on STOP
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.86.13In 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.
From the CVE record · Linux
The Linux kernel’s Intel SOF hda-dai driver releases a link DMA channel when an audio stream stops, even though that stream may restart without closing. If another local audio stream takes the channel before the first restarts, the channels can become mixed up, causing a firmware error or crash. This requires the described sequence of audio-stream actions; the input does not specify authentication requirements.
Engineers running the Linux kernel with Intel SOF audio should check their systems; affected versions are not specified.