CVE-2024-50160

ALSA: hda/cs8409: Fix possible NULL dereference

State
Published
Severity
5.5 Medium
Published
Nov 7, 2024
Updated
May 11, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 20e507724113300794f16884e7e7507d9b4dec68 to before 4e19aca8db696b6ba4dd8c73657405e15c695f14Affected
  • 20e507724113300794f16884e7e7507d9b4dec68 to before 21dc97d5086fdabbe278786bb0a03cbf2e26c793Affected
  • 20e507724113300794f16884e7e7507d9b4dec68 to before 8971fd61210d75fd2af225621cd2fcc87eb1847cAffected
  • 20e507724113300794f16884e7e7507d9b4dec68 to before a5dd71a8b849626f42d08a5e73d382f2016fc7bcAffected
  • 20e507724113300794f16884e7e7507d9b4dec68 to before c9bd4a82b4ed32c6d1c90500a52063e6e341517fAffected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 5.15.170 through 5.15.*Not affected
  • 6.1.115 through 6.1.*Not affected
  • 6.6.59 through 6.6.*Not affected
  • 6.11.6 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.