ASoC: amd: acp: Fix incorrect retrival of acp_chip_info
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ASoC: amd: acp: Fix incorrect retrival of acp_chip_info
Use dev_get_drvdata(dev->parent) instead of dev_get_platdata(dev) to correctly obtain acp_chip_info members in the acp I2S driver. Previously, some members were not updated properly due to incorrect data access, which could potentially lead to null pointer dereferences.
This issue was missed in the earlier commit ("ASoC: amd: acp: Fix NULL pointer deref in acp_i2s_set_tdm_slot"), which only addressed set_tdm_slot(). This change ensures that all relevant functions correctly retrieve acp_chip_info, preventing further null pointer dereference issues.
From the CVE record · Linux
The Linux kernel's AMD ACP I2S driver retrieves acp_chip_info from the wrong location, leaving some members improperly updated and potentially causing a null pointer dereference. The input does not establish whether an attacker can trigger the issue or specify access or interaction requirements.
Engineers running Linux kernels with the AMD ACP I2S driver should check their versions; affected versions are not specified.