ALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.6.366.9.76.10In 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.
From the CVE record · Linux
The Linux kernel’s ALSA HDA cs35l41 driver can dereference a null codec pointer in cs35l41_hda_unbind() when the device index is 0. The input does not specify an attacker action, access requirements, or user interaction needed to reach this condition.
Engineers running the Linux kernel with the ALSA HDA cs35l41 driver should check their deployments; affected versions were not provided.