В ядре Linux была устранена следующая уязвимость: gpio: arizona: Fix runtime PM Утечка в arizona_gpio_direction_out() Switching устойчивая линия GPIO от ввода до вывода приобретает ссылку на runtime PM на родительском устройстве, но если последующая ошибка regmap_update_bits(), ссылка никогда не опускается, и не более поздняя direction_in() может сбалансировать, так как направление никогда не было изменено. Отбросьте ссылку на путь отказа обновления.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: gpio: arizona: Fix runtime PM leak in arizona_gpio_direction_out() Switching a persistent GPIO line from input to output acquires a runtime PM reference on the parent device, but if the subsequent regmap_update_bits() fails the reference is never dropped and no later direction_in() can balance it since the direction was never changed. Drop the reference on the update failure path.