Ad

CVE-2026-93120

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

В ядре Linux была устранена следующая уязвимость: usb: gadget: configfs: fix out-of-bounds read of qw_sign os_desc_qw_sign_show() передает OS_STRING_QW_SIGN_LEN в качестве входной длины в utf16s_to_utf8s(), но этот аргумент подсчитывает единицы кода UTF-16, в то время как OS_STRING_QW_SIGN_LEN (14) является размером байта qw_sign. Массив содержит только кодовые единицы OS_STRING_QW_SIGN_LEN / 2 (7), поэтому преобразование считывает до 7 единиц (14 байт) после конца qw_sign в следующие члены структуры gadget_info, когда сохраненная подпись заполняет массив без терминатора NUL, обнажая эти байты через атрибут configfs. Путь хранилища вдвое сокращает количество входных границ, но проходит полное количество байтов как предел выхода utf8s_to_utf16s (); используйте количество кодовых единиц назначения в обоих направлениях.

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

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: configfs: fix out-of-bounds read of qw_sign os_desc_qw_sign_show() passes OS_STRING_QW_SIGN_LEN as the input length to utf16s_to_utf8s(), but that argument counts UTF-16 code units while OS_STRING_QW_SIGN_LEN (14) is the byte size of qw_sign[]. The array holds only OS_STRING_QW_SIGN_LEN / 2 (7) code units, so the conversion reads up to 7 units (14 bytes) past the end of qw_sign[] into the following members of struct gadget_info when the stored signature fills the array without a NUL terminator, exposing those bytes through the configfs attribute. The store path halves the count for its input bound but passes the full byte count as the utf8s_to_utf16s() output limit; use the destination code-unit count in both directions.