{"id":"CVE-2024-40964","aliases":["CVE-2024-40964"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ALSA: hda: cs35l41: Posible desreferencia del puntero nulo en cs35l41_hda_unbind() La función cs35l41_hda_unbind() borra la entrada hda_component que coincide con su índice y luego desreferencia el puntero del códec contenido en el primer elemento de la matriz hda_component, esto es un problema cuando el índice del dispositivo era 0. En su lugar, utilice el puntero del códec escondido en la estructura cs35l41_hda, ya que seguirá siendo válido.","source":"nvd"}],"published":"2024-07-12T12:32:04.720Z","modified":"2026-06-17T07:46:58.520Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"7cf5ce66dfda2be444ea668c3d48f732ba4a7fd1","fixed":"ff27bd8e17884f7cdefecb3f3817caadd6813dc0","status":"affected"},{"type":"git","introduced":"7cf5ce66dfda2be444ea668c3d48f732ba4a7fd1","fixed":"19be722369c347f3af1c5848e303980ed040b819","status":"affected"},{"type":"git","introduced":"7cf5ce66dfda2be444ea668c3d48f732ba4a7fd1","fixed":"6386682cdc8b41319c92fbbe421953e33a28840c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6","status":"unaffected"},{"type":"semver","introduced":"6.6.36","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.7","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.6","fixed":"6.6.36"},{"status":"affected","introduced":"6.7","fixed":"6.9.7"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ff27bd8e17884f7cdefecb3f3817caadd6813dc0","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/19be722369c347f3af1c5848e303980ed040b819","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6386682cdc8b41319c92fbbe421953e33a28840c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:03:16.637Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-40964","url":"https://www.cve.org/CVERecord?id=CVE-2024-40964","licence":"CVE Terms of Use","modified":"2026-05-11T20:23:15.108Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-40964","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40964","licence":"Public domain","modified":"2026-06-17T07:46:58.520Z"}],"updatedAt":"2026-11-25T22:58:42.864Z","epss":{"score":0.00288,"percentile":0.22977,"date":"2026-12-01T12:00:22.000Z"}}