← CVE Intelligence

CVE-2022-48965

gpio/rockchip: fix refcount leak in rockchip_gpiolib_register() PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: gpio/rockchip: fix refcount leak in rockchip_gpiolib_register() The node returned by of_get_parent() with refcount incremented, of_node_put() needs be called when finish using it. So add it in the end of of_pinctrl_get().

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 936ee2675eee1faca0dcdfa79165c7990422e0fc before 5cb8f1a784fd6115be58282fe15105572319d8be; affected 936ee2675eee1faca0dcdfa79165c7990422e0fc before 033c79b7ee8a7bf1c1a13ac3addc91184425cbae; affected 936ee2675eee1faca0dcdfa79165c7990422e0fc before 63ff545af73f759d1bd04198af8ed8577fb739fc
Linux / Linuxaffected 5.15; unaffected 0 before 5.15; unaffected 5.15.83 through 5.15.*; unaffected 6.0.13 through 6.0.*; unaffected 6.1 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.