---
id: CVE-2022-50197
title: 'cpufreq: zynq: Fix refcount leak in zynq_get_revision'
summary: |-
  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 whe…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 00f7dc636366f72474b1896f4990b3c086cd2c6d <
    f52c9be1779d70037ae300762d19b08fe3656237
  - >-
    Linux >= 00f7dc636366f72474b1896f4990b3c086cd2c6d <
    dcbb974254d2a27240c2e50185afdde90f923feb
  - >-
    Linux >= 00f7dc636366f72474b1896f4990b3c086cd2c6d <
    a530fa52d4fdffc5f010f90c05ac63019b8ff5f8
  - >-
    Linux >= 00f7dc636366f72474b1896f4990b3c086cd2c6d <
    22e6d8bcde8e66b64f46bf9bd2d3d0f88d40c39f
  - >-
    Linux >= 00f7dc636366f72474b1896f4990b3c086cd2c6d <
    179034fb108e3655142f2af0c309cef171c34d68
  - >-
    Linux >= 00f7dc636366f72474b1896f4990b3c086cd2c6d <
    ecefd22d5db7ccb8bec2646e5d25e058fc33162a
  - >-
    Linux >= 00f7dc636366f72474b1896f4990b3c086cd2c6d <
    3b01353f1825151a29d08e0868b2bf01e1116ab5
  - >-
    Linux >= 00f7dc636366f72474b1896f4990b3c086cd2c6d <
    d1ff2559cef0f6f8d97fba6337b28adb10689e16
  - Linux 3.16
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:06:44.637361Z'
published: '2025-06-18'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:10:28.574Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-50197'
references:
  - url: 'https://git.kernel.org/stable/c/f52c9be1779d70037ae300762d19b08fe3656237'
  - url: 'https://git.kernel.org/stable/c/dcbb974254d2a27240c2e50185afdde90f923feb'
  - url: 'https://git.kernel.org/stable/c/a530fa52d4fdffc5f010f90c05ac63019b8ff5f8'
  - url: 'https://git.kernel.org/stable/c/22e6d8bcde8e66b64f46bf9bd2d3d0f88d40c39f'
  - url: 'https://git.kernel.org/stable/c/179034fb108e3655142f2af0c309cef171c34d68'
  - url: 'https://git.kernel.org/stable/c/ecefd22d5db7ccb8bec2646e5d25e058fc33162a'
  - url: 'https://git.kernel.org/stable/c/3b01353f1825151a29d08e0868b2bf01e1116ab5'
  - url: 'https://git.kernel.org/stable/c/d1ff2559cef0f6f8d97fba6337b28adb10689e16'
tags:
  - cve.org
epss: 0.00247
epssPercentile: 0.16018
ingestedAt: '2026-11-05T22:38:31.701Z'
---

## Overview

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.

## Affected

- `Linux >= 00f7dc636366f72474b1896f4990b3c086cd2c6d < f52c9be1779d70037ae300762d19b08fe3656237`
- `Linux >= 00f7dc636366f72474b1896f4990b3c086cd2c6d < dcbb974254d2a27240c2e50185afdde90f923feb`
- `Linux >= 00f7dc636366f72474b1896f4990b3c086cd2c6d < a530fa52d4fdffc5f010f90c05ac63019b8ff5f8`
- `Linux >= 00f7dc636366f72474b1896f4990b3c086cd2c6d < 22e6d8bcde8e66b64f46bf9bd2d3d0f88d40c39f`
- `Linux >= 00f7dc636366f72474b1896f4990b3c086cd2c6d < 179034fb108e3655142f2af0c309cef171c34d68`
- `Linux >= 00f7dc636366f72474b1896f4990b3c086cd2c6d < ecefd22d5db7ccb8bec2646e5d25e058fc33162a`
- `Linux >= 00f7dc636366f72474b1896f4990b3c086cd2c6d < 3b01353f1825151a29d08e0868b2bf01e1116ab5`
- `Linux >= 00f7dc636366f72474b1896f4990b3c086cd2c6d < d1ff2559cef0f6f8d97fba6337b28adb10689e16`
- `Linux 3.16`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
