# CVE-2022-50197: cpufreq: zynq: Fix refcount leak in zynq_get_revision

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-02)
- Published: 2025-06-18T11:03:40.779Z
- Modified: 2026-11-05T20:17:26.920Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

cpufreq: zynq: Fix refcount leak in zynq_get_revision

of_find_compatible_node() returns a node pointer with refcount
incremented, we should use of_node_put() on it when done.
Add missing of_node_put() to avoid refcount leak.

(As written by CVE List.)

## Affected

- Linux Linux: from 00f7dc636366f72474b1896f4990b3c086cd2c6d before f52c9be1779d70037ae300762d19b08fe3656237; from 00f7dc636366f72474b1896f4990b3c086cd2c6d before dcbb974254d2a27240c2e50185afdde90f923feb; from 00f7dc636366f72474b1896f4990b3c086cd2c6d before a530fa52d4fdffc5f010f90c05ac63019b8ff5f8; from 00f7dc636366f72474b1896f4990b3c086cd2c6d before 22e6d8bcde8e66b64f46bf9bd2d3d0f88d40c39f; from 00f7dc636366f72474b1896f4990b3c086cd2c6d before 179034fb108e3655142f2af0c309cef171c34d68; from 00f7dc636366f72474b1896f4990b3c086cd2c6d before ecefd22d5db7ccb8bec2646e5d25e058fc33162a; from 00f7dc636366f72474b1896f4990b3c086cd2c6d before 3b01353f1825151a29d08e0868b2bf01e1116ab5; from 00f7dc636366f72474b1896f4990b3c086cd2c6d before d1ff2559cef0f6f8d97fba6337b28adb10689e16; 3.16 (not affected: before 3.16; from 4.14.291 up to 4.14.*; from 4.19.256 up to 4.19.*; from 5.4.211 up to 5.4.*; from 5.10.137 up to 5.10.*; from 5.15.61 up to 5.15.*; from 5.18.18 up to 5.18.*; from 5.19.2 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 3.16 before 4.14.291; from 4.15 before 4.19.256; from 4.20 before 5.4.211; from 5.5 before 5.10.137; from 5.11 before 5.15.61; from 5.16 before 5.18.18; from 5.19 before 5.19.2

## References

- <https://git.kernel.org/stable/c/f52c9be1779d70037ae300762d19b08fe3656237> (patch)
- <https://git.kernel.org/stable/c/dcbb974254d2a27240c2e50185afdde90f923feb> (patch)
- <https://git.kernel.org/stable/c/a530fa52d4fdffc5f010f90c05ac63019b8ff5f8> (patch)
- <https://git.kernel.org/stable/c/22e6d8bcde8e66b64f46bf9bd2d3d0f88d40c39f> (patch)
- <https://git.kernel.org/stable/c/179034fb108e3655142f2af0c309cef171c34d68> (patch)
- <https://git.kernel.org/stable/c/ecefd22d5db7ccb8bec2646e5d25e058fc33162a> (patch)
- <https://git.kernel.org/stable/c/3b01353f1825151a29d08e0868b2bf01e1116ab5> (patch)
- <https://git.kernel.org/stable/c/d1ff2559cef0f6f8d97fba6337b28adb10689e16> (patch)

## Sources

- CVE List: [CVE-2022-50197](https://www.cve.org/CVERecord?id=CVE-2022-50197), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2022-50197](https://nvd.nist.gov/vuln/detail/CVE-2022-50197), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2022-50197 · Whole record: https://cve.day/CVE-2022-50197.json · Rebuilt by cve.day 2026-11-25T22:58:21.099Z
