В ядре Linux устранена следующая уязвимость:
регулятор: as3722_get_regulator_dt_data: исправить преждевременное из_node_put, оставляющее висячий указатель of_node
В as3722_get_regulator_dt_data() функция of_get_child_by_name() получает
ссылка на np, которая затем присваивается pdev->dev.of_node.
функция немедленно вызывает of_node_put(np), освобождая ссылку и
оставив pdev->dev.of_node висячим указателем.
Удалите вызов of_node_put(np), чтобы позволить устройству хранить ссылку.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: regulator: as3722_get_regulator_dt_data: fix premature of_node_put leaving dangling of_node pointer In as3722_get_regulator_dt_data(), of_get_child_by_name() acquires a reference on np, which is then assigned to pdev->dev.of_node. The function immediately calls of_node_put(np), releasing the reference and leaving pdev->dev.of_node as a dangling pointer. Remove the of_node_put(np) call to let the device hold the reference.
Характеристики атаки
Последствия
Строка CVSS v3.1