CVE-2022-48965

gpio/rockchip: fix refcount leak in rockchip_gpiolib_register()

State
Published
Severity
Not scored
Published
Oct 21, 2024
Updated
May 11, 2026
Reserved
Aug 22, 2024

Read the record on cve.org

Description

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 936ee2675eee1faca0dcdfa79165c7990422e0fc to before 5cb8f1a784fd6115be58282fe15105572319d8beAffected
  • 936ee2675eee1faca0dcdfa79165c7990422e0fc to before 033c79b7ee8a7bf1c1a13ac3addc91184425cbaeAffected
  • 936ee2675eee1faca0dcdfa79165c7990422e0fc to before 63ff545af73f759d1bd04198af8ed8577fb739fcAffected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 5.15.83 through 5.15.*Not affected
  • 6.0.13 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.