ALSA: hda: cs35l41: Fix NULL pointer dereference in cs35l41_hda_read_acpi()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 7b2f3eb492dac7665c75df067e4d8e4869589f4a · < c34b04cc6178f33c08331568c7fd25c5b9a39f66| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ALSA: hda: cs35l41: Fix NULL pointer dereference in cs35l41_hda_read_acpi()
The acpi_get_first_physical_node() function can return NULL, in which case the get_device() function also returns NULL, but this value is then dereferenced without checking,so add a check to prevent a crash.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
From the CVE record · Linux
The Linux kernel’s ALSA HDA cs35l41 driver can dereference a NULL pointer if an ACPI device lookup returns NULL, causing a crash. The input does not establish whether an attacker can trigger this condition or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the ALSA HDA cs35l41 driver should check whether their versions are affected; no affected versions are specified.