В ядре Linux устранена следующая уязвимость:
Ввод: synaptics-rmi4 — нулевой размер отчета при ошибке работы F54
В rmi_f54_work(), если при запросе отчета или команде возникает ошибка
проверки, код перешел непосредственно к метке «ошибка», минуя
метка «прервать», где f54->report_size обычно обнуляется. Это оставило f54->report_size, содержащее предыдущую успешную полезную нагрузку.
размер. Если пользователь затем изменил формат V4L2 на меньший размер и
последующий запуск не удался, rmi_f54_buffer_queue() скопирует устаревший,
больший размер полезной нагрузки в сжатый буфер V4L2, что приводит к образованию кучи
переполнение буфера.
Исправьте это, объединив метки «прерывание» и «ошибка» в один «выход».
путь выхода и убедиться, что f54->report_size всегда имеет значение 0
неудача путем проверки ошибок и сначала обнуления локального report_size.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: Input: synaptics-rmi4 - zero report size on F54 work error In rmi_f54_work(), if an error occurs during report request or command verification, the code jumped directly to the 'error' label, bypassing the 'abort' label where f54->report_size was normally zeroed out. This left f54->report_size containing its previous successful payload size. If a user then altered the V4L2 format to a smaller size, and a subsequent run failed, rmi_f54_buffer_queue() would copy the stale, larger payload size into the shrunken V4L2 buffer, causing a heap buffer overflow. Fix this by merging the 'abort' and 'error' labels into a single 'out' exit path, and ensuring that f54->report_size is always set to 0 on failure by checking for error and zeroing the local report_size first.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 8
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
4.9
|
5.10.266
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
4.9
|
5.15.217
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
4.9
|
6.1.184
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
4.9
|
6.6.153
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
4.9
|
6.12.105
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
4.9
|
6.18.46
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
4.9
|
7.1.10
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
4.9
|
7.2
|