{"id":"CVE-2022-49137","published":"2025-02-26T01:55:10Z","modified":"2026-08-12T23:58:04Z","title":"drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj\n\nThis issue takes place in an error path in\namdgpu_cs_fence_to_handle_ioctl(). When `info->in.what` falls into\ndefault case, the function simply returns -EINVAL, forgetting to\ndecrement the reference count of a dma_fence obj, which is bumped\nearlier by amdgpu_cs_get_fence(). This may result in reference count\nleaks.\n\nFix it by decreasing the refcount of specific object before returning\nthe error code.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00266,"percentile":0.18847,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/72d77ddb2224ebc00648f4f78f8a9a259dccbdf7","tags":[]},{"url":"https://git.kernel.org/stable/c/4009f104b02b223d1a11d74b36b1cc083bc37028","tags":[]},{"url":"https://git.kernel.org/stable/c/927beb05aaa429c883cc0ec6adc48964b187e291","tags":[]},{"url":"https://git.kernel.org/stable/c/3edd8646cb7c11b57c90e026bda6f21076223f5b","tags":[]},{"url":"https://git.kernel.org/stable/c/b6d1f7d97c81ebaf2cda9c4c943ee2e484fffdcf","tags":[]},{"url":"https://git.kernel.org/stable/c/bc2d5c0775c839e2b072884f4ee6a93ba410f107","tags":[]},{"url":"https://git.kernel.org/stable/c/dfced44f122c500004a48ecc8db516bb6a295a1b","tags":[]}],"priority":{"score":7.6,"factors":[{"name":"EPSS percentile","points":3.77},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 7ca24cf2d2269bde25e21c02a77fe81995a081ae, < 72d77ddb2224ebc00648f4f78f8a9a259dccbdf7",">= 7ca24cf2d2269bde25e21c02a77fe81995a081ae, < 4009f104b02b223d1a11d74b36b1cc083bc37028",">= 7ca24cf2d2269bde25e21c02a77fe81995a081ae, < 927beb05aaa429c883cc0ec6adc48964b187e291",">= 7ca24cf2d2269bde25e21c02a77fe81995a081ae, < 3edd8646cb7c11b57c90e026bda6f21076223f5b",">= 7ca24cf2d2269bde25e21c02a77fe81995a081ae, < b6d1f7d97c81ebaf2cda9c4c943ee2e484fffdcf",">= 7ca24cf2d2269bde25e21c02a77fe81995a081ae, < bc2d5c0775c839e2b072884f4ee6a93ba410f107",">= 7ca24cf2d2269bde25e21c02a77fe81995a081ae, < dfced44f122c500004a48ecc8db516bb6a295a1b"]},{"vendor":"Linux","product":"Linux","versions":["4.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:48:05.650366Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-55086","exploited":false,"provenance":"source"}}