CVE-2024-39491

MEDIUM

Linux Kernel 6.6-6.6.32, 6.7-6.9.3 - Use of Uninitialized Resource in ALSA HDA CS35L56 Driver

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: hda: cs35l56: Fix lifetime of cs_dsp instance The cs_dsp instance is initialized in the driver probe() so it should be freed in the driver remove(). Also fix a missing call to cs_dsp_remove() in the error path of cs35l56_hda_common_probe(). The call to cs_dsp_remove() was being done in the component unbind callback cs35l56_hda_unbind(). This meant that if the driver was unbound and then re-bound it would be using an uninitialized cs_dsp instance. It is best to initialize the cs_dsp instance in probe() so that it can return an error if it fails. The component binding API doesn't have any error handling so there's no way to handle a failure if cs_dsp was initialized in the bind.

Scores

CVSS v3 5.5
EPSS 0.0021
EPSS Percentile 11.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-908
Status published
Products (11)
linux/Kernel 6.6.0 - 6.6.33linux
linux/Kernel 6.7.0 - 6.9.4linux
Linux/Linux < 6.6
Linux/Linux 6.10
Linux/Linux 6.6
Linux/Linux 6.6.33 - 6.6.*
Linux/Linux 6.9.4 - 6.9.*
Linux/Linux 73cfbfa9caea8eda54b4c6e49a9555533660aa1e - 60d5e087e5f334475b032ad7e6ad849fb998f303
Linux/Linux 73cfbfa9caea8eda54b4c6e49a9555533660aa1e - 9054c474f9c219e58a441e401c0e6e38fe713ff1
Linux/Linux 73cfbfa9caea8eda54b4c6e49a9555533660aa1e - d344873c4cbde249b7152d36a273bcc45864001e
... and 1 more
Published Jul 10, 2024
Tracked Since Feb 18, 2026