CVE-2022-50197

cpufreq: zynq: Fix refcount leak in zynq_get_revision

State
Published
Severity
Not scored
Published
Jun 18, 2025
Updated
May 11, 2026
Reserved
Jun 18, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 00f7dc636366f72474b1896f4990b3c086cd2c6d to before f52c9be1779d70037ae300762d19b08fe3656237Affected
  • 00f7dc636366f72474b1896f4990b3c086cd2c6d to before dcbb974254d2a27240c2e50185afdde90f923febAffected
  • 00f7dc636366f72474b1896f4990b3c086cd2c6d to before a530fa52d4fdffc5f010f90c05ac63019b8ff5f8Affected
  • 00f7dc636366f72474b1896f4990b3c086cd2c6d to before 22e6d8bcde8e66b64f46bf9bd2d3d0f88d40c39fAffected
  • 00f7dc636366f72474b1896f4990b3c086cd2c6d to before 179034fb108e3655142f2af0c309cef171c34d68Affected
  • 00f7dc636366f72474b1896f4990b3c086cd2c6d to before ecefd22d5db7ccb8bec2646e5d25e058fc33162aAffected
  • 00f7dc636366f72474b1896f4990b3c086cd2c6d to before 3b01353f1825151a29d08e0868b2bf01e1116ab5Affected
  • 00f7dc636366f72474b1896f4990b3c086cd2c6d to before d1ff2559cef0f6f8d97fba6337b28adb10689e16Affected
LinuxLinux
  • 3.16Affected
  • before 3.16Not affected
  • 4.14.291 through 4.14.*Not affected
  • 4.19.256 through 4.19.*Not affected
  • 5.4.211 through 5.4.*Not affected
  • 5.10.137 through 5.10.*Not affected
  • 5.15.61 through 5.15.*Not affected
  • 5.18.18 through 5.18.*Not affected
  • 5.19.2 through 5.19.*Not affected
  • 6.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.