В ядре Linux была устранена следующая уязвимость: accel: ethosu: Ensure cmd stream заканчивается остановкой op While Настройка регистра QSIZE должна препятствовать внеграничному доступу к командному потоку, неясно, генерирует ли h/w прерывание в этом случае, как это требуется (для предотвращения таймаута). Поскольку стоп-операция ожидается в конце командного потока, давайте просто убедимся, что она присутствует. Стоп-оп в середине командного потока также не имеет смысла.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: accel: ethosu: Ensure cmd stream ends with a stop op While the QSIZE register setting should prevent an out of bounds access of the command stream, it is not clear whether the h/w generates an interrupt in this case as is required (to prevent a timeout). As a stop op is expected end of the command stream, let's just ensure it is present. A stop op in the middle of the command stream also makes no sense.