CVE-2022-50505

iommu/amd: Fix pci device refcount leak in ppr_notifier()

MEDIUM
5.5
CVSS Score
Published: October 4, 2025 at 03:43 PM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.14 ≤ v < 4.14.3034.14 ≤ v < 4.19.2704.14 ≤ v < 5.10.1634.14 ≤ v < 5.15.864.14 ≤ v < 5.4.2294.14 ≤ v < 6.0.164.14 ≤ v < 6.1.24.14 ≤ v < 6.24.15 ≤ v < 4.19.2704.20 ≤ v < 5.4.2295.11 ≤ v < 5.15.865.16 ≤ v < 6.0.165.5 ≤ v < 5.10.1636.1 ≤ v < 6.1.24.14daae2d25a4779b272a66ddd01f5810bcee822b9e
Vendor states this is fixed in 03f51c72997559e73b327608f0cccfded715c9a0 (fixed)
Vendor states this is fixed in 6cf0981c2233f97d56938d9d61845383d6eb227c (fixed)
Vendor states this is fixed in 6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5 (fixed)
Vendor states this is fixed in 8581ec1feb895ff596fe3d326d9ba320083290aa (fixed)
Vendor states this is fixed in 902cc2507091a81643502d8ceb0e2f105e902518 (fixed)
Vendor states this is fixed in b0637f4bd426925f5c3a15e8f8e36190fe06bac5 (fixed)
Vendor states this is fixed in bdb2113dd8f17a3cc84a2b4be4968a849f69ec72 (fixed)
Vendor states this is fixed in efd50c65fd1cdef63eb58825f3fe72496443764c (fixed)
Vendor states this is fixed in 4.14 (unaffected)
Vendor states this is fixed in 4.14.303 (unaffected)
Vendor states this is fixed in 4.19.270 (unaffected)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 5.4.229 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card