VYPR
Unrated severityNVD Advisory· Published Dec 24, 2025· Updated Apr 15, 2026

CVE-2022-50718

CVE-2022-50718

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

In the Linux kernel's AMD GPU driver, a PCI device reference count leak occurs in amdgpu_device_resume|suspend_display_audio() because pci_dev_put() is not called after pci_get_domain_bus_and_slot().

Root

Cause

CVE-2022-50718 is a reference count leak in the Linux kernel's amdgpu DRM driver. The functions amdgpu_device_resume_display_audio() and amdgpu_device_suspend_display_audio() call pci_get_domain_bus_and_slot() which, as documented, returns a PCI device with an incremented reference count. The caller must eventually call pci_dev_put() to decrement the count. The driver failed to do so before returning from those functions, leading to a leak [1][2].

Attack

Surface

An attacker with local access may trigger the code paths that exercise these functions. In practice, this could be triggered through normal system suspend/resume cycles or power management events that cause the display audio resources to be suspended or resumed. No special privileges beyond the ability to trigger PM events are required.

Impact

Repeatedly entering and exiting these code paths will exhaust the PCI device's reference count, preventing the device from being properly released or unregistered. This is a memory/resource leak that, over time, could lead to resource exhaustion, system instability, or denial-of-service conditions.

Mitigation

Patches have been applied to the Linux kernel stable trees. The fix adds pci_dev_put() calls to balance the reference count [1][2]. Users should update to a kernel version containing the fix.

AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

1

Patches

5

Vulnerability mechanics

Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

5

News mentions

0

No linked articles in our index yet.