regulator: of: Fix refcount leak bug in of_get_regulation_constraints()
Published Jun 18, 2025
5.5
MEDIUMCVSS 3.1
EPSS 0.25%
Description
We should call the of_node_put() for the reference returned by of_get_child_by_name() which has increased the refcount.
Affected products
-
Affected
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
-
Affected
- 3.19
Unaffected
- ≥ 0, < 3.19
- ≥ 4.14.291, ≤ 4.14.*
- ≥ 4.19.256, ≤ 4.19.*
- ≥ 5.10.137, ≤ 5.10.*
- ≥ 5.15.61, ≤ 5.15.*
- ≥ 5.18.18, ≤ 5.18.*
- ≥ 5.19.2, ≤ 5.19.*
- ≥ 5.4.211, ≤ 5.4.*
- 6.0
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Linux | Linux | unaffected | Affected
|
| Linux | Linux | affected | Affected
Unaffected
|
- ≥ 3.19 · < 4.14.291
- ≥ 4.15 · < 4.19.256
- ≥ 4.20 · < 5.4.211
- ≥ 5.5 · < 5.10.137
- ≥ 5.11 · < 5.15.61
- ≥ 5.16 · < 5.18.18
- ≥ 5.19 · < 5.19.2
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
Affected
Red Hat Enterprise Linux 9
kernel-rt
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 | Affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
No CWE recorded.
References (14)
- https://access.redhat.com/security/cve/CVE-2022-50191 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2373587 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-55455 Advisory
- https://git.kernel.org/stable/c/11ecb4f8735b0230d54a82c18b21ea778b695d61 Patch
- https://git.kernel.org/stable/c/332e555dca074c4eb2084898021c3676423814c3 Patch
- https://git.kernel.org/stable/c/35f9e861d9b9434903a8ede37a3561f78985826d Patch
- https://git.kernel.org/stable/c/66efb665cd5ad69b27dca8571bf89fc6b9c628a4 Patch
- https://git.kernel.org/stable/c/a23098cc32860272dc6c3200ff20c34c65b7b694 Patch
- https://git.kernel.org/stable/c/b9ca8585c766616563cf3c062c6878f61f83cf00 Patch
- https://git.kernel.org/stable/c/c9df8ff290097aabd5c9200f7f729b0813d37b19 Patch
- https://git.kernel.org/stable/c/fc7b19f547bc9e622060a0a9a39da2330aa21c53 Patch
- https://lore.kernel.org/linux-cve-announce/2025061836-CVE-2022-50191-8c6c@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-50191
- https://www.cve.org/CVERecord?id=CVE-2022-50191
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
No data
GitHub
No data