CVE-2022-49137

CVE-2022-49137

Medium · published February 26, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
17.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00266 · 17.5th percentile
Published
2025-02-26T12:00Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel< 4.19.2384.19.238
linux/linux_kernel≥ 4.20, < 5.4.1895.4.189
linux/linux_kernel≥ 5.5, < 5.10.1115.10.111
linux/linux_kernel≥ 5.11, < 5.15.345.15.34
linux/linux_kernel≥ 5.16, < 5.16.205.16.20
linux/linux_kernel≥ 5.17, < 5.17.35.17.3
References (7)
EPSS history
Timeline
  • 26 FEB 01:55Z
    drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj
    cvelistv5