{"id":"CVE-2024-40964","summary":"ALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()","details":"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.","modified":"2026-04-02T12:17:22.722499Z","published":"2024-07-12T12:32:04.720Z","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"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40964.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/19be722369c347f3af1c5848e303980ed040b819"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6386682cdc8b41319c92fbbe421953e33a28840c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ff27bd8e17884f7cdefecb3f3817caadd6813dc0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40964.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40964"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7cf5ce66dfda2be444ea668c3d48f732ba4a7fd1"},{"fixed":"ff27bd8e17884f7cdefecb3f3817caadd6813dc0"},{"fixed":"19be722369c347f3af1c5848e303980ed040b819"},{"fixed":"6386682cdc8b41319c92fbbe421953e33a28840c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40964.json"}}],"schema_version":"1.7.5"}