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.
References
Configurations
Configuration 1 (hide)
|
History
17 Sep 2025, 16:15
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
References | () https://git.kernel.org/stable/c/60d5e087e5f334475b032ad7e6ad849fb998f303 - Patch | |
References | () https://git.kernel.org/stable/c/9054c474f9c219e58a441e401c0e6e38fe713ff1 - Patch | |
References | () https://git.kernel.org/stable/c/d344873c4cbde249b7152d36a273bcc45864001e - Patch | |
First Time |
Linux
Linux linux Kernel |
|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.5 |
CWE | CWE-908 |
21 Nov 2024, 09:27
Type | Values Removed | Values Added |
---|---|---|
References | () https://git.kernel.org/stable/c/60d5e087e5f334475b032ad7e6ad849fb998f303 - | |
References | () https://git.kernel.org/stable/c/9054c474f9c219e58a441e401c0e6e38fe713ff1 - | |
References | () https://git.kernel.org/stable/c/d344873c4cbde249b7152d36a273bcc45864001e - |
11 Jul 2024, 13:05
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
10 Jul 2024, 08:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-07-10 08:15
Updated : 2025-09-17 16:15
NVD link : CVE-2024-39491
Mitre link : CVE-2024-39491
CVE.ORG link : CVE-2024-39491
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-908
Use of Uninitialized Resource