CVE-2022-49137
Last modified
CVE-2022-49137 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj This issue takes place in an error path in amdgpu_cs_fence_to_handle_ioctl(). When `info->in.what` falls into default case, the function simply returns -EINVAL, forgetting to decrement the reference count of a dma_fence obj, which is bumped earlier by amdgpu_cs_get_fence(). EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj This issue takes place in an error path in amdgpu_cs_fence_to_handle_ioctl(). When `info->in.what` falls into default case, the function simply returns -EINVAL, forgetting to decrement the reference count of a dma_fence obj, which is bumped earlier by amdgpu_cs_get_fence(). This may result in reference count leaks. Fix it by decreasing the refcount of specific object before returning the error code.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 4.19.238 |
| Linux | Linux Kernel | >= 4.20, < 5.4.189 |
| Linux | Linux Kernel | >= 5.5, < 5.10.111 |
| Linux | Linux Kernel | >= 5.11, < 5.15.34 |
| Linux | Linux Kernel | >= 5.16, < 5.16.20 |
| Linux | Linux Kernel | >= 5.17, < 5.17.3 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-49137?
How severe is CVE-2022-49137?
How do I fix CVE-2022-49137?
Are you affected by CVE-2022-49137?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
