{"id":"CVE-2022-50197","summary":"cpufreq: zynq: Fix refcount leak in zynq_get_revision","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpufreq: zynq: Fix refcount leak in zynq_get_revision\n\nof_find_compatible_node() returns a node pointer with refcount\nincremented, we should use of_node_put() on it when done.\nAdd missing of_node_put() to avoid refcount leak.","modified":"2026-04-03T13:14:28.253960881Z","published":"2025-06-18T11:03:40.779Z","related":["SUSE-SU-2025:02264-1","SUSE-SU-2025:02321-1","SUSE-SU-2025:02322-1","SUSE-SU-2025:02537-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50197.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/179034fb108e3655142f2af0c309cef171c34d68"},{"type":"WEB","url":"https://git.kernel.org/stable/c/22e6d8bcde8e66b64f46bf9bd2d3d0f88d40c39f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3b01353f1825151a29d08e0868b2bf01e1116ab5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a530fa52d4fdffc5f010f90c05ac63019b8ff5f8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d1ff2559cef0f6f8d97fba6337b28adb10689e16"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dcbb974254d2a27240c2e50185afdde90f923feb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ecefd22d5db7ccb8bec2646e5d25e058fc33162a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f52c9be1779d70037ae300762d19b08fe3656237"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50197.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50197"},{"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":"00f7dc636366f72474b1896f4990b3c086cd2c6d"},{"fixed":"f52c9be1779d70037ae300762d19b08fe3656237"},{"fixed":"dcbb974254d2a27240c2e50185afdde90f923feb"},{"fixed":"a530fa52d4fdffc5f010f90c05ac63019b8ff5f8"},{"fixed":"22e6d8bcde8e66b64f46bf9bd2d3d0f88d40c39f"},{"fixed":"179034fb108e3655142f2af0c309cef171c34d68"},{"fixed":"ecefd22d5db7ccb8bec2646e5d25e058fc33162a"},{"fixed":"3b01353f1825151a29d08e0868b2bf01e1116ab5"},{"fixed":"d1ff2559cef0f6f8d97fba6337b28adb10689e16"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50197.json"}}],"schema_version":"1.7.5"}