What’s Vulnerable › Vulnerabilities

CVE-2022-49716: irqchip/gic-v3: Fix error handling in gic_populate_ppi_partitions

Description

In the Linux kernel, the following vulnerability has been resolved: irqchip/gic-v3: Fix error handling in gic_populate_ppi_partitions of_get_child_by_name() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. When kcalloc fails, it missing of_node_put() and results in refcount leak. Fix this by goto out_put_node label.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.124, 5.15.49, 5.18.6, 5.4.200. Check the vendor advisory for mitigations.

References

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