В ядре Linux устранена следующая уязвимость:
i3c: mipi-i3c-hci: исправлена гонка при удалении из очереди кольца DMA. Путь удаления из очереди HCI DMA (hci_dma_dequeue_xfer()) может быть вызван для
несколько передач, время ожидания которых истекает примерно в одно и то же время. Однако
функция не сериализуется и может соревноваться сама с собой.
Когда происходит таймаут, hci_dma_dequeue_xfer() останавливает кольцо, обрабатывает
неполная передача, а затем перезапускает кольцо. Если еще один тайм-аут
запускает параллельный вызов одной и той же функции, два экземпляра могут
мешать друг другу - остановка или перезапуск кольца в неожиданный момент
раз. Добавьте мьютекс, чтобы hci_dma_dequeue_xfer() сериализовался относительно
сам.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: i3c: mipi-i3c-hci: Fix race in DMA ring dequeue The HCI DMA dequeue path (hci_dma_dequeue_xfer()) may be invoked for multiple transfers that timeout around the same time. However, the function is not serialized and can race with itself. When a timeout occurs, hci_dma_dequeue_xfer() stops the ring, processes incomplete transfers, and then restarts the ring. If another timeout triggers a parallel call into the same function, the two instances may interfere with each other - stopping or restarting the ring at unexpected times. Add a mutex so that hci_dma_dequeue_xfer() is serialized with respect to itself.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 5
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.11
|
6.18.19
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19
|
6.19.9
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
|
— | — |