{"id":"CVE-2022-48965","state":"PUBLISHED","title":"gpio/rockchip: fix refcount leak in rockchip_gpiolib_register()","description":"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().","publishedAt":"2024-10-21T20:05:48.483Z","updatedAt":"2026-05-11T18:50:35.207Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"936ee2675eee1faca0dcdfa79165c7990422e0fc","status":"affected","lessThan":"5cb8f1a784fd6115be58282fe15105572319d8be","versionType":"git"},{"version":"936ee2675eee1faca0dcdfa79165c7990422e0fc","status":"affected","lessThan":"033c79b7ee8a7bf1c1a13ac3addc91184425cbae","versionType":"git"},{"version":"936ee2675eee1faca0dcdfa79165c7990422e0fc","status":"affected","lessThan":"63ff545af73f759d1bd04198af8ed8577fb739fc","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpio/gpio-rockchip.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.83","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.0.13","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpio/gpio-rockchip.c"]}],"references":["https://git.kernel.org/stable/c/5cb8f1a784fd6115be58282fe15105572319d8be","https://git.kernel.org/stable/c/033c79b7ee8a7bf1c1a13ac3addc91184425cbae","https://git.kernel.org/stable/c/63ff545af73f759d1bd04198af8ed8577fb739fc"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/48xxx/CVE-2022-48965.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-48965","state":"PUBLISHED","datePublished":"2024-10-21T20:05:48.483Z","dateUpdated":"2026-05-11T18:50:35.207Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-08-22T01:27:53.628Z"},"containers":{"cna":{"title":"gpio/rockchip: fix refcount leak in rockchip_gpiolib_register()","descriptions":[{"lang":"en","value":"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()."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"936ee2675eee1faca0dcdfa79165c7990422e0fc","status":"affected","lessThan":"5cb8f1a784fd6115be58282fe15105572319d8be","versionType":"git"},{"version":"936ee2675eee1faca0dcdfa79165c7990422e0fc","status":"affected","lessThan":"033c79b7ee8a7bf1c1a13ac3addc91184425cbae","versionType":"git"},{"version":"936ee2675eee1faca0dcdfa79165c7990422e0fc","status":"affected","lessThan":"63ff545af73f759d1bd04198af8ed8577fb739fc","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpio/gpio-rockchip.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.83","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.0.13","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpio/gpio-rockchip.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/5cb8f1a784fd6115be58282fe15105572319d8be"},{"url":"https://git.kernel.org/stable/c/033c79b7ee8a7bf1c1a13ac3addc91184425cbae"},{"url":"https://git.kernel.org/stable/c/63ff545af73f759d1bd04198af8ed8577fb739fc"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T18:50:35.207Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.15.83"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.0.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2022-48965","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-10-22T13:19:52.282183Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-22T13:28:38.602Z"}}]}}}