В ядре Linux устранена следующая уязвимость:
трассировка/mmiotrace: добавлена проверка NULL для mmio_trace_array в функциях журналирования.
mmio_trace_rw() и mmio_trace_mapping() извлекают mmio_trace_array в
tr и передайте его в __trace_mmiotrace_rw() и __trace_mmiotrace_map().
Если эти функции вызываются, когда mmio_trace_array имеет значение NULL (например, перед
инициализации или после отключения), доступ к tr->array_buffer.buffer будет
приведет к сбою разыменования NULL-указателя.
Исправьте это, добавив явную проверку NULL для tr в начале
__trace_mmiotrace_rw() и __trace_mmiotrace_map().
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: tracing/mmiotrace: Add NULL check for mmio_trace_array in logging functions mmio_trace_rw() and mmio_trace_mapping() retrieve mmio_trace_array into tr and pass it to __trace_mmiotrace_rw() and __trace_mmiotrace_map(). If these functions are invoked while mmio_trace_array is NULL (e.g. before initialization or after disabled), accessing tr->array_buffer.buffer will result in a NULL pointer dereference crash. Fix this by adding an explicit NULL check for tr at the beginning of __trace_mmiotrace_rw() and __trace_mmiotrace_map().