{
  "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-50659",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-50659",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-12-09T01:29:07.236Z",
    "updatedAt": "2026-05-11T19:23:08.807Z",
    "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": "hwrng: geode - Fix PCI device refcount leak",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nhwrng: geode - Fix PCI device refcount leak\n\nfor_each_pci_dev() is implemented by pci_get_device(). The comment of\npci_get_device() says that it will increase the reference count for the\nreturned pci_dev and also decrease the reference count for the input\npci_dev @from if it is not NULL.\n\nIf we break for_each_pci_dev() loop with pdev not NULL, we need to call\npci_dev_put() to decrease the reference count. We add a new struct\n'amd_geode_priv' to record pointer of the pci_dev and membase, and then\nadd missing pci_dev_put() for the normal and error path.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "ef5d862734b84239e0140319a95fb0bbff5ef394",
              "status": "affected",
              "versionType": "git",
              "lessThan": "88f4ea623f59155280d99d1a59a968f838472c4a"
            },
            {
              "version": "ef5d862734b84239e0140319a95fb0bbff5ef394",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e2f44baf62567c5cfbc274974c7d96dddad53ccc"
            },
            {
              "version": "ef5d862734b84239e0140319a95fb0bbff5ef394",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6b9e43c4098f1310f5b4d52121d007a219fa5d43"
            },
            {
              "version": "ef5d862734b84239e0140319a95fb0bbff5ef394",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5cc818ad53df650cac8fb41d9066665366af3f03"
            },
            {
              "version": "ef5d862734b84239e0140319a95fb0bbff5ef394",
              "status": "affected",
              "versionType": "git",
              "lessThan": "aa96aff394a511cc7bb7df08d1b8504d4d97671e"
            },
            {
              "version": "ef5d862734b84239e0140319a95fb0bbff5ef394",
              "status": "affected",
              "versionType": "git",
              "lessThan": "82bd423ed977847652b2048b0f8dcf049b1847a9"
            },
            {
              "version": "ef5d862734b84239e0140319a95fb0bbff5ef394",
              "status": "affected",
              "versionType": "git",
              "lessThan": "874f798c2db5ad595e46982d7f727a679dacb048"
            },
            {
              "version": "ef5d862734b84239e0140319a95fb0bbff5ef394",
              "status": "affected",
              "versionType": "git",
              "lessThan": "19b7b85773b18457ff85a9ff4f5e2a2d4bf7ed0c"
            },
            {
              "version": "ef5d862734b84239e0140319a95fb0bbff5ef394",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9f6ec8dc574efb7f4f3d7ee9cd59ae307e78f445"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.18",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.18"
            },
            {
              "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": "*"
            }
          ]
        }
      ]
    }
  }
}