CVE-2022-49668
JSON

5.5medium

PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.26% (higher than 19% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom f262f28c147051e7aa6daaf4fb5996833ffadff4 before bdecd912e99acfd61507f1720d3f4eed1b3418d8, from f262f28c147051e7aa6daaf4fb5996833ffadff4 before e65027fdebbacd40595e96ef7b5d2418f71bddf2, from f262f28c147051e7aa6daaf4fb5996833ffadff4 before 01121e39ef537289926ae6f5374dce92c796d863, from f262f28c147051e7aa6daaf4fb5996833ffadff4 before 194781229d4cbc804b8ded13156eb8addce87d6c, from f262f28c147051e7aa6daaf4fb5996833ffadff4 before f44b799603a9b5d2e375b0b2d54dd0b791eddfc2, 4.0
Not affected: before 4.0, from 5.4.204 up to 5.4.*, from 5.10.129 up to 5.10.*, from 5.15.53 up to 5.15.*, from 5.18.10 up to 5.18.*, from 5.19 up to *
CVE List
linux linux_kernelfrom 4.0 before 5.4.204, from 5.5 before 5.10.129, from 5.11 before 5.15.53, from 5.16 before 5.18.10, 5.19NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: PM/devfreq: exynos-ppmu: Se corrige la fuga de refcount en of_get_devfreq_events of_get_child_by_name() devuelve un puntero de nodo con refcount incrementado, deberíamos usar of_node_put() en él cuando haya terminado. Esta función solo llama a of_node_put() en la ruta normal, y no la llama en las rutas de error. Agregue la falta de of_node_put() para evitar la fuga de refcount.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-49668 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-49668 changed 2026-06-17Public domain