В ядре Linux была устранена следующая уязвимость: firewire: cdev: fix back-transition for iso_resource_auto client resource Член todo структуры iso_resource_auto представляет состояние клиентского ресурса и обычно переходит в следующем порядке: ISO_RES_AUTO_ALLOC -> ISO_RES_AUTO_REALLOC -> ISO_RES_AUTO_DEALLOC However, одновременный доступ из рабочего элемента и функция выпуска дескриптора файла может привести к переходу состояния назад с ISO_RES_AUTO_DEALLOC на ISO_RES_AUTO_REALLOC. Предотвратите обратный переход, проверив текущее состояние перед его обновлением в рабочем элементе.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: firewire: cdev: fix back-transition for iso_resource_auto client resource The todo member of iso_resource_auto structure represents the state of the client resource and normally transitions in the following order: ISO_RES_AUTO_ALLOC -> ISO_RES_AUTO_REALLOC -> ISO_RES_AUTO_DEALLOC However, concurrent access from the work item and the file descriptor release function can cause the state to transition backwards from ISO_RES_AUTO_DEALLOC to ISO_RES_AUTO_REALLOC. Prevent the back-transition by checking the current state before updating it in the work item.