CVE-2022-50197

cpufreq: zynq: Fix refcount leak in zynq_get_revision

MEDIUM
5.5
CVSS Score
Published: June 18, 2025 at 11:03 AM UTC
Updated: June 17, 2026 at 05:22 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.16 ≤ v < 4.14.2913.16 ≤ v < 4.19.2563.16 ≤ v < 5.10.1373.16 ≤ v < 5.15.613.16 ≤ v < 5.18.183.16 ≤ v < 5.19.23.16 ≤ v < 5.4.2113.16 ≤ v < 6.04.15 ≤ v < 4.19.2564.20 ≤ v < 5.4.2115.11 ≤ v < 5.15.615.16 ≤ v < 5.18.185.19 ≤ v < 5.19.25.5 ≤ v < 5.10.1370f7dc636366f72474b1896f4990b3c86cd2c6d3.16
Vendor states this is fixed in 179034fb108e3655142f2af0c309cef171c34d68 (fixed)
Vendor states this is fixed in 22e6d8bcde8e66b64f46bf9bd2d3d0f88d40c39f (fixed)
Vendor states this is fixed in 3b01353f1825151a29d08e0868b2bf01e1116ab5 (fixed)
Vendor states this is fixed in a530fa52d4fdffc5f010f90c05ac63019b8ff5f8 (fixed)
Vendor states this is fixed in d1ff2559cef0f6f8d97fba6337b28adb10689e16 (fixed)
Vendor states this is fixed in dcbb974254d2a27240c2e50185afdde90f923feb (fixed)
Vendor states this is fixed in ecefd22d5db7ccb8bec2646e5d25e058fc33162a (fixed)
Vendor states this is fixed in f52c9be1779d70037ae300762d19b08fe3656237 (fixed)
Vendor states this is fixed in 3.16 (unaffected)
Vendor states this is fixed in 4.14.291 (unaffected)
Vendor states this is fixed in 4.19.256 (unaffected)
Vendor states this is fixed in 5.10.137 (unaffected)
Vendor states this is fixed in 5.15.61 (unaffected)
Vendor states this is fixed in 5.18.18 (unaffected)
Vendor states this is fixed in 5.19.2 (unaffected)
Vendor states this is fixed in 5.4.211 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/179034fb108e3655142f2af0c309cef171c34d68
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/22e6d8bcde8e66b64f46bf9bd2d3d0f88d40c39f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3b01353f1825151a29d08e0868b2bf01e1116ab5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a530fa52d4fdffc5f010f90c05ac63019b8ff5f8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d1ff2559cef0f6f8d97fba6337b28adb10689e16
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dcbb974254d2a27240c2e50185afdde90f923feb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ecefd22d5db7ccb8bec2646e5d25e058fc33162a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f52c9be1779d70037ae300762d19b08fe3656237

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card