CVE-2024-40964

published 12 Jul 2024 · updated 11 May 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 19be722369c347f3af1c5848e303980ed040b819, Kernel 6386682cdc8b41319c92fbbe421953e33a28840c and Kernel ff27bd8e17884f7cdefecb3f3817caadd6813dc0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.6, >=7cf5ce66dfda2be444ea668c3d48f732ba4a7fd1 <19be722369c347f3af1c5848e303980ed040b819, >=7cf5ce66dfda2be444ea668c3d48f732ba4a7fd1 <6386682cdc8b41319c92fbbe421953e33a28840c, >=7cf5ce66dfda2be444ea668c3d48f732ba4a7fd1 <ff27bd8e17884f7cdefecb3f3817caadd6813dc019be722369c347f3af1c5848e303980ed040b819, 6386682cdc8b41319c92fbbe421953e33a28840c, ff27bd8e17884f7cdefecb3f3817caadd6813dc0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-40964 severity on Zeptric[![CVE-2024-40964](https://zeptric.io/badge/cve/CVE-2024-40964.svg)](https://zeptric.io/cve/CVE-2024-40964)