In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: displayport: Fix OOB altmode array index The UCSI displayport driver indexes the connector's port altmode array with the GET_CURRENT_CAM response after checking it is not 0xff. Массив altmode порта имеет длину элементов UCSI_MAX_ALTMODES. Если PPM возвращает недопустимый ответ GET_CURRENT_CAM выше UCSI_MAX_ALTMODES и не равен 0xff, то ядро может столкнуться с ошибкой индекса массива OOB.
Обновите драйвер UCSI, чтобы убедиться, что текущая камера меньше, чем UCSI_MAX_ALTMODES, перед доступом к массиву альтернативного режима порта.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: displayport: Fix OOB altmode array index The UCSI displayport driver indexes the connector's port altmode array with the GET_CURRENT_CAM response after checking it is not 0xff. The port altmode array is UCSI_MAX_ALTMODES elements long. If the PPM returns an invalid GET_CURRENT_CAM response above UCSI_MAX_ALTMODES and not equal to 0xff, the kernel may crash with an array index OOB error. Update the UCSI displayport driver to verify the current cam is less than UCSI_MAX_ALTMODES before accessing the port altmode array.
Характеристики атаки
Последствия
Строка CVSS v3.1