Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • daae2d25a4779b272a66ddd01f5810bcee822b9e to < bdb2113dd8f17a3cc84a2b4be4968a849f69ec72affected
  • daae2d25a4779b272a66ddd01f5810bcee822b9e to < efd50c65fd1cdef63eb58825f3fe72496443764caffected
  • daae2d25a4779b272a66ddd01f5810bcee822b9e to < 8581ec1feb895ff596fe3d326d9ba320083290aaaffected
  • daae2d25a4779b272a66ddd01f5810bcee822b9e to < 03f51c72997559e73b327608f0cccfded715c9a0affected
  • daae2d25a4779b272a66ddd01f5810bcee822b9e to < 6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5affected
  • daae2d25a4779b272a66ddd01f5810bcee822b9e to < 902cc2507091a81643502d8ceb0e2f105e902518affected
  • daae2d25a4779b272a66ddd01f5810bcee822b9e to < b0637f4bd426925f5c3a15e8f8e36190fe06bac5affected
  • daae2d25a4779b272a66ddd01f5810bcee822b9e to < 6cf0981c2233f97d56938d9d61845383d6eb227caffected

Linux Linux

Default version status: affected

  • 4.14affected
  • 0 to < 4.14unaffected
  • 4.14.303 to ≤ 4.14.*unaffected
  • 4.19.270 to ≤ 4.19.*unaffected
  • 5.4.229 to ≤ 5.4.*unaffected
  • 5.10.163 to ≤ 5.10.*unaffected
  • 5.15.86 to ≤ 5.15.*unaffected
  • 6.0.16 to ≤ 6.0.*unaffected
  • 6.1.2 to ≤ 6.1.*unaffected
  • 6.2 to ≤ *unaffected

References