CVE-2022-50191
regulator: of: Fix refcount leak bug in of_get_regulation_constraints()
Mitigation
- Upgrade Linux to 66efb665cd5ad69b27dca8571bf89fc6b9c628a4 or later.
Who should check
- Anyone running Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < a23098cc32860272dc6c3200ff20c34c65b7b694; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < b9ca8585c766616563cf3c062c6878f61f83cf00; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < 35f9e861d9b9434903a8ede37a3561f78985826d; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < 332e555dca074c4eb2084898021c3676423814c3; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < c9df8ff290097aabd5c9200f7f729b0813d37b19; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < 11ecb4f8735b0230d54a82c18b21ea778b695d61; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < fc7b19f547bc9e622060a0a9a39da2330aa21c53; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < 66efb665cd5ad69b27dca8571bf89fc6b9c628a4
- Anyone running Linux 3.19
Vulnerability facts
- Affected
- Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < a23098cc32860272dc6c3200ff20c34c65b7b694; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < b9ca8585c766616563cf3c062c6878f61f83cf00; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < 35f9e861d9b9434903a8ede37a3561f78985826d; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < 332e555dca074c4eb2084898021c3676423814c3; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < c9df8ff290097aabd5c9200f7f729b0813d37b19; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < 11ecb4f8735b0230d54a82c18b21ea778b695d61; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < fc7b19f547bc9e622060a0a9a39da2330aa21c53; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < 66efb665cd5ad69b27dca8571bf89fc6b9c628a4; Linux 3.19
- Fixed in
- Linux 35f9e861d9b9434903a8ede37a3561f78985826d, Linux 332e555dca074c4eb2084898021c3676423814c3, Linux 11ecb4f8735b0230d54a82c18b21ea778b695d61, Linux 66efb665cd5ad69b27dca8571bf89fc6b9c628a4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: regulator: of: Fix refcount leak bug in of_get_regulation_constraints() We should call the of_node_put() for the reference returned by of_get_child_by_name() which has increased the refcount.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < a23098cc32860272dc6c3200ff20c34c65b7b694; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < b9ca8585c766616563cf3c062c6878f61f83cf00; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < 35f9e861d9b9434903a8ede37a3561f78985826d; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < 332e555dca074c4eb2084898021c3676423814c3; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < c9df8ff290097aabd5c9200f7f729b0813d37b19; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < 11ecb4f8735b0230d54a82c18b21ea778b695d61; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < fc7b19f547bc9e622060a0a9a39da2330aa21c53; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < 66efb665cd5ad69b27dca8571bf89fc6b9c628a4 | — | cvelist |
| Linux | 3.19 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50191. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50191.md Affected: Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < a23098cc32860272dc6c3200ff20c34c65b7b694; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < b9ca8585c766616563cf3c062c6878f61f83cf00; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < 35f9e861d9b9434903a8ede37a3561f78985826d; >= 40e20d68bb3fb1ce2704c88… Fixed in: Linux 35f9e861d9b9434903a8ede37a3561f78985826d, Linux 332e555dca074c4eb2084898021c3676423814c3, Linux 11ecb4f8735b0230d54a82c18b21ea778b695d61, Linux 66efb665cd5ad69b27dca8571bf89fc6b9c628a4 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/a23098cc32860272dc6c3200ff20c34c65b7b694
- https://git.kernel.org/stable/c/b9ca8585c766616563cf3c062c6878f61f83cf00
- https://git.kernel.org/stable/c/35f9e861d9b9434903a8ede37a3561f78985826d
- https://git.kernel.org/stable/c/332e555dca074c4eb2084898021c3676423814c3
- https://git.kernel.org/stable/c/c9df8ff290097aabd5c9200f7f729b0813d37b19
- https://git.kernel.org/stable/c/11ecb4f8735b0230d54a82c18b21ea778b695d61
- https://git.kernel.org/stable/c/fc7b19f547bc9e622060a0a9a39da2330aa21c53
- https://git.kernel.org/stable/c/66efb665cd5ad69b27dca8571bf89fc6b9c628a4
FAQ
Is CVE-2022-50191 being exploited?
There is no confirmed exploitation: CVE-2022-50191 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50191?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-50191?
Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < a23098cc32860272dc6c3200ff20c34c65b7b694; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < b9ca8585c766616563cf3c062c6878f61f83cf00; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < 35f9e861d9b9434903a8ede37a3561f78985826d; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < 332e555dca074c4eb2084898021c3676423814c3; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < c9df8ff290097aabd5c9200f7f729b0813d37b19; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < 11ecb4f8735b0230d54a82c18b21ea778b695d61; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < fc7b19f547bc9e622060a0a9a39da2330aa21c53; >= 40e20d68bb3fb1ce2704c886d597918988d3321d, < 66efb665cd5ad69b27dca8571bf89fc6b9c628a4; Linux 3.19.
Is there a fix for CVE-2022-50191?
Yes. Fixed in Linux 35f9e861d9b9434903a8ede37a3561f78985826d, Linux 332e555dca074c4eb2084898021c3676423814c3, Linux 11ecb4f8735b0230d54a82c18b21ea778b695d61, Linux 66efb665cd5ad69b27dca8571bf89fc6b9c628a4. Upgrade Linux to 66efb665cd5ad69b27dca8571bf89fc6b9c628a4 or later.
How do I check if I'm affected by CVE-2022-50191?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.