← CVE Intelligence

CVE-2022-49683

iio: adc: adi-axi-adc: Fix refcount leak in adi_axi_adc_attach_client PUBLISHED

Description (CNA)

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

Vendor / productVersions
Linux / Linuxaffected ef04070692a21633ec6a60f80c19b6af44b3cf47 before 501652a2ad5450b4908e1f204ce75b2414c305b7; affected ef04070692a21633ec6a60f80c19b6af44b3cf47 before ab7bf025cee89db73c649216ddd2bc589c3d3862; affected ef04070692a21633ec6a60f80c19b6af44b3cf47 before 5eaa84e1605035a90a64d25b6cba79e89d188175; affected ef04070692a21633ec6a60f80c19b6af44b3cf47 before ada7b0c0dedafd7d059115adf49e48acba3153a8
Linux / Linuxaffected 5.8; unaffected 0 before 5.8; unaffected 5.10.127 through 5.10.*; unaffected 5.15.51 through 5.15.*; 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.