В ядре Linux была устранена следующая уязвимость: dmaengine: dw-edma: Serialize abort state updates dw_edma_abort_interrupt() drops vc.lock перед изменением запроса и статуса. issue_pending() может получить блокировку в этом маленьком окне, наблюдать за старым загруженным состоянием и пропустить начальные дескрипторы очереди. Затем обработчик прерывания перезаписывает статус канала как простаивающий, оставляя новые дескрипторы в затруднительном положении навсегда. Сохранить завершение дескриптора и переход состояния в том же критическом разделе.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: dmaengine: dw-edma: Serialize abort state updates dw_edma_abort_interrupt() drops vc.lock before changing request and status. issue_pending() can acquire the lock in that small window, observe the old busy state, and skip starting queued descriptors. Then the abort handler overwrites the channel status as idle, leaving the new descriptors stranded for good. Keep descriptor completion and the state transition in the same critical section.