What’s Vulnerable › Vulnerabilities
CVE-2022-48965: gpio/rockchip: fix refcount leak in rockchip_gpiolib_register()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-21 · updated 2026-06-17
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().
Affected products
- Linux kernel: from 5.15 before 5.15.83; from 5.16 before 6.0.13; 6.1-rc1, 6.1-rc2, 6.1-rc3, 6.1-rc4, 6.1-rc5, 6.1-rc6 (+2) — fixed in 5.15.83, 6.0.13
How to fix
Upgrade to a fixed version: Linux kernel 5.15.83, 6.0.13. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/033c79b7ee8a7bf1c1a13ac3addc91184425cbae
- https://git.kernel.org/stable/c/5cb8f1a784fd6115be58282fe15105572319d8be
- https://git.kernel.org/stable/c/63ff545af73f759d1bd04198af8ed8577fb739fc
Get alerted when CVE-2022-48965 or the next vulnerability affects your stack