{
  "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-50868",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-50868",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-12-30T12:15:39.211Z",
    "updatedAt": "2026-05-11T19:26:40.801Z",
    "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: amd - Fix PCI device refcount leak",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nhwrng: amd - 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. Add the missing\npci_dev_put() for the normal and error path.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "96d63c0297ccfd6d9059c614b3f5555d9441a2b3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f1c97f72ffd504f49882774e2ab689d982dc7afc"
            },
            {
              "version": "96d63c0297ccfd6d9059c614b3f5555d9441a2b3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "526c316948819d3ecd2bb20fe5e2580c51a1b760"
            },
            {
              "version": "96d63c0297ccfd6d9059c614b3f5555d9441a2b3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e246f5eff26055bdcb61a2cc99c50af72a19680f"
            },
            {
              "version": "96d63c0297ccfd6d9059c614b3f5555d9441a2b3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1199f8e02941b326c60ab71a63002b7c80e38212"
            },
            {
              "version": "96d63c0297ccfd6d9059c614b3f5555d9441a2b3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5998e5c30e839f73e62cb29e0d9617b0d16ccba3"
            },
            {
              "version": "96d63c0297ccfd6d9059c614b3f5555d9441a2b3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2b79a5e560779b35e1164d57ae35c48b43373082"
            },
            {
              "version": "96d63c0297ccfd6d9059c614b3f5555d9441a2b3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "cb348c7908631dd9f60083a0a1542eab055d3edf"
            },
            {
              "version": "96d63c0297ccfd6d9059c614b3f5555d9441a2b3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2e10ecd012ae2b2a374b34f307e9bc1e6096c03d"
            },
            {
              "version": "96d63c0297ccfd6d9059c614b3f5555d9441a2b3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ecadb5b0111ea19fc7c240bb25d424a94471eb7d"
            }
          ]
        },
        {
          "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": "*"
            }
          ]
        }
      ]
    }
  }
}