# CVE-2024-39491: ALSA: hda: cs35l56: Fix lifetime of cs_dsp instance

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-07-10T07:14:10.314Z
- Modified: 2026-06-17T07:42:02.090Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 73cfbfa9caea8eda54b4c6e49a9555533660aa1e before 9054c474f9c219e58a441e401c0e6e38fe713ff1; from 73cfbfa9caea8eda54b4c6e49a9555533660aa1e before 60d5e087e5f334475b032ad7e6ad849fb998f303; from 73cfbfa9caea8eda54b4c6e49a9555533660aa1e before d344873c4cbde249b7152d36a273bcc45864001e; 6.6 (not affected: before 6.6; from 6.6.33 up to 6.6.*; from 6.9.4 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 6.6 before 6.6.33; from 6.7 before 6.9.4

## References

- <https://git.kernel.org/stable/c/9054c474f9c219e58a441e401c0e6e38fe713ff1> (patch)
- <https://git.kernel.org/stable/c/60d5e087e5f334475b032ad7e6ad849fb998f303> (patch)
- <https://git.kernel.org/stable/c/d344873c4cbde249b7152d36a273bcc45864001e> (patch)

## Sources

- CVE List: [CVE-2024-39491](https://www.cve.org/CVERecord?id=CVE-2024-39491), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-39491](https://nvd.nist.gov/vuln/detail/CVE-2024-39491), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-39491 · Whole record: https://cve.day/CVE-2024-39491.json · Rebuilt by cve.day 2026-11-25T22:58:42.734Z
