{"id":"CVE-2022-48965","summary":"gpio/rockchip: fix refcount leak in rockchip_gpiolib_register()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio/rockchip: fix refcount leak in rockchip_gpiolib_register()\n\nThe node returned by of_get_parent() with refcount incremented,\nof_node_put() needs be called when finish using it. So add it in the\nend of of_pinctrl_get().","modified":"2026-08-12T03:51:15.189141785Z","published":"2024-10-21T20:05:48.483Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48965.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/033c79b7ee8a7bf1c1a13ac3addc91184425cbae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5cb8f1a784fd6115be58282fe15105572319d8be"},{"type":"WEB","url":"https://git.kernel.org/stable/c/63ff545af73f759d1bd04198af8ed8577fb739fc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48965.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48965"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"936ee2675eee1faca0dcdfa79165c7990422e0fc"},{"fixed":"5cb8f1a784fd6115be58282fe15105572319d8be"},{"fixed":"033c79b7ee8a7bf1c1a13ac3addc91184425cbae"},{"fixed":"63ff545af73f759d1bd04198af8ed8577fb739fc"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48965.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.83"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48965.json"}}],"schema_version":"1.9.0"}