В ядре Linux устранена следующая уязвимость:
ASoC: amd: acp-sdw-sof: итерация связанной ссылки DAI
create_sdw_dailinks() обходит sof_dais, пока не найдет запись с
инициализация очищена, но sof_dais выделяется ровно num_ends
записи. Если все записи инициализированы, цикл читает дальше конца
массив.
Передайте выделенный счетчик записей в create_sdw_dailinks() и остановитесь раньше.
чтение мимо массива.
Показать оригинальное описание (EN)
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.
Характеристики атаки
Последствия
Строка CVSS v3.1