Bug 2425005 (CVE-2022-50718) - CVE-2022-50718 kernel: drm/amdgpu: fix pci device refcount leak
Summary: CVE-2022-50718 kernel: drm/amdgpu: fix pci device refcount leak
Keywords:
Status: NEW
Alias: CVE-2022-50718
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-12-24 13:01 UTC by OSIDB Bzimport
Modified: 2025-12-25 09:36 UTC (History)
0 users

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-24 13:01:17 UTC
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.


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