What’s Vulnerable › Vulnerabilities

CVE-2022-49466: regulator: scmi: Fix refcount leak in scmi_regulator_probe

Description

In the Linux kernel, the following vulnerability has been resolved: regulator: scmi: Fix refcount leak in scmi_regulator_probe of_find_node_by_name() returns a node pointer with refcount incremented, we should use of_node_put() on it when done. Add missing of_node_put() to avoid refcount leak.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.46, 5.17.14, 5.18.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49466 or the next vulnerability affects your stack