cpufreq: zynq: Fix refcount leak in zynq_get_revision
Published Jun 18, 2025
5.5
MEDIUMCVSS 3.1
EPSS 0.24%
Description
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 products
-
Affected
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
-
Affected
- 3.16
Unaffected
- ≥ 0, < 3.16
- ≥ 4.14.291, ≤ 4.14.*
- ≥ 4.19.256, ≤ 4.19.*
- ≥ 5.10.137, ≤ 5.10.*
- ≥ 5.15.61, ≤ 5.15.*
- ≥ 5.18.18, ≤ 5.18.*
- ≥ 5.19.2, ≤ 5.19.*
- ≥ 5.4.211, ≤ 5.4.*
- 6.0
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Linux | Linux | unaffected | Affected
|
| Linux | Linux | affected | Affected
Unaffected
|
- ≥ 3.16 · < 4.14.291
- ≥ 4.15 · < 4.19.256
- ≥ 4.20 · < 5.4.211
- ≥ 5.5 · < 5.10.137
- ≥ 5.11 · < 5.15.61
- ≥ 5.16 · < 5.18.18
- ≥ 5.19 · < 5.19.2
No data.
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Fix deferred
Red Hat Enterprise Linux 8
kernel-rt
Fix deferred
Red Hat Enterprise Linux 9
kernel
Fix deferred
Red Hat Enterprise Linux 9
kernel-rt
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Fix deferred | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | kernel | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (14)
- https://access.redhat.com/security/cve/CVE-2022-50197 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2373528 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-55461 Advisory
- https://git.kernel.org/stable/c/179034fb108e3655142f2af0c309cef171c34d68 Patch
- https://git.kernel.org/stable/c/22e6d8bcde8e66b64f46bf9bd2d3d0f88d40c39f Patch
- https://git.kernel.org/stable/c/3b01353f1825151a29d08e0868b2bf01e1116ab5 Patch
- https://git.kernel.org/stable/c/a530fa52d4fdffc5f010f90c05ac63019b8ff5f8 Patch
- https://git.kernel.org/stable/c/d1ff2559cef0f6f8d97fba6337b28adb10689e16 Patch
- https://git.kernel.org/stable/c/dcbb974254d2a27240c2e50185afdde90f923feb Patch
- https://git.kernel.org/stable/c/ecefd22d5db7ccb8bec2646e5d25e058fc33162a Patch
- https://git.kernel.org/stable/c/f52c9be1779d70037ae300762d19b08fe3656237 Patch
- https://lore.kernel.org/linux-cve-announce/2025061838-CVE-2022-50197-ed69@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-50197
- https://www.cve.org/CVERecord?id=CVE-2022-50197
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
No data
GitHub
No data