В ядре Linux была устранена следующая уязвимость: трассировка: файлы Have show_event_filters/triggers берут трассировочный массив ref Недавно добавленные файлы show_event_filters и show_event_triggers, которые показывают все фильтры или триггеры, установленные внутри трассировочного массива, не берут ссылку на трассировочный массив, который он показывает. Без ссылки trace_array может быть освобожден через «rmdir», когда задача читает один из файлов тезисов. Эти файлы итерируют все события в одном экземпляре (trace_array), и ничто не мешает этому экземпляру освободиться во время чтения его данных.
Это приводит к аварии use-after-free. Откройте оба этих файла, возьмите ссылку trace_array через trace_array_get (), который предотвращает освобождение trace_array во время открытия файлов.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: tracing: Have show_event_filters/triggers files take trace array ref The newly added files show_event_filters and show_event_triggers that show all filters or triggers that are set within the trace array do not take a reference for the trace array it is showing. Without taking a reference, the trace_array may be freed via "rmdir" while a task is reading one of theses files. Those files iterate all the events within an instance (trace_array) and nothing prevents that instance from being freed while its data is being read. This causes a use-after-free crash. Have the open of both those files take the trace_array reference via the trace_array_get() that prevents the trace_array from being freed while the files are opened.
Характеристики атаки
Последствия
Строка CVSS v3.1