What’s Vulnerable › Vulnerabilities

CVE-2022-49683: iio: adc: adi-axi-adc: Fix refcount leak in adi_axi_adc_attach_client

Description

In the Linux kernel, the following vulnerability has been resolved: iio: adc: adi-axi-adc: Fix refcount leak in adi_axi_adc_attach_client of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.127, 5.15.51, 5.18.8. Check the vendor advisory for mitigations.

References

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