# CVE-2022-50718: drm/amdgpu: fix pci device refcount leak

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-12-24T12:22:41.971Z
- Modified: 2026-11-10T12:10:00.177Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3f12acc8d6d4b2e62fab8f652d7075a859d80b42 before 3725a8f26bdbc38dfdf545836117f1e069277c91; from 3f12acc8d6d4b2e62fab8f652d7075a859d80b42 before 02105f0b3021ee5853b2fa50853c42f35fc01cfd; from 3f12acc8d6d4b2e62fab8f652d7075a859d80b42 before f13661b72a61708cecb06562f8acff068a4f31f7; from 3f12acc8d6d4b2e62fab8f652d7075a859d80b42 before d7352b410471cbebf6350b2990bae82bb0d59a76; from 3f12acc8d6d4b2e62fab8f652d7075a859d80b42 before b85e285e3d6352b02947fc1b72303673dfacb0aa; 5.8 (not affected: before 5.8; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)

## References

- <https://git.kernel.org/stable/c/3725a8f26bdbc38dfdf545836117f1e069277c91>
- <https://git.kernel.org/stable/c/02105f0b3021ee5853b2fa50853c42f35fc01cfd>
- <https://git.kernel.org/stable/c/f13661b72a61708cecb06562f8acff068a4f31f7>
- <https://git.kernel.org/stable/c/d7352b410471cbebf6350b2990bae82bb0d59a76>
- <https://git.kernel.org/stable/c/b85e285e3d6352b02947fc1b72303673dfacb0aa>

## Sources

- CVE List: [CVE-2022-50718](https://www.cve.org/CVERecord?id=CVE-2022-50718), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50718](https://nvd.nist.gov/vuln/detail/CVE-2022-50718), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2022-50718 · Whole record: https://cve.day/CVE-2022-50718.json · Rebuilt by cve.day 2026-11-25T22:58:21.332Z
