---
id: CVE-2022-50505
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 finis…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= daae2d25a4779b272a66ddd01f5810bcee822b9e <
    bdb2113dd8f17a3cc84a2b4be4968a849f69ec72
  - >-
    Linux >= daae2d25a4779b272a66ddd01f5810bcee822b9e <
    efd50c65fd1cdef63eb58825f3fe72496443764c
  - >-
    Linux >= daae2d25a4779b272a66ddd01f5810bcee822b9e <
    8581ec1feb895ff596fe3d326d9ba320083290aa
  - >-
    Linux >= daae2d25a4779b272a66ddd01f5810bcee822b9e <
    03f51c72997559e73b327608f0cccfded715c9a0
  - >-
    Linux >= daae2d25a4779b272a66ddd01f5810bcee822b9e <
    6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5
  - >-
    Linux >= daae2d25a4779b272a66ddd01f5810bcee822b9e <
    902cc2507091a81643502d8ceb0e2f105e902518
  - >-
    Linux >= daae2d25a4779b272a66ddd01f5810bcee822b9e <
    b0637f4bd426925f5c3a15e8f8e36190fe06bac5
  - >-
    Linux >= daae2d25a4779b272a66ddd01f5810bcee822b9e <
    6cf0981c2233f97d56938d9d61845383d6eb227c
  - Linux 4.14
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:12:37.409492Z'
published: '2025-10-04'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:20:49.914Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-50505'
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'
tags:
  - cve.org
epss: 0.00163
epssPercentile: 0.05528
ingestedAt: '2026-11-05T22:38:31.745Z'
---

## Overview

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.

## Affected

- `Linux >= daae2d25a4779b272a66ddd01f5810bcee822b9e < bdb2113dd8f17a3cc84a2b4be4968a849f69ec72`
- `Linux >= daae2d25a4779b272a66ddd01f5810bcee822b9e < efd50c65fd1cdef63eb58825f3fe72496443764c`
- `Linux >= daae2d25a4779b272a66ddd01f5810bcee822b9e < 8581ec1feb895ff596fe3d326d9ba320083290aa`
- `Linux >= daae2d25a4779b272a66ddd01f5810bcee822b9e < 03f51c72997559e73b327608f0cccfded715c9a0`
- `Linux >= daae2d25a4779b272a66ddd01f5810bcee822b9e < 6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5`
- `Linux >= daae2d25a4779b272a66ddd01f5810bcee822b9e < 902cc2507091a81643502d8ceb0e2f105e902518`
- `Linux >= daae2d25a4779b272a66ddd01f5810bcee822b9e < b0637f4bd426925f5c3a15e8f8e36190fe06bac5`
- `Linux >= daae2d25a4779b272a66ddd01f5810bcee822b9e < 6cf0981c2233f97d56938d9d61845383d6eb227c`
- `Linux 4.14`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
