В ядре Linux устранена следующая уязвимость:
of/address: исправлено разыменование NULL-шины в of_pci_range_parser_one().
Переработка сопоставления шин, в результате которой функция_match_bus() возвращает NULL для узлов с
ranges/dma-ranges, но без локальных #address-cells. parser_init() сохранил это
NULL, и итератор диапазона позже разыменовал ее.
Отклонять такие узлы в parser_init(), оставляя явно пустое значение.
итератор для вызывающих абонентов, которые игнорируют возврат инициализации и делают
of_dma_get_max_cpu_address() учитывает ошибку инициализации, поэтому узел отклонен
не может ограничить лимит DMA.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: of/address: Fix NULL bus dereference in of_pci_range_parser_one() The bus matching rework made of_match_bus() return NULL for nodes with ranges/dma-ranges but no local #address-cells. parser_init() stored that NULL bus, and the range iterator later dereferenced it. Reject such nodes in parser_init(), leaving an explicit empty iterator for callers that ignore the init return, and make of_dma_get_max_cpu_address() honour the init failure so a rejected node cannot clamp the DMA limit.