CVE-2022-49137
MEDIUMLinux Kernel - Reference Count Leak in amdgpu_cs_fence_to_handle_ioctl Error Path
Title source: llmDescription
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.
References (7)
Core 7
Core References
Scores
CVSS v3
5.5
EPSS
0.0026
EPSS Percentile
17.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
Status
published
Products (23)
linux/Kernel
4.2.0 - 4.19.238linux
linux/Kernel
4.20.0 - 5.4.189linux
linux/Kernel
5.11.0 - 5.15.34linux
linux/Kernel
5.16.0 - 5.16.20linux
linux/Kernel
5.17.0 - 5.17.3linux
linux/Kernel
5.5.0 - 5.10.111linux
Linux/Linux
< 4.2
Linux/Linux
4.19.238 - 4.19.*
Linux/Linux
4.2
Linux/Linux
5.10.111 - 5.10.*
... and 13 more
Published
Feb 26, 2025
Tracked Since
Feb 18, 2026