GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2022-50505 (GCVE-0-2022-50505)

Vulnerability from cvelistv5 – Published: 2025-10-04 15:43 – Updated: 2026-05-11 19:20
VLAI
Title
iommu/amd: Fix pci device refcount leak in ppr_notifier()
Summary
In the Linux kernel, the following vulnerability has been resolved: iommu/amd: Fix pci device refcount leak in ppr_notifier() As comment of pci_get_domain_bus_and_slot() says, it returns a pci device with refcount increment, when finish using it, the caller must decrement the reference count by calling pci_dev_put(). So call it before returning from ppr_notifier() to avoid refcount leak.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: daae2d25a4779b272a66ddd01f5810bcee822b9e , < bdb2113dd8f17a3cc84a2b4be4968a849f69ec72 (git)
Affected: daae2d25a4779b272a66ddd01f5810bcee822b9e , < efd50c65fd1cdef63eb58825f3fe72496443764c (git)
Affected: daae2d25a4779b272a66ddd01f5810bcee822b9e , < 8581ec1feb895ff596fe3d326d9ba320083290aa (git)
Affected: daae2d25a4779b272a66ddd01f5810bcee822b9e , < 03f51c72997559e73b327608f0cccfded715c9a0 (git)
Affected: daae2d25a4779b272a66ddd01f5810bcee822b9e , < 6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5 (git)
Affected: daae2d25a4779b272a66ddd01f5810bcee822b9e , < 902cc2507091a81643502d8ceb0e2f105e902518 (git)
Affected: daae2d25a4779b272a66ddd01f5810bcee822b9e , < b0637f4bd426925f5c3a15e8f8e36190fe06bac5 (git)
Affected: daae2d25a4779b272a66ddd01f5810bcee822b9e , < 6cf0981c2233f97d56938d9d61845383d6eb227c (git)
guessed Create a notification for this product.
Linux Linux Affected: 4.14
Unaffected: 0 , < 4.14 (semver)
Unaffected: 4.14.303 , ≤ 4.14.* (semver)
Unaffected: 4.19.270 , ≤ 4.19.* (semver)
Unaffected: 5.4.229 , ≤ 5.4.* (semver)
Unaffected: 5.10.163 , ≤ 5.10.* (semver)
Unaffected: 5.15.86 , ≤ 5.15.* (semver)
Unaffected: 6.0.16 , ≤ 6.0.* (semver)
Unaffected: 6.1.2 , ≤ 6.1.* (semver)
Unaffected: 6.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/iommu/amd/iommu_v2.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "bdb2113dd8f17a3cc84a2b4be4968a849f69ec72",
              "status": "affected",
              "version": "daae2d25a4779b272a66ddd01f5810bcee822b9e",
              "versionType": "git"
            },
            {
              "lessThan": "efd50c65fd1cdef63eb58825f3fe72496443764c",
              "status": "affected",
              "version": "daae2d25a4779b272a66ddd01f5810bcee822b9e",
              "versionType": "git"
            },
            {
              "lessThan": "8581ec1feb895ff596fe3d326d9ba320083290aa",
              "status": "affected",
              "version": "daae2d25a4779b272a66ddd01f5810bcee822b9e",
              "versionType": "git"
            },
            {
              "lessThan": "03f51c72997559e73b327608f0cccfded715c9a0",
              "status": "affected",
              "version": "daae2d25a4779b272a66ddd01f5810bcee822b9e",
              "versionType": "git"
            },
            {
              "lessThan": "6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5",
              "status": "affected",
              "version": "daae2d25a4779b272a66ddd01f5810bcee822b9e",
              "versionType": "git"
            },
            {
              "lessThan": "902cc2507091a81643502d8ceb0e2f105e902518",
              "status": "affected",
              "version": "daae2d25a4779b272a66ddd01f5810bcee822b9e",
              "versionType": "git"
            },
            {
              "lessThan": "b0637f4bd426925f5c3a15e8f8e36190fe06bac5",
              "status": "affected",
              "version": "daae2d25a4779b272a66ddd01f5810bcee822b9e",
              "versionType": "git"
            },
            {
              "lessThan": "6cf0981c2233f97d56938d9d61845383d6eb227c",
              "status": "affected",
              "version": "daae2d25a4779b272a66ddd01f5810bcee822b9e",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/iommu/amd/iommu_v2.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.14"
            },
            {
              "lessThan": "4.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.303",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.270",
              "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": "4.14.303",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.270",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.229",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.163",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.86",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.16",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.2",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niommu/amd: Fix pci device refcount leak in ppr_notifier()\n\nAs comment of pci_get_domain_bus_and_slot() says, it returns\na pci device with refcount increment, when finish using it,\nthe caller must decrement the reference count by calling\npci_dev_put(). So call it before returning from ppr_notifier()\nto avoid refcount leak."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:20:43.821Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/bdb2113dd8f17a3cc84a2b4be4968a849f69ec72"
        },
        {
          "url": "https://git.kernel.org/stable/c/efd50c65fd1cdef63eb58825f3fe72496443764c"
        },
        {
          "url": "https://git.kernel.org/stable/c/8581ec1feb895ff596fe3d326d9ba320083290aa"
        },
        {
          "url": "https://git.kernel.org/stable/c/03f51c72997559e73b327608f0cccfded715c9a0"
        },
        {
          "url": "https://git.kernel.org/stable/c/6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5"
        },
        {
          "url": "https://git.kernel.org/stable/c/902cc2507091a81643502d8ceb0e2f105e902518"
        },
        {
          "url": "https://git.kernel.org/stable/c/b0637f4bd426925f5c3a15e8f8e36190fe06bac5"
        },
        {
          "url": "https://git.kernel.org/stable/c/6cf0981c2233f97d56938d9d61845383d6eb227c"
        }
      ],
      "title": "iommu/amd: Fix pci device refcount leak in ppr_notifier()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50505",
    "datePublished": "2025-10-04T15:43:54.265Z",
    "dateReserved": "2025-10-04T15:39:19.465Z",
    "dateUpdated": "2026-05-11T19:20:43.821Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-50505",
      "date": "2026-09-14",
      "epss": "0.00159",
      "percentile": "0.05433"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50505\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-04T16:15:47.730\",\"lastModified\":\"2026-06-17T05:23:41.060\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\niommu/amd: Fix pci device refcount leak in ppr_notifier()\\n\\nAs comment of pci_get_domain_bus_and_slot() says, it returns\\na pci device with refcount increment, when finish using it,\\nthe caller must decrement the reference count by calling\\npci_dev_put(). So call it before returning from ppr_notifier()\\nto avoid refcount leak.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/iommu/amd/iommu_v2.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"daae2d25a4779b272a66ddd01f5810bcee822b9e\",\"lessThan\":\"bdb2113dd8f17a3cc84a2b4be4968a849f69ec72\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"daae2d25a4779b272a66ddd01f5810bcee822b9e\",\"lessThan\":\"efd50c65fd1cdef63eb58825f3fe72496443764c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"daae2d25a4779b272a66ddd01f5810bcee822b9e\",\"lessThan\":\"8581ec1feb895ff596fe3d326d9ba320083290aa\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"daae2d25a4779b272a66ddd01f5810bcee822b9e\",\"lessThan\":\"03f51c72997559e73b327608f0cccfded715c9a0\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"daae2d25a4779b272a66ddd01f5810bcee822b9e\",\"lessThan\":\"6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"daae2d25a4779b272a66ddd01f5810bcee822b9e\",\"lessThan\":\"902cc2507091a81643502d8ceb0e2f105e902518\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"daae2d25a4779b272a66ddd01f5810bcee822b9e\",\"lessThan\":\"b0637f4bd426925f5c3a15e8f8e36190fe06bac5\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"daae2d25a4779b272a66ddd01f5810bcee822b9e\",\"lessThan\":\"6cf0981c2233f97d56938d9d61845383d6eb227c\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/iommu/amd/iommu_v2.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.14\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.14\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.14.303\",\"lessThanOrEqual\":\"4.14.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.19.270\",\"lessThanOrEqual\":\"4.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.4.229\",\"lessThanOrEqual\":\"5.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.163\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.86\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.0.16\",\"lessThanOrEqual\":\"6.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.2\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-Other\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.14\",\"versionEndExcluding\":\"4.14.303\",\"matchCriteriaId\":\"E245BC6C-44BD-47D1-A03D-9FE1F29BB25A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.15\",\"versionEndExcluding\":\"4.19.270\",\"matchCriteriaId\":\"AE8904A3-99BE-4E49-9682-1F90A6373F4F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.20\",\"versionEndExcluding\":\"5.4.229\",\"matchCriteriaId\":\"A0C0D95E-414A-445E-941B-3EF6A4D3A093\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.163\",\"matchCriteriaId\":\"D05D31FC-BD74-4F9E-B1D8-9CED62BE6F65\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.86\",\"matchCriteriaId\":\"47237296-55D1-4ED4-8075-D00FC85A61EE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"6.0.16\",\"matchCriteriaId\":\"C720A569-3D93-4D77-95F6-E2B3A3267D9F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.1\",\"versionEndExcluding\":\"6.1.2\",\"matchCriteriaId\":\"77239F4B-6BB2-4B9E-A654-36A52396116C\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/03f51c72997559e73b327608f0cccfded715c9a0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/6cf0981c2233f97d56938d9d61845383d6eb227c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8581ec1feb895ff596fe3d326d9ba320083290aa\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/902cc2507091a81643502d8ceb0e2f105e902518\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/b0637f4bd426925f5c3a15e8f8e36190fe06bac5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/bdb2113dd8f17a3cc84a2b4be4968a849f69ec72\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/efd50c65fd1cdef63eb58825f3fe72496443764c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-07-21T19:08:02+00:00",
      "cve": "CVE-2022-50505",
      "id": "CVE-2022-50505",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:known_affected": "156",
      "product_status:known_not_affected": "118",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: iommu/amd: Fix pci device refcount leak in ppr_notifier()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50505.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-22T02:07:37Z",
      "cve": "CVE-2022-50505",
      "id": "CVE-2022-50505",
      "initial_release_date": "2025-10-07T01:22:04Z",
      "product_status:known_affected": "452",
      "product_status:known_not_affected": "176",
      "product_status:recommended": "248",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-50505",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-50505.json",
      "version": "34"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…