{"id":"CVE-2024-39491","state":"PUBLISHED","title":"ALSA: hda: cs35l56: Fix lifetime of cs_dsp instance","description":"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.","publishedAt":"2024-07-10T07:14:10.314Z","updatedAt":"2026-05-11T20:21:35.297Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"73cfbfa9caea8eda54b4c6e49a9555533660aa1e","status":"affected","lessThan":"9054c474f9c219e58a441e401c0e6e38fe713ff1","versionType":"git"},{"version":"73cfbfa9caea8eda54b4c6e49a9555533660aa1e","status":"affected","lessThan":"60d5e087e5f334475b032ad7e6ad849fb998f303","versionType":"git"},{"version":"73cfbfa9caea8eda54b4c6e49a9555533660aa1e","status":"affected","lessThan":"d344873c4cbde249b7152d36a273bcc45864001e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/pci/hda/cs35l56_hda.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.33","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.9.4","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/pci/hda/cs35l56_hda.c"]}],"references":["https://git.kernel.org/stable/c/9054c474f9c219e58a441e401c0e6e38fe713ff1","https://git.kernel.org/stable/c/60d5e087e5f334475b032ad7e6ad849fb998f303","https://git.kernel.org/stable/c/d344873c4cbde249b7152d36a273bcc45864001e"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/39xxx/CVE-2024-39491.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-39491","state":"PUBLISHED","datePublished":"2024-07-10T07:14:10.314Z","dateUpdated":"2026-05-11T20:21:35.297Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-06-25T14:23:23.748Z"},"containers":{"cna":{"title":"ALSA: hda: cs35l56: Fix lifetime of cs_dsp instance","descriptions":[{"lang":"en","value":"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":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"73cfbfa9caea8eda54b4c6e49a9555533660aa1e","status":"affected","lessThan":"9054c474f9c219e58a441e401c0e6e38fe713ff1","versionType":"git"},{"version":"73cfbfa9caea8eda54b4c6e49a9555533660aa1e","status":"affected","lessThan":"60d5e087e5f334475b032ad7e6ad849fb998f303","versionType":"git"},{"version":"73cfbfa9caea8eda54b4c6e49a9555533660aa1e","status":"affected","lessThan":"d344873c4cbde249b7152d36a273bcc45864001e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/pci/hda/cs35l56_hda.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.33","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.9.4","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/pci/hda/cs35l56_hda.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/9054c474f9c219e58a441e401c0e6e38fe713ff1"},{"url":"https://git.kernel.org/stable/c/60d5e087e5f334475b032ad7e6ad849fb998f303"},{"url":"https://git.kernel.org/stable/c/d344873c4cbde249b7152d36a273bcc45864001e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:21:35.297Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.6.33"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.9.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.10"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/9054c474f9c219e58a441e401c0e6e38fe713ff1","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/60d5e087e5f334475b032ad7e6ad849fb998f303","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/d344873c4cbde249b7152d36a273bcc45864001e","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:26:15.537Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-39491","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T17:07:32.607472Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:34:41.041Z"}}]}}}