What’s Vulnerable › Vulnerabilities

CVE-2022-50505: iommu/amd: Fix pci device refcount leak in ppr_notifier()

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 products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.303, 4.19.270, 5.10.163, 5.15.86. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50505 or the next vulnerability affects your stack