ASoC: amd: acp: add a null check for chip_pdev structure (Linux Linux)

CVE-2024-42074
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: amd: acp: add a null check for chip_pdev structure When acp platform device creation is skipped, chip->chip_pdev value will remain NULL. Add NULL check for chip->chip_pdev structure in snd_acp_resume() function to avoid null pointer dereference.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
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)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 088a40980efbc2c449b72f0f2c7ebd82f71d08e2 < e158ed266fc1adfa456880fb6dabce2e5623843b ; affected 088a40980efbc2c449b72f0f2c7ebd82f71d08e2 < b0c39ae1cc86afe74aa2f6273ccb514f8d180cf6 ; affected 088a40980efbc2c449b72f0f2c7ebd82f71d08e2 < 98d919dfee1cc402ca29d45da642852d7c9a2301
Linux · Linuxaffected 6.6 ; unaffected 0 < 6.6 ; unaffected 6.6.37 ≤ 6.6.* ; unaffected 6.9.8 ≤ 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