CVE-2022-50718
N/A
N/A
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 3f12acc8d6d4b2e62fab8f652d7075a859d80b42 < 3725a8f26bdbc38dfdf545836117f1e069277c91 | affected |
| Linux | Linux | 3f12acc8d6d4b2e62fab8f652d7075a859d80b42 < 02105f0b3021ee5853b2fa50853c42f35fc01cfd | affected |
| Linux | Linux | 3f12acc8d6d4b2e62fab8f652d7075a859d80b42 < f13661b72a61708cecb06562f8acff068a4f31f7 | affected |
| Linux | Linux | 3f12acc8d6d4b2e62fab8f652d7075a859d80b42 < d7352b410471cbebf6350b2990bae82bb0d59a76 | affected |
| Linux | Linux | 3f12acc8d6d4b2e62fab8f652d7075a859d80b42 < b85e285e3d6352b02947fc1b72303673dfacb0aa | affected |
| Linux | Linux | 5.8 | affected |
| Linux | Linux | 0 < 5.8 | unaffected |
| Linux | Linux | 5.10.163 <= 5.10.* | unaffected |
| Linux | Linux | 5.15.86 <= 5.15.* | unaffected |
| Linux | Linux | 6.0.16 <= 6.0.* | unaffected |
| Linux | Linux | 6.1.2 <= 6.1.* | unaffected |
| Linux | Linux | 6.2 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/3725a8f26bdbc38dfdf545836117f1e069277c91
- https://git.kernel.org/stable/c/02105f0b3021ee5853b2fa50853c42f35fc01cfd
- https://git.kernel.org/stable/c/f13661b72a61708cecb06562f8acff068a4f31f7
- https://git.kernel.org/stable/c/d7352b410471cbebf6350b2990bae82bb0d59a76
- https://git.kernel.org/stable/c/b85e285e3d6352b02947fc1b72303673dfacb0aa
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.