CVE-2022-50718

Source
https://cve.org/CVERecord?id=CVE-2022-50718
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50718.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50718
Downstream
Related
Published
2025-12-24T12:22:41.971Z
Modified
2026-03-12T03:26:50.097892Z
Summary
drm/amdgpu: fix pci device refcount leak
Details

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 pcidev_put().

So before returning from amdgpudeviceresume|suspenddisplayaudio(), pcidevput() is called to avoid refcount leak.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50718.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3f12acc8d6d4b2e62fab8f652d7075a859d80b42
Fixed
3725a8f26bdbc38dfdf545836117f1e069277c91
Fixed
02105f0b3021ee5853b2fa50853c42f35fc01cfd
Fixed
f13661b72a61708cecb06562f8acff068a4f31f7
Fixed
d7352b410471cbebf6350b2990bae82bb0d59a76
Fixed
b85e285e3d6352b02947fc1b72303673dfacb0aa

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50718.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.8.0
Fixed
5.10.163
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.86
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.16
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50718.json"