В ядре Linux была устранена следующая уязвимость: ALSA: usbusx2y: проверка URB actual_length при обратном вызове прерывания i_usx2y_in04_int() обрабатывает данные прерывания URB без проверки urb->actual_length. Короткая передача от неисправного устройства заставит обработчик обрабатывать неинициализированные данные кучи из выделенного kmalloc in04_buf, которые затем копируются в mmap-доступный массив ctl_snapshot. Исправлено с помощью kzalloc() для in04_buf для нулевой инициализации буфера и добавления чека actual_length для пропуска обработки коротких переводов при повторной отправке URB.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: ALSA: usbusx2y: validate URB actual_length in interrupt callback i_usx2y_in04_int() processes the interrupt URB data without checking urb->actual_length. A short transfer from a malfunctioning device would cause the handler to process uninitialized heap data from the kmalloc-allocated in04_buf, which is then copied to the mmap-accessible ctl_snapshot[] array. Fix by using kzalloc() for in04_buf to zero-initialize the buffer, and adding an actual_length check to skip processing on short transfers while still resubmitting the URB.