В ядре Linux устранена следующая уязвимость: RDMA/hfi1: ошибки Propagate sdma_txinit_ahg() set_txreq_header_ahg() игнорирует возвращаемое значение sdma_txinit_ahg(). Если sdma_txinit_ahg() терпит неудачу, он возвращается перед инициализацией tx->txreq. Однако set_txreq_header_ahg() игнорирует ошибку и возвращает количество изменений AHG, заставляя вызывающего абонента продолжать обработку запроса, как если бы инициализация прошла успешно.
Пропаганда сбоев sdma_txinit_ahg () для вызывающего абонента и обработка запроса на прерывание, когда инициализация не удалась. Обнаружены Linux Verification Center (linuxtesting.org) с помощью SVACE.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: Propagate sdma_txinit_ahg() errors set_txreq_header_ahg() ignores the return value of sdma_txinit_ahg(). If sdma_txinit_ahg() fails, it returns before initializing tx->txreq. However, set_txreq_header_ahg() ignores the error and returns the AHG change count, causing the caller to continue processing the request as though initialization had succeeded. Propagate sdma_txinit_ahg() failures to the caller and abort request processing when initialization fails. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Характеристики атаки
Последствия
Строка CVSS v3.1