{"id":"CVE-2024-40964","state":"PUBLISHED","title":"ALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()\n\nThe cs35l41_hda_unbind() function clears the hda_component entry\nmatching it's index and then dereferences the codec pointer held in the\nfirst element of the hda_component array, this is an issue when the\ndevice index was 0.\n\nInstead use the codec pointer stashed in the cs35l41_hda structure as it\nwill still be valid.","publishedAt":"2024-07-12T12:32:04.720Z","updatedAt":"2026-05-11T20:23:15.108Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7cf5ce66dfda2be444ea668c3d48f732ba4a7fd1","status":"affected","lessThan":"ff27bd8e17884f7cdefecb3f3817caadd6813dc0","versionType":"git"},{"version":"7cf5ce66dfda2be444ea668c3d48f732ba4a7fd1","status":"affected","lessThan":"19be722369c347f3af1c5848e303980ed040b819","versionType":"git"},{"version":"7cf5ce66dfda2be444ea668c3d48f732ba4a7fd1","status":"affected","lessThan":"6386682cdc8b41319c92fbbe421953e33a28840c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/pci/hda/cs35l41_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.36","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.9.7","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/cs35l41_hda.c"]}],"references":["https://git.kernel.org/stable/c/ff27bd8e17884f7cdefecb3f3817caadd6813dc0","https://git.kernel.org/stable/c/19be722369c347f3af1c5848e303980ed040b819","https://git.kernel.org/stable/c/6386682cdc8b41319c92fbbe421953e33a28840c"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/40xxx/CVE-2024-40964.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-40964","state":"PUBLISHED","datePublished":"2024-07-12T12:32:04.720Z","dateUpdated":"2026-05-11T20:23:15.108Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-07-12T12:17:45.602Z"},"containers":{"cna":{"title":"ALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()\n\nThe cs35l41_hda_unbind() function clears the hda_component entry\nmatching it's index and then dereferences the codec pointer held in the\nfirst element of the hda_component array, this is an issue when the\ndevice index was 0.\n\nInstead use the codec pointer stashed in the cs35l41_hda structure as it\nwill still be valid."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7cf5ce66dfda2be444ea668c3d48f732ba4a7fd1","status":"affected","lessThan":"ff27bd8e17884f7cdefecb3f3817caadd6813dc0","versionType":"git"},{"version":"7cf5ce66dfda2be444ea668c3d48f732ba4a7fd1","status":"affected","lessThan":"19be722369c347f3af1c5848e303980ed040b819","versionType":"git"},{"version":"7cf5ce66dfda2be444ea668c3d48f732ba4a7fd1","status":"affected","lessThan":"6386682cdc8b41319c92fbbe421953e33a28840c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/pci/hda/cs35l41_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.36","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.9.7","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/cs35l41_hda.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ff27bd8e17884f7cdefecb3f3817caadd6813dc0"},{"url":"https://git.kernel.org/stable/c/19be722369c347f3af1c5848e303980ed040b819"},{"url":"https://git.kernel.org/stable/c/6386682cdc8b41319c92fbbe421953e33a28840c"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:23:15.108Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.6.36"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.9.7"},{"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/ff27bd8e17884f7cdefecb3f3817caadd6813dc0","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/19be722369c347f3af1c5848e303980ed040b819","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/6386682cdc8b41319c92fbbe421953e33a28840c","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:39:56.017Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-40964","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T17:03:16.637343Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:34:23.352Z"}}]}}}