Bug 2401522 (CVE-2022-50505) - CVE-2022-50505 kernel: iommu/amd: Fix pci device refcount leak in ppr_notifier()
Summary: CVE-2022-50505 kernel: iommu/amd: Fix pci device refcount leak in ppr_notifier()
Keywords:
Status: NEW
Alias: CVE-2022-50505
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-04 16:05 UTC by OSIDB Bzimport
Modified: 2025-10-06 14:07 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-04 16:05:21 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.