ASoC: SOF: Intel: hda: fix null deref on system suspend entry (Linux Linux)

CVE-2024-41037
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.27 % · centile 20 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 2b009fa0823c1510700fd17a0780ddd06a460fb4 < 8246bbf818ed7b8d5afc92b951e6d562b45c2450 ; affected 2b009fa0823c1510700fd17a0780ddd06a460fb4 < 993af0f2d9f24e3c18a445ae22b34190d1fcad61 ; affected 2b009fa0823c1510700fd17a0780ddd06a460fb4 < 9065693dcc13f287b9e4991f43aee70cf5538fdd
Linux · Linuxaffected 6.4 ; unaffected 0 < 6.4 ; unaffected 6.6.41 ≤ 6.6.* ; unaffected 6.9.10 ≤ 6.9.* ; unaffected 6.10 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD