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

Not scored Published Updated

A reference count leak in the AMD GPU driver can lead to resource exhaustion and denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-50718?

CVE-2022-50718 is a denial of service vulnerability in Linux, published on 24 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.

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

Which versions are affected by CVE-2022-50718?

How do I fix CVE-2022-50718?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-50718 being exploited?

There is no known exploitation of CVE-2022-50718 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2022-50718, GHSA-7848-864h-rr9q, UBUNTU-CVE-2022-50718.

Is CVE-2022-50718 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free