CVE-2022-49137

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
26/02/2025
Last modified:
01/10/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj<br /> <br /> This issue takes place in an error path in<br /> amdgpu_cs_fence_to_handle_ioctl(). When `info-&gt;in.what` falls into<br /> default case, the function simply returns -EINVAL, forgetting to<br /> decrement the reference count of a dma_fence obj, which is bumped<br /> earlier by amdgpu_cs_get_fence(). This may result in reference count<br /> leaks.<br /> <br /> Fix it by decreasing the refcount of specific object before returning<br /> the error code.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.19.238 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.20 (including) 5.4.189 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.111 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.34 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 5.16.20 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.17 (including) 5.17.3 (excluding)