В ядре Linux устранена следующая уязвимость:
media: dvb-net: исправлен доступ OOB в таблицах заголовков расширения ULE. Таблицы ule_mandatory_ext_handlers[] и ule_optional_ext_handlers[]
в handle_one_ule_extension() объявлены с 255 элементами (действительно
индексы 0–254), но индекс htype получен из управляемого сетью
данные как (ule_sndu_type & 0x00FF), что дает диапазон 0–255. Когда
htype равен 255, в указателе функции происходит чтение за пределами допустимого диапазона.
table, а значение OOB может быть вызвано как указатель на функцию.
Добавьте проверку границ htype по размеру массива перед любой таблицей.
доступен. Значения, выходящие за пределы диапазона, теперь приводят к отмене SNDU.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: media: dvb-net: fix OOB access in ULE extension header tables The ule_mandatory_ext_handlers[] and ule_optional_ext_handlers[] tables in handle_one_ule_extension() are declared with 255 elements (valid indices 0-254), but the index htype is derived from network-controlled data as (ule_sndu_type & 0x00FF), giving a range of 0-255. When htype equals 255, an out-of-bounds read occurs on the function pointer table, and the OOB value may be called as a function pointer. Add a bounds check on htype against the array size before either table is accessed. Out-of-range values now cause the SNDU to be discarded.