В ядре Linux устранена следующая уязвимость:
drm/msm/a6xx: исправлена утечка счетчика ссылок в a6xx_gpu_init.
of_parse_phandle() возвращает указатель узла со счетчиком ссылок.
увеличено, мы должны использовать для него of_node_put(), когда это больше не нужно.
a6xx_gmu_init() передает узел в of_find_device_by_node()
и of_dma_configure(), of_find_device_by_node() примет свое
ссылка, of_dma_configure() не нуждается в узле после использования.
Добавьте отсутствующий of_node_put(), чтобы избежать утечки счетчика ссылок.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: drm/msm/a6xx: Fix refcount leak in a6xx_gpu_init of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. a6xx_gmu_init() passes the node to of_find_device_by_node() and of_dma_configure(), of_find_device_by_node() will takes its reference, of_dma_configure() doesn't need the node after usage. Add missing of_node_put() to avoid refcount leak.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 5
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
4.19
|
5.4.198
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.5
|
5.10.121
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.11
|
5.15.46
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.16
|
5.17.14
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.18
|
5.18.3
|