CVE-2022-50197

Source
https://cve.org/CVERecord?id=CVE-2022-50197
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50197.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50197
Downstream
Related
Published
2025-06-18T11:03:40.779Z
Modified
2026-05-18T05:55:18.783843504Z
Summary
cpufreq: zynq: Fix refcount leak in zynq_get_revision
Details

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

cpufreq: zynq: Fix refcount leak in zynqgetrevision

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50197.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2022-50197.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.16.0
Fixed
4.14.291
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.256
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.211
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.137
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.61
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.18.18
Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
5.19.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50197.json"