← CVE Intelligence

CVE-2022-49684

iio: adc: aspeed: Fix refcount leak in aspeed_adc_set_trim_data PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected d0a4c17b40736b368f1f26602ad162e24b4108e7 before 9664491db50a84be92696c8fad2c3b49a7a5f36f; affected d0a4c17b40736b368f1f26602ad162e24b4108e7 before 8a2b6b5687984a010ed094b4f436a2f091987758
Linux / Linuxaffected 5.16; unaffected 0 before 5.16; unaffected 5.18.8 through 5.18.*; unaffected 5.19 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.