CVE-2022-49137
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
4.2
and later are affected. Fixed in
4.19.238,
5.4.189,
5.10.111,
5.15.34,
5.16.20,
5.17.3,
5.18
and their respective stable series.
References
The following references provide additional information about CVE-2022-49137 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3edd8646cb7c11b57c90e026bda6f21076223f5b
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4009f104b02b223d1a11d74b36b1cc083bc37028
-
PatchKernel patch commithttps://git.kernel.org/stable/c/72d77ddb2224ebc00648f4f78f8a9a259dccbdf7
Frequently asked questions
-
What is CVE-2022-49137?
CVE-2022-49137 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 4.2 onward and has been patched in 4.19.238, 5.4.189, 5.10.111 and others. CVE-2022-49137 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-49137?
CVE-2022-49137 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2022-49137?
Yes — CVE-2022-49137 has been patched. Fixed versions include 4.19.238, 5.4.189, 5.10.111 and others. If you are running Linux kernel 4.2 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-49137 actively exploited?
No — CVE-2022-49137 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.