# regulator: of: Fix refcount leak bug in of_get_regulation_constraints()

CVE record · `CVE-2022-50191`

- **Identifiers:** `CVE-2022-50191`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 18 Jun 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 18 Jun 2025, 11:03 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `40e20d68bb3fb1ce2704c886d597918988d3321d to before a23098cc32860272dc6c3200ff20c34c65b7b694` (git)
  - affected: `40e20d68bb3fb1ce2704c886d597918988d3321d to before b9ca8585c766616563cf3c062c6878f61f83cf00` (git)
  - affected: `40e20d68bb3fb1ce2704c886d597918988d3321d to before 35f9e861d9b9434903a8ede37a3561f78985826d` (git)
  - affected: `40e20d68bb3fb1ce2704c886d597918988d3321d to before 332e555dca074c4eb2084898021c3676423814c3` (git)
  - affected: `40e20d68bb3fb1ce2704c886d597918988d3321d to before c9df8ff290097aabd5c9200f7f729b0813d37b19` (git)
  - affected: `40e20d68bb3fb1ce2704c886d597918988d3321d to before 11ecb4f8735b0230d54a82c18b21ea778b695d61` (git)
  - affected: `40e20d68bb3fb1ce2704c886d597918988d3321d to before fc7b19f547bc9e622060a0a9a39da2330aa21c53` (git)
  - affected: `40e20d68bb3fb1ce2704c886d597918988d3321d to before 66efb665cd5ad69b27dca8571bf89fc6b9c628a4` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.19`
  - unaffected: `before 3.19` (semver)
  - unaffected: `4.14.291 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.256 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.211 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.137 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.61 to 5.15.*, inclusive` (semver)
  - unaffected: `5.18.18 to 5.18.*, inclusive` (semver)
  - unaffected: `5.19.2 to 5.19.*, inclusive` (semver)
  - unaffected: `6.0 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Linux kernel versions from 3.19 up to the fixed releases are affected by a reference count leak in regulator constraint parsing, where a device tree node reference is not released. The source gives few details on attack conditions or impact. Upgrade to 4.14.291, 4.19.256, 5.4.211, 5.10.137, or a later release in your branch.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0026, the 18th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 18 Jun 2025, 11:03 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2022-50191)
- 18 Jun 2025, 11:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-50191)

## Sources

- [CVE List: CVE-2022-50191](https://www.cve.org/CVERecord?id=CVE-2022-50191)
- [NVD: CVE-2022-50191](https://nvd.nist.gov/vuln/detail/CVE-2022-50191)

### References from the CNA

- <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>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-50191>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-50191/>. Everything for agents: <https://agentprime.io/llms.txt>.
