Linux
ASoC: amd: acp-sdw-sof: Bound DAI link iteration
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 6d8348ddc56ed43ba39d1e8adda13299201f32ed, < 0a5ff4000dd7a390139dd7823fef1de4963e490a
- >= 6d8348ddc56ed43ba39d1e8adda13299201f32ed, < 9e82497138abea7d5c6e65015663d907fbcbf6b4
- >= 6d8348ddc56ed43ba39d1e8adda13299201f32ed, < 86a64c049873fe4d4a6a378e27a333ab5631c4b2
- >= 6d8348ddc56ed43ba39d1e8adda13299201f32ed, < 4d992e63f52d58f52b724606c60ae7b37a1c582f
Fixed in 0a5ff4000dd7a390139dd7823fef1de4963e490a, 9e82497138abea7d5c6e65015663d907fbcbf6b4, 86a64c049873fe4d4a6a378e27a333ab5631c4b2, 4d992e63f52d58f52b724606c60ae7b37a1c582f
- 6.12
Fixed in 0, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 0a5ff4000dd7a390139dd7823fef1de4963e490a or 9e82497138abea7d5c6e65015663d907fbcbf6b4 or 86a64c049873fe4d4a6a378e27a333ab5631c4b2 or 4d992e63f52d58f52b724606c60ae7b37a1c582f or later.
Upgrade Linux to 0 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.