CVE-2024-50160
JSON

5.5medium

ALSA: hda/cs8409: Fix possible NULL dereference

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.22% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 20e507724113300794f16884e7e7507d9b4dec68 before 4e19aca8db696b6ba4dd8c73657405e15c695f14, from 20e507724113300794f16884e7e7507d9b4dec68 before 21dc97d5086fdabbe278786bb0a03cbf2e26c793, from 20e507724113300794f16884e7e7507d9b4dec68 before 8971fd61210d75fd2af225621cd2fcc87eb1847c, from 20e507724113300794f16884e7e7507d9b4dec68 before a5dd71a8b849626f42d08a5e73d382f2016fc7bc, from 20e507724113300794f16884e7e7507d9b4dec68 before c9bd4a82b4ed32c6d1c90500a52063e6e341517f, 5.15
Not affected: before 5.15, from 5.15.170 up to 5.15.*, from 6.1.115 up to 6.1.*, from 6.6.59 up to 6.6.*, from 6.11.6 up to 6.11.*, from 6.12 up to *
CVE List
linux linux_kernelfrom 5.15 before 5.15.170, from 5.16 before 6.1.115, from 6.2 before 6.6.59, from 6.7 before 6.11.6, 6.12NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ALSA: hda/cs8409: Se corrige una posible desreferencia de NULL. Si snd_hda_gen_add_kctl no puede asignar memoria y devuelve NULL, se producirá una desreferencia de puntero NULL en la siguiente línea. Dado que la función dolphin_fixups es una función hda_fixup que no debería devolver ningún error, se debe agregar una comprobación simple antes de la desreferencia e ignorar el error. Encontrado por Linux Verification Center (linuxtesting.org) con SVACE.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-50160 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-50160 changed 2026-06-17Public domain