CVE-2024-50160

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*

History

13 Nov 2024, 16:13

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/21dc97d5086fdabbe278786bb0a03cbf2e26c793 - () https://git.kernel.org/stable/c/21dc97d5086fdabbe278786bb0a03cbf2e26c793 - Patch
References () https://git.kernel.org/stable/c/4e19aca8db696b6ba4dd8c73657405e15c695f14 - () https://git.kernel.org/stable/c/4e19aca8db696b6ba4dd8c73657405e15c695f14 - Patch
References () https://git.kernel.org/stable/c/8971fd61210d75fd2af225621cd2fcc87eb1847c - () https://git.kernel.org/stable/c/8971fd61210d75fd2af225621cd2fcc87eb1847c - Patch
References () https://git.kernel.org/stable/c/a5dd71a8b849626f42d08a5e73d382f2016fc7bc - () https://git.kernel.org/stable/c/a5dd71a8b849626f42d08a5e73d382f2016fc7bc - Patch
References () https://git.kernel.org/stable/c/c9bd4a82b4ed32c6d1c90500a52063e6e341517f - () https://git.kernel.org/stable/c/c9bd4a82b4ed32c6d1c90500a52063e6e341517f - Patch
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-476

08 Nov 2024, 19:01

Type Values Removed Values Added
Summary
  • (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.

07 Nov 2024, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-11-07 10:15

Updated : 2024-11-13 16:13


NVD link : CVE-2024-50160

Mitre link : CVE-2024-50160

CVE.ORG link : CVE-2024-50160


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference