Ad

CVE-2026-93234

NONE EPSS 0.21%
Обновлено 19 октября 2026
Linux
Параметр Значение
Поставщик Linux
Публичный эксплойт Нет

In the Linux kernel, the following vulnerability has been resolved: drm/gud: validate TV mode names before creating enum property The GUD protocol returns TV mode names as fixed-size GUD_CONNECTOR_TV_MODE_NAME_LEN entries and requires each name to be NUL-terminated. gud_connector_add_tv_mode() currently passes each fixed-size entry directly to drm_mode_create_tv_properties_legacy(), which eventually reaches drm_property_add_enum() and strlen(). Если устройство возвращает запись без окончания байта NUL, strlen() считывает за конец слота и может работать за пределами выделенного буфера, вызывая чтение out-of-bounds. Подтвердите, что каждое возвращенное имя режима TV содержит терминатор NUL в своем слоте фиксированного размера, прежде чем передавать его в код свойства DRM.

Если обнаружена неправильная запись, отклоните ответ устройства с помощью -EIO. Это исправляет чтение out-of-bounds без изменения обработки действительных устройств и позволяет избежать бесшумного усечения искаженных данных протокола.

Показать оригинальное описание (EN)

In the Linux kernel, the following vulnerability has been resolved: drm/gud: validate TV mode names before creating enum property The GUD protocol returns TV mode names as fixed-size GUD_CONNECTOR_TV_MODE_NAME_LEN entries and requires each name to be NUL-terminated. gud_connector_add_tv_mode() currently passes each fixed-size entry directly to drm_mode_create_tv_properties_legacy(), which eventually reaches drm_property_add_enum() and strlen(). If a device returns an entry without a terminating NUL byte, strlen() reads past the end of the slot and can run beyond the allocated buffer, triggering an out-of-bounds read. Validate that each returned TV mode name contains a NUL terminator within its fixed-size slot before passing it to the DRM property code. If a malformed entry is found, reject the device response with -EIO. This fixes the out-of-bounds read without changing the handling of valid devices, and avoids silently truncating malformed protocol data.