VDB

CVE-2024-39491

CVE-2024-39491 PUBLISHED

ALSA: hda: cs35l56: Fix lifetime of cs_dsp instance

Reported by linux · Published July 10, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.9.4, 6.6.33

Affected products

VendorProductVersions
LinuxLinux73cfbfa9caea8eda54b4c6e49a9555533660aa1e, 73cfbfa9caea8eda54b4c6e49a9555533660aa1e, 73cfbfa9caea8eda54b4c6e49a9555533660aa1e
LinuxLinux6.6, 0, 6.6.33
linuxlinux_kernel6.6, 6.6, 6.6
LinuxLinux0, 6.6.33, 73cfbfa9caea8eda54b4c6e49a9555533660aa1e

Timeline

  • Jul 9, 2024 CVE Published
  • Jul 10, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
  • Jan 8, 2026 Security Advisory (38 in total, the first dated here)
  • May 28, 2026 Distribution Patch (34 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-39491
vulnetix vdb fixes CVE-2024-39491

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-39491/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›