CVE-2022-50197Published Jun 18, 2025 · Jun 18Updated Nov 7
cpufreq: zynq: Fix refcount leak in zynq_get_revision
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 00f7dc636366f72474b1896f4990b3c086cd2c6d · < ecefd22d5db7ccb8bec2646e5d25e058fc33162a| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s zynq cpufreq code does not release a device-tree node reference in zynq_get_revision, causing a reference count leak. The input does not establish what an attacker could do or whether exploitation requires network or local access, authentication, or user interaction.
Engineers running Linux kernels that include the zynq cpufreq code should check their exposure; affected versions are not specified.