CVE Catalog

CVE-2022-49137

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.26%

18th percentile - higher than 18% of all known CVEs

Summary

In the Linux kernel, in the AMDGPU driver, there is a reference count leak of a dma_fence object in the error path of amdgpu_cs_fence_to_handle_ioctl(). When info->in.what falls into the default case, the function returns -EINVAL without decrementing the reference count, leading to memory leaks.

Risk Assessment

Reference count leaks can lead to memory exhaustion and system instability, especially under prolonged operation or repeated errors.

Recommendation

Install a Linux kernel patch that decrements the reference count of the dma_fence object before returning the error code in the default path.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS