ARM: hisi: Add missing of_node_put after of_find_compatible_node
Published Feb 26, 2025
5.5
MEDIUMCVSS 3.1
EPSS 0.28%
Description
of_find_compatible_node will increment the refcount of the returned device_node. Calling of_node_put() to avoid the refcount leak
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 3.14StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<3.14
- Version 4.14.283StatusunaffectedConstraints<=4.14.*
- Version 4.19.247StatusunaffectedConstraints<=4.19.*
- Version 4.9.318StatusunaffectedConstraints<=4.9.*
- Version 5.10.121StatusunaffectedConstraints<=5.10.*
- Version 5.15.46StatusunaffectedConstraints<=5.15.*
- Version 5.17.14StatusunaffectedConstraints<=5.17.*
- Version 5.18.3StatusunaffectedConstraints<=5.18.*
- Version 5.19StatusunaffectedConstraints<=*
- Version 5.4.198StatusunaffectedConstraints<=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 |
|
- < 4.9.318
- ≥ 4.10 · < 4.14.283
- ≥ 4.15 · < 4.19.247
- ≥ 4.20 · < 5.4.198
- ≥ 5.5 · < 5.10.121
- ≥ 5.11 · < 5.15.46
- ≥ 5.16 · < 5.17.14
- ≥ 5.18 · < 5.18.3
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
Out of support scope
Red Hat Enterprise Linux 8
kernel-rt
Out of support scope
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 | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Out of support scope | 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 (15)
- https://access.redhat.com/security/cve/CVE-2022-49447 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2347843 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-54782 Advisory
- https://git.kernel.org/stable/c/21a3effe446dd6dc5eed7fe897c2f9b88c9a5d6d Patch
- https://git.kernel.org/stable/c/45d211668d33c49d73f5213e8c2b58468108647c Patch
- https://git.kernel.org/stable/c/46cb7868811d025c3d29c10d18b3422db1cf20d5 Patch
- https://git.kernel.org/stable/c/9bc72e47d4630d58a840a66a869c56b29554cfe4 Patch
- https://git.kernel.org/stable/c/a3265a9440030068547a20dfee646666f3ca5278 Patch
- https://git.kernel.org/stable/c/cafaaae4bb9ce84a2791fa29bf6907a9466c3883 Patch
- https://git.kernel.org/stable/c/dd4be8ecfb41a29e7c4e551b4e866157ce4a3429 Patch
- https://git.kernel.org/stable/c/e109058165137ef42841abd989f080adfefa14fa Patch
- https://git.kernel.org/stable/c/f8da78b2bae1f54746647a2bb44f8bd6025c57af Patch
- https://lore.kernel.org/linux-cve-announce/2025022658-CVE-2022-49447-4819@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-49447
- https://www.cve.org/CVERecord?id=CVE-2022-49447
Change history (0)
No recorded changes yet.