ARM: exynos: Fix refcount leak in exynos_map_pmu
Published Feb 26, 2025
5.5
MEDIUMCVSS 3.1
EPSS 0.26%
Description
of_find_matching_node() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak. of_node_put() checks null pointer.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 3.17StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<3.17
- Version 4.14.286StatusunaffectedConstraints<=4.14.*
- Version 4.19.250StatusunaffectedConstraints<=4.19.*
- Version 4.9.321StatusunaffectedConstraints<=4.9.*
- Version 5.10.127StatusunaffectedConstraints<=5.10.*
- Version 5.15.51StatusunaffectedConstraints<=5.15.*
- Version 5.18.8StatusunaffectedConstraints<=5.18.*
- Version 5.19StatusunaffectedConstraints<=*
- Version 5.4.202StatusunaffectedConstraints<=5.4.*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| |||||||||||||||||||||||||||||||||
| Linux | Linux | affected |
|
- ≥ 3.17 · < 4.9.321
- ≥ 4.10 · < 4.14.286
- ≥ 4.15 · < 4.19.250
- ≥ 4.20 · < 5.4.202
- ≥ 5.5 · < 5.10.127
- ≥ 5.11 · < 5.15.51
- ≥ 5.16 · < 5.18.8
- 5.19
- 5.19
- 5.19
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
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| 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 | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (14)
- https://access.redhat.com/security/cve/CVE-2022-49680 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2347981 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-54553 Advisory
- https://git.kernel.org/stable/c/31d09571bb071c20f6bdc0bb7ac1ef8dd2987c04 Patch
- https://git.kernel.org/stable/c/545ae5cbae839ce39bfe09828e413f1c916082de Patch
- https://git.kernel.org/stable/c/68f28d52e6cbab8dcfa249cac4356d1d0573e868 Patch
- https://git.kernel.org/stable/c/7571bcecf01b69f0d3ec60ca41ce5d4c75411a4a Patch
- https://git.kernel.org/stable/c/c4c79525042a4a7df96b73477feaf232fe44ae81 Patch
- https://git.kernel.org/stable/c/d23f76018e17618559da9eea179d137362023f95 Patch
- https://git.kernel.org/stable/c/f9b77a52937582a5b99a5a07e4ef1e2f48f87347 Patch
- https://git.kernel.org/stable/c/fc354856e9fad9cd36e2ad28f9da70716025055a Patch
- https://lore.kernel.org/linux-cve-announce/2025022625-CVE-2022-49680-9dea@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-49680
- https://www.cve.org/CVERecord?id=CVE-2022-49680
Change history (0)
No recorded changes yet.