# CVE-2022-50191: regulator: of: Fix refcount leak bug in of_get_regulation_constraints()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 19% of CVEs (2026-12-02)
- Published: 2025-06-18T11:03:36.928Z
- Modified: 2026-11-05T20:17:26.753Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 40e20d68bb3fb1ce2704c886d597918988d3321d before a23098cc32860272dc6c3200ff20c34c65b7b694; from 40e20d68bb3fb1ce2704c886d597918988d3321d before b9ca8585c766616563cf3c062c6878f61f83cf00; from 40e20d68bb3fb1ce2704c886d597918988d3321d before 35f9e861d9b9434903a8ede37a3561f78985826d; from 40e20d68bb3fb1ce2704c886d597918988d3321d before 332e555dca074c4eb2084898021c3676423814c3; from 40e20d68bb3fb1ce2704c886d597918988d3321d before c9df8ff290097aabd5c9200f7f729b0813d37b19; from 40e20d68bb3fb1ce2704c886d597918988d3321d before 11ecb4f8735b0230d54a82c18b21ea778b695d61; from 40e20d68bb3fb1ce2704c886d597918988d3321d before fc7b19f547bc9e622060a0a9a39da2330aa21c53; from 40e20d68bb3fb1ce2704c886d597918988d3321d before 66efb665cd5ad69b27dca8571bf89fc6b9c628a4; 3.19 (not affected: before 3.19; from 4.14.291 up to 4.14.*; from 4.19.256 up to 4.19.*; from 5.4.211 up to 5.4.*; from 5.10.137 up to 5.10.*; from 5.15.61 up to 5.15.*; from 5.18.18 up to 5.18.*; from 5.19.2 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 3.19 before 4.14.291; from 4.15 before 4.19.256; from 4.20 before 5.4.211; from 5.5 before 5.10.137; from 5.11 before 5.15.61; from 5.16 before 5.18.18; from 5.19 before 5.19.2

## References

- <https://git.kernel.org/stable/c/a23098cc32860272dc6c3200ff20c34c65b7b694> (patch)
- <https://git.kernel.org/stable/c/b9ca8585c766616563cf3c062c6878f61f83cf00> (patch)
- <https://git.kernel.org/stable/c/35f9e861d9b9434903a8ede37a3561f78985826d> (patch)
- <https://git.kernel.org/stable/c/332e555dca074c4eb2084898021c3676423814c3> (patch)
- <https://git.kernel.org/stable/c/c9df8ff290097aabd5c9200f7f729b0813d37b19> (patch)
- <https://git.kernel.org/stable/c/11ecb4f8735b0230d54a82c18b21ea778b695d61> (patch)
- <https://git.kernel.org/stable/c/fc7b19f547bc9e622060a0a9a39da2330aa21c53> (patch)
- <https://git.kernel.org/stable/c/66efb665cd5ad69b27dca8571bf89fc6b9c628a4> (patch)

## Sources

- CVE List: [CVE-2022-50191](https://www.cve.org/CVERecord?id=CVE-2022-50191), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2022-50191](https://nvd.nist.gov/vuln/detail/CVE-2022-50191), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2022-50191 · Whole record: https://cve.day/CVE-2022-50191.json · Rebuilt by cve.day 2026-11-25T22:58:21.097Z
