CVE-2024-39491
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().
Does this matter?
Lower severity and a low EPSS score (0.21%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 5.5 MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 0.21% probability · 12th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-908
- Affected
- linux/linux kernel
- Source
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
References
- https://git.kernel.org/stable/c/60d5e087e5f334475b032ad7e6ad849fb998f303Patch
- https://git.kernel.org/stable/c/9054c474f9c219e58a441e401c0e6e38fe713ff1Patch
- https://git.kernel.org/stable/c/d344873c4cbde249b7152d36a273bcc45864001ePatch
- https://git.kernel.org/stable/c/60d5e087e5f334475b032ad7e6ad849fb998f303Patch
- https://git.kernel.org/stable/c/9054c474f9c219e58a441e401c0e6e38fe713ff1Patch
- https://git.kernel.org/stable/c/d344873c4cbde249b7152d36a273bcc45864001ePatch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.