CVE-2022-49668Published Feb 26, 2025 · Feb 26Updated Oct 28
PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events
of_get_child_by_name() returns a node pointer with refcount incremented, we should use of_node_put() on it when done. This function only calls of_node_put() in normal path, missing it in error paths. Add missing of_node_put() to avoid refcount leak.
From the CVE record · Linux
The Linux kernel's exynos-ppmu devfreq code can leak a device-tree node reference when of_get_devfreq_events encounters an error. The input does not describe an attacker action, required access, or user interaction.
Engineers running the Linux kernel should check their affected versions; no version range is provided.