В ядре Linux была устранена следующая уязвимость: net: usb: pegasus: don't pould on id table pointer arphetics Текущий код нарушается, когда задействован динамический ID; в таких случаях usb_device_id параметр зонда живет на куче, и арифметика указателя получит индекс, который дико выходит за рамки. Вместо того, чтобы держать боковой стол для получения дополнительной информации, используйте поле driver_info usb_device_id. Для этого необходимо обновить динамический код ID; конвертируйте его в зарезервированную запись для динамического ID и удалите странный цикл.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: net: usb: pegasus: don't rely on id table pointer arithmetic The current code is broken when dynamic ID is involved; in such cases usb_device_id parameter of probe lives on the heap and the pointer arithmetic will get an index that is wildly out of bound. Instead of keeping a side table for additional information, use driver_info field of the usb_device_id. The dynamic ID parsing code needs to be updated for this; convert it to just write to the reserved entry for dynamic ID and remove the weird loop.