CVE-2024-39491

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
10/07/2024
Last modified:
17/09/2025

Description

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

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.6 (including) 6.6.33 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.9.4 (excluding)