Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-50718

drm/amdgpu: fix pci device refcount leak

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix pci device refcount leak 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 before returning from amdgpu_device_resume|suspend_display_audio(), pci_dev_put() is called 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

  • 3f12acc8d6d4b2e62fab8f652d7075a859d80b42 to < 3725a8f26bdbc38dfdf545836117f1e069277c91affected
  • 3f12acc8d6d4b2e62fab8f652d7075a859d80b42 to < 02105f0b3021ee5853b2fa50853c42f35fc01cfdaffected
  • 3f12acc8d6d4b2e62fab8f652d7075a859d80b42 to < f13661b72a61708cecb06562f8acff068a4f31f7affected
  • 3f12acc8d6d4b2e62fab8f652d7075a859d80b42 to < d7352b410471cbebf6350b2990bae82bb0d59a76affected
  • 3f12acc8d6d4b2e62fab8f652d7075a859d80b42 to < b85e285e3d6352b02947fc1b72303673dfacb0aaaffected

Linux Linux

Default version status: affected

  • 5.8affected
  • 0 to < 5.8unaffected
  • 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