В ядре Linux устранена следующая уязвимость:
irqchip/realtek-rtl: исправлена утечка счетчика ссылок в map_interrupts.
of_find_node_by_phandle() возвращает указатель узла с refcount
увеличено, мы должны использовать для него of_node_put(), когда это больше не нужно.
Эта функция не вызывает of_node_put() в пути ошибки.
Вызов of_node_put() непосредственно после of_property_read_u32() для покрытия
как нормальный путь, так и путь ошибки.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: irqchip/realtek-rtl: Fix refcount leak in map_interrupts of_find_node_by_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. This function doesn't call of_node_put() in error path. Call of_node_put() directly after of_property_read_u32() to cover both normal path and error path.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.12
|
5.15.49
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.16
|
5.18.6
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.19:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.19:rc2:*:*:*:*:*:*
|
— | — |