CVE-2024-39491

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedJul 10, 2024
First seenJul 10, 2024

How to fix

Update
  • linux linux_kernel6.6.33, 6.9.4 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel6.6 ≤ v < 6.6.33, 6.7 ≤ v < 6.9.46.6.33, 6.9.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.