ALSA: hda/cs8409: Fix possible NULL dereference (Linux Linux)

CVE-2024-50160
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: hda/cs8409: Fix possible NULL dereference If snd_hda_gen_add_kctl fails to allocate memory and returns NULL, then NULL pointer dereference will occur in the next line. Since dolphin_fixups function is a hda_fixup function which is not supposed to return any errors, add simple check before dereference, ignore the fail. Found by Linux Verification Center (linuxtesting.org) with SVACE.

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:HCISA-ADP
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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 20e507724113300794f16884e7e7507d9b4dec68 < 4e19aca8db696b6ba4dd8c73657405e15c695f14 ; affected 20e507724113300794f16884e7e7507d9b4dec68 < 21dc97d5086fdabbe278786bb0a03cbf2e26c793 ; affected 20e507724113300794f16884e7e7507d9b4dec68 < 8971fd61210d75fd2af225621cd2fcc87eb1847c ; affected 20e507724113300794f16884e7e7507d9b4dec68 < a5dd71a8b849626f42d08a5e73d382f2016fc7bc ; affected 20e507724113300794f16884e7e7507d9b4dec68 < c9bd4a82b4ed32c6d1c90500a52063e6e341517f
Linux · Linuxaffected 5.15 ; unaffected 0 < 5.15 ; unaffected 5.15.170 ≤ 5.15.* ; unaffected 6.1.115 ≤ 6.1.* ; unaffected 6.6.59 ≤ 6.6.* ; unaffected 6.11.6 ≤ 6.11.*

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