CVE-2022-50718 (GCVE-0-2022-50718)
Vulnerability from cvelistv5 – Published: 2025-12-24 12:22 – Updated: 2025-12-24 12:22
VLAI?
Title
drm/amdgpu: fix pci device refcount leak
Summary
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.
Severity ?
No CVSS data available.
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Affected:
3f12acc8d6d4b2e62fab8f652d7075a859d80b42 , < 3725a8f26bdbc38dfdf545836117f1e069277c91
(git)
Affected: 3f12acc8d6d4b2e62fab8f652d7075a859d80b42 , < 02105f0b3021ee5853b2fa50853c42f35fc01cfd (git) Affected: 3f12acc8d6d4b2e62fab8f652d7075a859d80b42 , < f13661b72a61708cecb06562f8acff068a4f31f7 (git) Affected: 3f12acc8d6d4b2e62fab8f652d7075a859d80b42 , < d7352b410471cbebf6350b2990bae82bb0d59a76 (git) Affected: 3f12acc8d6d4b2e62fab8f652d7075a859d80b42 , < b85e285e3d6352b02947fc1b72303673dfacb0aa (git) |
||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/gpu/drm/amd/amdgpu/amdgpu_device.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "3725a8f26bdbc38dfdf545836117f1e069277c91",
"status": "affected",
"version": "3f12acc8d6d4b2e62fab8f652d7075a859d80b42",
"versionType": "git"
},
{
"lessThan": "02105f0b3021ee5853b2fa50853c42f35fc01cfd",
"status": "affected",
"version": "3f12acc8d6d4b2e62fab8f652d7075a859d80b42",
"versionType": "git"
},
{
"lessThan": "f13661b72a61708cecb06562f8acff068a4f31f7",
"status": "affected",
"version": "3f12acc8d6d4b2e62fab8f652d7075a859d80b42",
"versionType": "git"
},
{
"lessThan": "d7352b410471cbebf6350b2990bae82bb0d59a76",
"status": "affected",
"version": "3f12acc8d6d4b2e62fab8f652d7075a859d80b42",
"versionType": "git"
},
{
"lessThan": "b85e285e3d6352b02947fc1b72303673dfacb0aa",
"status": "affected",
"version": "3f12acc8d6d4b2e62fab8f652d7075a859d80b42",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/gpu/drm/amd/amdgpu/amdgpu_device.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.8"
},
{
"lessThan": "5.8",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.86",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.0.*",
"status": "unaffected",
"version": "6.0.16",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "6.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.163",
"versionStartIncluding": "5.8",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.86",
"versionStartIncluding": "5.8",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.0.16",
"versionStartIncluding": "5.8",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.2",
"versionStartIncluding": "5.8",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.2",
"versionStartIncluding": "5.8",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: fix pci device refcount leak\n\nAs comment of pci_get_domain_bus_and_slot() says, it returns\na pci device with refcount increment, when finish using it,\nthe caller must decrement the reference count by calling\npci_dev_put().\n\nSo before returning from amdgpu_device_resume|suspend_display_audio(),\npci_dev_put() is called to avoid refcount leak."
}
],
"providerMetadata": {
"dateUpdated": "2025-12-24T12:22:41.971Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/3725a8f26bdbc38dfdf545836117f1e069277c91"
},
{
"url": "https://git.kernel.org/stable/c/02105f0b3021ee5853b2fa50853c42f35fc01cfd"
},
{
"url": "https://git.kernel.org/stable/c/f13661b72a61708cecb06562f8acff068a4f31f7"
},
{
"url": "https://git.kernel.org/stable/c/d7352b410471cbebf6350b2990bae82bb0d59a76"
},
{
"url": "https://git.kernel.org/stable/c/b85e285e3d6352b02947fc1b72303673dfacb0aa"
}
],
"title": "drm/amdgpu: fix pci device refcount leak",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2022-50718",
"datePublished": "2025-12-24T12:22:41.971Z",
"dateReserved": "2025-12-24T12:20:40.329Z",
"dateUpdated": "2025-12-24T12:22:41.971Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2022-50718\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-24T13:15:58.463\",\"lastModified\":\"2025-12-24T13:15:58.463\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/amdgpu: fix pci device refcount leak\\n\\nAs comment of pci_get_domain_bus_and_slot() says, it returns\\na pci device with refcount increment, when finish using it,\\nthe caller must decrement the reference count by calling\\npci_dev_put().\\n\\nSo before returning from amdgpu_device_resume|suspend_display_audio(),\\npci_dev_put() is called to avoid refcount leak.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/02105f0b3021ee5853b2fa50853c42f35fc01cfd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3725a8f26bdbc38dfdf545836117f1e069277c91\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b85e285e3d6352b02947fc1b72303673dfacb0aa\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d7352b410471cbebf6350b2990bae82bb0d59a76\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f13661b72a61708cecb06562f8acff068a4f31f7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…