In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix pci device refcount leak As comment of pcigetdomainbusandslot() says, it returns a pci device with refcount increment, when finish using it, the caller must decrement the reference count by calling pcidevput(). So before returning from amdgpudeviceresume|suspenddisplayaudio(), pcidev_put() is called to avoid refcount leak.