What’s Vulnerable › Vulnerabilities

CVE-2022-50104: powerpc/xive: Fix refcount leak in xive_get_max_prio

Description

In the Linux kernel, the following vulnerability has been resolved: powerpc/xive: Fix refcount leak in xive_get_max_prio of_find_node_by_path() 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 4.14.291, 4.19.256, 5.10.137, 5.15.61. Check the vendor advisory for mitigations.

References

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