What’s Vulnerable › Vulnerabilities

CVE-2022-49684: iio: adc: aspeed: Fix refcount leak in aspeed_adc_set_trim_data

Description

In the Linux kernel, the following vulnerability has been resolved: iio: adc: aspeed: Fix refcount leak in aspeed_adc_set_trim_data 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.18.8. Check the vendor advisory for mitigations.

References

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