CVE-2024-41037

medium

Description

In 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.

References

https://git.kernel.org/stable/c/993af0f2d9f24e3c18a445ae22b34190d1fcad61

https://git.kernel.org/stable/c/9065693dcc13f287b9e4991f43aee70cf5538fdd

https://git.kernel.org/stable/c/8246bbf818ed7b8d5afc92b951e6d562b45c2450

Details

Source: Mitre, NVD

Published: 2024-07-29

Updated: 2024-08-08

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium