Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 6d8348ddc56ed43ba39d1e8adda13299201f32ed before 0a5ff4000dd7a390139dd7823fef1de4963e490a; affected 6d8348ddc56ed43ba39d1e8adda13299201f32ed before 9e82497138abea7d5c6e65015663d907fbcbf6b4; affected 6d8348ddc56ed43ba39d1e8adda13299201f32ed before 86a64c049873fe4d4a6a378e27a333ab5631c4b2; affected 6d8348ddc56ed43ba39d1e8adda13299201f32ed before 4d992e63f52d58f52b724606c60ae7b37a1c582f |
| Linux / Linux | affected 6.12; unaffected 0 before 6.12; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/0a5ff4000dd7a390139dd7823fef1de4963e490a
- https://git.kernel.org/stable/c/9e82497138abea7d5c6e65015663d907fbcbf6b4
- https://git.kernel.org/stable/c/86a64c049873fe4d4a6a378e27a333ab5631c4b2
- https://git.kernel.org/stable/c/4d992e63f52d58f52b724606c60ae7b37a1c582f
ADP enrichment
No English description supplied.
No references supplied.