ASoC: amd: acp-sdw-sof: Bound DAI link iteration
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-sdw-sof: Bound DAI link iteration
create_sdw_dailinks() walks sof_dais until it finds an entry with initialised cleared, but sof_dais is allocated with exactly num_ends entries. If all entries are initialised, the loop reads past the end of the array.
Pass the allocated entry count to create_sdw_dailinks() and stop before reading past the array.
From the CVE record · Linux
The Linux kernel's create_sdw_dailinks() can read past the sof_dais array when all allocated entries are initialized. The input does not describe an attack path, authentication requirements, or user interaction.
Engineers running Linux kernels with the AMD ASoC acp-sdw-sof component should check their versions; affected versions are not specified.