{"schema_version":"1.9.0","id":"CVE-2024-39491","published":"2024-07-10T07:14:10.314Z","modified":"2026-08-12T03:51:48.300972161Z","related":["SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3383-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"summary":"ALSA: hda: cs35l56: Fix lifetime of cs_dsp instance","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda: cs35l56: Fix lifetime of cs_dsp instance\n\nThe cs_dsp instance is initialized in the driver probe() so it\nshould be freed in the driver remove(). Also fix a missing call\nto cs_dsp_remove() in the error path of cs35l56_hda_common_probe().\n\nThe call to cs_dsp_remove() was being done in the component unbind\ncallback cs35l56_hda_unbind(). This meant that if the driver was\nunbound and then re-bound it would be using an uninitialized cs_dsp\ninstance.\n\nIt is best to initialize the cs_dsp instance in probe() so that it\ncan return an error if it fails. The component binding API doesn't\nhave any error handling so there's no way to handle a failure if\ncs_dsp was initialized in the bind.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"73cfbfa9caea8eda54b4c6e49a9555533660aa1e"},{"fixed":"9054c474f9c219e58a441e401c0e6e38fe713ff1"},{"fixed":"60d5e087e5f334475b032ad7e6ad849fb998f303"},{"fixed":"d344873c4cbde249b7152d36a273bcc45864001e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39491.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.6.0"},{"fixed":"6.6.33"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.9.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39491.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/60d5e087e5f334475b032ad7e6ad849fb998f303"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9054c474f9c219e58a441e401c0e6e38fe713ff1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d344873c4cbde249b7152d36a273bcc45864001e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39491.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39491"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39491.json"}}