What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.6.36, 6.9.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-40964 or the next vulnerability affects your stack