CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-50160: ALSA: hda/cs8409: Fix possible NULL dereference

5.5 CVSS

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.

Classification

CVE ID: CVE-2024-50160

CVSS Base Severity: MEDIUM

CVSS Base Score: 5.5

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

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.02% (probability of being exploited)

EPSS Percentile: 5.11% (scored less or equal to compared to others)

EPSS Date: 2025-06-02 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2024-50160
https://git.kernel.org/stable/c/4e19aca8db696b6ba4dd8c73657405e15c695f14
https://git.kernel.org/stable/c/21dc97d5086fdabbe278786bb0a03cbf2e26c793
https://git.kernel.org/stable/c/8971fd61210d75fd2af225621cd2fcc87eb1847c
https://git.kernel.org/stable/c/a5dd71a8b849626f42d08a5e73d382f2016fc7bc
https://git.kernel.org/stable/c/c9bd4a82b4ed32c6d1c90500a52063e6e341517f

Timeline