CVE-2022-50645 (GCVE-0-2022-50645)
Vulnerability from cvelistv5
Published
2025-12-09 00:00
Modified
2026-05-11 19:22
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: EDAC/i10nm: fix refcount leak in pci_get_dev_wrapper() As the comment of pci_get_domain_bus_and_slot() says, it returns a PCI device with refcount incremented, so it doesn't need to call an extra pci_dev_get() in pci_get_dev_wrapper(), and the PCI device needs to be put in the error path.
Impacted products
Vendor Product Version
Linux Linux Version: d4dc89d069aab9074e2493a4c2f3969a0a0b91c1
Version: d4dc89d069aab9074e2493a4c2f3969a0a0b91c1
Version: d4dc89d069aab9074e2493a4c2f3969a0a0b91c1
Version: d4dc89d069aab9074e2493a4c2f3969a0a0b91c1
Version: d4dc89d069aab9074e2493a4c2f3969a0a0b91c1
Version: d4dc89d069aab9074e2493a4c2f3969a0a0b91c1
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/edac/i10nm_base.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e6e295a434d1c917a017980389aec88bf35cc81b",
              "status": "affected",
              "version": "d4dc89d069aab9074e2493a4c2f3969a0a0b91c1",
              "versionType": "git"
            },
            {
              "lessThan": "2db53c7059167b63cc790366ef1a9e286e71980b",
              "status": "affected",
              "version": "d4dc89d069aab9074e2493a4c2f3969a0a0b91c1",
              "versionType": "git"
            },
            {
              "lessThan": "3e255dc21031cc1f341584eb99a7f31598bf0be7",
              "status": "affected",
              "version": "d4dc89d069aab9074e2493a4c2f3969a0a0b91c1",
              "versionType": "git"
            },
            {
              "lessThan": "1adb2583cdbd75f379e3230a43a7412d373d499f",
              "status": "affected",
              "version": "d4dc89d069aab9074e2493a4c2f3969a0a0b91c1",
              "versionType": "git"
            },
            {
              "lessThan": "f29c2f57cdf7a57223dcd9fbaa2261faab5234b2",
              "status": "affected",
              "version": "d4dc89d069aab9074e2493a4c2f3969a0a0b91c1",
              "versionType": "git"
            },
            {
              "lessThan": "9c8921555907f4d723f01ed2d859b66f2d14f08e",
              "status": "affected",
              "version": "d4dc89d069aab9074e2493a4c2f3969a0a0b91c1",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/edac/i10nm_base.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.1"
            },
            {
              "lessThan": "5.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.229",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.86",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.229",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.163",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.86",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.16",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.2",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nEDAC/i10nm: fix refcount leak in pci_get_dev_wrapper()\n\nAs the comment of pci_get_domain_bus_and_slot() says, it returns\na PCI device with refcount incremented, so it doesn\u0027t need to\ncall an extra pci_dev_get() in pci_get_dev_wrapper(), and the PCI\ndevice needs to be put in the error path."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:22:51.285Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/e6e295a434d1c917a017980389aec88bf35cc81b"
        },
        {
          "url": "https://git.kernel.org/stable/c/2db53c7059167b63cc790366ef1a9e286e71980b"
        },
        {
          "url": "https://git.kernel.org/stable/c/3e255dc21031cc1f341584eb99a7f31598bf0be7"
        },
        {
          "url": "https://git.kernel.org/stable/c/1adb2583cdbd75f379e3230a43a7412d373d499f"
        },
        {
          "url": "https://git.kernel.org/stable/c/f29c2f57cdf7a57223dcd9fbaa2261faab5234b2"
        },
        {
          "url": "https://git.kernel.org/stable/c/9c8921555907f4d723f01ed2d859b66f2d14f08e"
        }
      ],
      "title": "EDAC/i10nm: fix refcount leak in pci_get_dev_wrapper()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50645",
    "datePublished": "2025-12-09T00:00:19.652Z",
    "dateReserved": "2025-12-08T23:57:43.371Z",
    "dateUpdated": "2026-05-11T19:22:51.285Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…