---
id: CVE-2022-50191
title: 'regulator: of: Fix refcount leak bug in of_get_regulation_constraints()'
summary: |-
  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…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d <
    a23098cc32860272dc6c3200ff20c34c65b7b694
  - >-
    Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d <
    b9ca8585c766616563cf3c062c6878f61f83cf00
  - >-
    Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d <
    35f9e861d9b9434903a8ede37a3561f78985826d
  - >-
    Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d <
    332e555dca074c4eb2084898021c3676423814c3
  - >-
    Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d <
    c9df8ff290097aabd5c9200f7f729b0813d37b19
  - >-
    Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d <
    11ecb4f8735b0230d54a82c18b21ea778b695d61
  - >-
    Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d <
    fc7b19f547bc9e622060a0a9a39da2330aa21c53
  - >-
    Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d <
    66efb665cd5ad69b27dca8571bf89fc6b9c628a4
  - Linux 3.19
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:06:40.488025Z'
published: '2025-06-18'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:10:28.390Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-50191'
references:
  - url: 'https://git.kernel.org/stable/c/a23098cc32860272dc6c3200ff20c34c65b7b694'
  - url: 'https://git.kernel.org/stable/c/b9ca8585c766616563cf3c062c6878f61f83cf00'
  - url: 'https://git.kernel.org/stable/c/35f9e861d9b9434903a8ede37a3561f78985826d'
  - url: 'https://git.kernel.org/stable/c/332e555dca074c4eb2084898021c3676423814c3'
  - url: 'https://git.kernel.org/stable/c/c9df8ff290097aabd5c9200f7f729b0813d37b19'
  - url: 'https://git.kernel.org/stable/c/11ecb4f8735b0230d54a82c18b21ea778b695d61'
  - url: 'https://git.kernel.org/stable/c/fc7b19f547bc9e622060a0a9a39da2330aa21c53'
  - url: 'https://git.kernel.org/stable/c/66efb665cd5ad69b27dca8571bf89fc6b9c628a4'
tags:
  - cve.org
epss: 0.00253
epssPercentile: 0.16944
ingestedAt: '2026-11-05T22:38:31.702Z'
---

## Overview

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

- `Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d < a23098cc32860272dc6c3200ff20c34c65b7b694`
- `Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d < b9ca8585c766616563cf3c062c6878f61f83cf00`
- `Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d < 35f9e861d9b9434903a8ede37a3561f78985826d`
- `Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d < 332e555dca074c4eb2084898021c3676423814c3`
- `Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d < c9df8ff290097aabd5c9200f7f729b0813d37b19`
- `Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d < 11ecb4f8735b0230d54a82c18b21ea778b695d61`
- `Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d < fc7b19f547bc9e622060a0a9a39da2330aa21c53`
- `Linux >= 40e20d68bb3fb1ce2704c886d597918988d3321d < 66efb665cd5ad69b27dca8571bf89fc6b9c628a4`
- `Linux 3.19`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
