CVE-2022-49137

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability19. percentile0.3%
ProductLinux Kernel
PublishedFeb 26, 2025
First seenFeb 26, 2025

How to fix

Update
  • linux linux_kernel4.19.238, 5.4.189, 5.10.111, 5.15.34, 5.16.20, 5.17.3 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernelv < 4.19.238, 4.20 ≤ v < 5.4.189, 5.5 ≤ v < 5.10.111, 5.11 ≤ v < 5.15.34, 5.16 ≤ v < 5.16.20, 5.17 ≤ v < 5.17.34.19.238, 5.4.189, 5.10.111, 5.15.34, 5.16.20, 5.17.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.