In the Linux kernel, the following vulnerability has been resolved: gpio/rockchip: fix refcount leak in rockchip_gpiolib_register() The node returned by of_get_parent() with refcount incremented, of_node_put() needs be called when finish using it. So add it in the end of of_pinctrl_get().
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024102143-CVE-2022-48965-0039@gregkh/T