ASoC: SOF: Intel: hda: fix null deref on system suspend entry
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.6.416.9.106.10In the Linux kernel, the following vulnerability has been resolved:
ASoC: SOF: Intel: hda: fix null deref on system suspend entry
When system enters suspend with an active stream, SOF core calls hw_params_upon_resume(). On Intel platforms with HDA DMA used to manage the link DMA, this leads to call chain of
hda_dsp_set_hw_params_upon_resume() -> hda_dsp_dais_suspend() -> hda_dai_suspend() -> hda_ipc4_post_trigger()
A bug is hit in hda_dai_suspend() as hda_link_dma_cleanup() is run first, which clears hext_stream->link_substream, and then hda_ipc4_post_trigger() is called with a NULL snd_pcm_substream pointer.
From the CVE record · Linux
The Linux kernel’s Intel SOF HDA audio code can dereference a null pointer when the system enters suspend with an active stream. The issue occurs on Intel platforms using HDA DMA to manage link DMA. The input does not describe an attacker, authentication requirements, or user interaction.
Engineers running the Linux kernel on Intel platforms that use HDA DMA to manage link DMA should check their affected versions; none are specified in the input.