Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.14.291, 4.19.256, 5.10.137, 5.15.61, 5.18.18, 5.19.2, 5.4.211
CVEs
CVE-2022-50191
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 17:36 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 18 Jun 2025, 11:03 UTC

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.

osv:CVE-2022-50191

Kernel

Fixed versions: 4.14.291, 4.19.256, 5.4.211, 5.10.137, 5.15.61, 5.18.18, 5.19.2

Complete source record
{
  "id": "912e28a4e064236d824bd4475150538fc7e58968721b125264bb85f87da031b5",
  "url": "https://osv.dev/vulnerability/CVE-2022-50191",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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 increased the refcount.",
    "evidence": "osv:CVE-2022-50191",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.14.291",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "4.19.256",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.211",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.137",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.61",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.18.18",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.19.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-50191",
      "aliases": [
        "CVE-2022-50191"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "40e20d68bb3fb1ce2704c886d597918988d3321d"
                },
                {
                  "fixed": "a23098cc32860272dc6c3200ff20c34c65b7b694"
                },
                {
                  "fixed": "b9ca8585c766616563cf3c062c6878f61f83cf00"
                },
                {
                  "fixed": "35f9e861d9b9434903a8ede37a3561f78985826d"
                },
                {
                  "fixed": "332e555dca074c4eb2084898021c3676423814c3"
                },
                {
                  "fixed": "c9df8ff290097aabd5c9200f7f729b0813d37b19"
                },
                {
                  "fixed": "11ecb4f8735b0230d54a82c18b21ea778b695d61"
                },
                {
                  "fixed": "fc7b19f547bc9e622060a0a9a39da2330aa21c53"
                },
                {
                  "fixed": "66efb665cd5ad69b27dca8571bf89fc6b9c628a4"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50191.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.19.0"
                },
                {
                  "fixed": "4.14.291"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "4.19.256"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.211"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.137"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.61"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.18.18"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.19.0"
                },
                {
                  "fixed": "5.19.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50191.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.322761620Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/11ecb4f8735b0230d54a82c18b21ea778b695d61",
        "https://git.kernel.org/stable/c/332e555dca074c4eb2084898021c3676423814c3",
        "https://git.kernel.org/stable/c/35f9e861d9b9434903a8ede37a3561f78985826d",
        "https://git.kernel.org/stable/c/66efb665cd5ad69b27dca8571bf89fc6b9c628a4",
        "https://git.kernel.org/stable/c/a23098cc32860272dc6c3200ff20c34c65b7b694",
        "https://git.kernel.org/stable/c/b9ca8585c766616563cf3c062c6878f61f83cf00",
        "https://git.kernel.org/stable/c/c9df8ff290097aabd5c9200f7f729b0813d37b19",
        "https://git.kernel.org/stable/c/fc7b19f547bc9e622060a0a9a39da2330aa21c53",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50191.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-50191",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50191.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-50191",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 497888,
  "published_at": "2025-06-18T11:03:36.928+00:00"
}