CVE-2022-49137 Details
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.
A reference count leak vulnerability has been identified in the AMD GPU driver of the Linux kernel. The issue arises in the 'amdgpu_cs_fence_to_handle_ioctl()' function, specifically when 'info->in.what' defaults to an error case. In this scenario, the function returns -EINVAL without decrementing the reference count of a 'dma_fence' object, which had been incremented earlier. This oversight can lead to a reference count leak. The vulnerability has been addressed by ensuring the reference count is properly decremented before returning the error code.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/3edd8646cb7c11b57c90e026bda6f21076223f5b | kernel.org | Patch |
| https://git.kernel.org/stable/c/4009f104b02b223d1a11d74b36b1cc083bc37028 | kernel.org | Patch |
| https://git.kernel.org/stable/c/72d77ddb2224ebc00648f4f78f8a9a259dccbdf7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/927beb05aaa429c883cc0ec6adc48964b187e291 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b6d1f7d97c81ebaf2cda9c4c943ee2e484fffdcf | kernel.org | Patch |
| https://git.kernel.org/stable/c/bc2d5c0775c839e2b072884f4ee6a93ba410f107 | kernel.org | Patch |
| https://git.kernel.org/stable/c/dfced44f122c500004a48ecc8db516bb6a295a1b | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 4.19.238 >= 4.20, < 5.4.189 >= 5.5, < 5.10.111 >= 5.11, < 5.15.34 >= 5.16, < 5.16.20 >= 5.17, < 5.17.3 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 13, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Mar 13, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |