{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2022-50887",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-50887",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-12-30T12:37:05.505Z",
    "updatedAt": "2026-05-11T19:27:03.329Z",
    "importedAt": "2026-10-24T01:56:49.724Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "regulator: core: fix unbalanced of node refcount in regulator_dev_lookup()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nregulator: core: fix unbalanced of node refcount in regulator_dev_lookup()\n\nI got the the following report:\n\n  OF: ERROR: memory leak, expected refcount 1 instead of 2,\n  of_node_get()/of_node_put() unbalanced - destroy cset entry:\n  attach overlay node /i2c/pmic@62/regulators/exten\n\nIn of_get_regulator(), the node is returned from of_parse_phandle()\nwith refcount incremented, after using it, of_node_put() need be called.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "69511a452e6dc6b74fe4f3671a51b1b44b9c57e3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0e88505ac0a6ae97746bcdbd4b042ee9f20455ae"
            },
            {
              "version": "69511a452e6dc6b74fe4f3671a51b1b44b9c57e3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4dfcf5087db9a34a300d6b99009232d4537c3e6a"
            },
            {
              "version": "69511a452e6dc6b74fe4f3671a51b1b44b9c57e3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3ac888db0f67813d91373a9a61c840f815cd4ec9"
            },
            {
              "version": "69511a452e6dc6b74fe4f3671a51b1b44b9c57e3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d39937f8de641c44a337cec4a2e5d3e8add20a7d"
            },
            {
              "version": "69511a452e6dc6b74fe4f3671a51b1b44b9c57e3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f48c474efe05cf9ce5e535b5e0ddd710e963936c"
            },
            {
              "version": "69511a452e6dc6b74fe4f3671a51b1b44b9c57e3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "cda1895f3b7f324ece1614308a815a3994983b97"
            },
            {
              "version": "69511a452e6dc6b74fe4f3671a51b1b44b9c57e3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2b93c58adddd98812ad928bbc2063038f3df1ffd"
            },
            {
              "version": "69511a452e6dc6b74fe4f3671a51b1b44b9c57e3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2f98469c3141f8e42ba11075a273fb795bbad57f"
            },
            {
              "version": "69511a452e6dc6b74fe4f3671a51b1b44b9c57e3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f2b41b748c19962b82709d9f23c6b2b0ce9d2f91"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.3",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.3"
            },
            {
              "version": "4.9.337",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.9.*"
            },
            {
              "version": "4.14.303",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "version": "4.19.270",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.229",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.163",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.86",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.0.16",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.0.*"
            },
            {
              "version": "6.1.2",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.2",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}