Vulnerabilities · 2022 · Linux
CVE-2022-49137
Linux Kernel vulnerability
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.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/3edd8646cb7c11b57c90e026bda6f21076223f5b · Patch
- git.kernel.org/stable/c/4009f104b02b223d1a11d74b36b1cc083bc37028 · Patch
- git.kernel.org/stable/c/72d77ddb2224ebc00648f4f78f8a9a259dccbdf7 · Patch
- git.kernel.org/stable/c/927beb05aaa429c883cc0ec6adc48964b187e291 · Patch
- git.kernel.org/stable/c/b6d1f7d97c81ebaf2cda9c4c943ee2e484fffdcf · Patch
- git.kernel.org/stable/c/bc2d5c0775c839e2b072884f4ee6a93ba410f107 · Patch
- git.kernel.org/stable/c/dfced44f122c500004a48ecc8db516bb6a295a1b · Patch
- nvd.nist.gov/vuln/detail/CVE-2022-49137
- cve.org/CVERecord?id=CVE-2022-49137
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.