# CVE-2024-40964: ALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Published: 2024-07-12T12:32:04.720Z
- Modified: 2026-06-17T07:46:58.520Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()

The cs35l41_hda_unbind() function clears the hda_component entry
matching it's index and then dereferences the codec pointer held in the
first element of the hda_component array, this is an issue when the
device index was 0.

Instead use the codec pointer stashed in the cs35l41_hda structure as it
will still be valid.

(As written by CVE List.)

## Affected

- Linux Linux: from 7cf5ce66dfda2be444ea668c3d48f732ba4a7fd1 before ff27bd8e17884f7cdefecb3f3817caadd6813dc0; from 7cf5ce66dfda2be444ea668c3d48f732ba4a7fd1 before 19be722369c347f3af1c5848e303980ed040b819; from 7cf5ce66dfda2be444ea668c3d48f732ba4a7fd1 before 6386682cdc8b41319c92fbbe421953e33a28840c; 6.6 (not affected: before 6.6; from 6.6.36 up to 6.6.*; from 6.9.7 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 6.6 before 6.6.36; from 6.7 before 6.9.7; 6.10

## References

- <https://git.kernel.org/stable/c/ff27bd8e17884f7cdefecb3f3817caadd6813dc0> (patch)
- <https://git.kernel.org/stable/c/19be722369c347f3af1c5848e303980ed040b819> (patch)
- <https://git.kernel.org/stable/c/6386682cdc8b41319c92fbbe421953e33a28840c> (patch)

## Sources

- CVE List: [CVE-2024-40964](https://www.cve.org/CVERecord?id=CVE-2024-40964), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-40964](https://nvd.nist.gov/vuln/detail/CVE-2024-40964), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-40964 · Whole record: https://cve.day/CVE-2024-40964.json · Rebuilt by cve.day 2026-11-25T22:58:42.864Z
