CVE-2024-50160

medium

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.

References

https://git.kernel.org/stable/c/c9bd4a82b4ed32c6d1c90500a52063e6e341517f

https://git.kernel.org/stable/c/a5dd71a8b849626f42d08a5e73d382f2016fc7bc

https://git.kernel.org/stable/c/8971fd61210d75fd2af225621cd2fcc87eb1847c

https://git.kernel.org/stable/c/4e19aca8db696b6ba4dd8c73657405e15c695f14

https://git.kernel.org/stable/c/21dc97d5086fdabbe278786bb0a03cbf2e26c793

Details

Source: Mitre, NVD

Published: 2024-11-07

Updated: 2024-11-13

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

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

Severity: Medium