CVE-2022-49137: drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj

Published Feb 26, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/amdgpu/amdgpucs: fix refcount leak of a dmafence obj

This issue takes place in an error path in amdgpucsfencetohandleioctl(). When info->in.what falls into default case, the function simply returns -EINVAL, forgetting to decrement the reference count of a dmafence obj, which is bumped earlier by amdgpucsgetfence(). This may result in reference count leaks.

Fix it by decreasing the refcount of specific object before returning the error code.

Affected Software

7 affected components
Linux Linux kernel<4.19.238
Linux Linux kernel>=4.20<5.4.189
Linux Linux kernel>=5.5<5.10.111
Linux Linux kernel>=5.11<5.15.34
Linux Linux kernel>=5.16<5.16.20
Linux Linux kernel>=5.17<5.17.3
Linux Kernel

Event History

Feb 26, 2025
CVE Published
via MITRE·01:55 AM
Data Sourced
via MITRE·01:55 AM
Description
Data Sourced
via NVD·07:00 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-49137?

CVE-2022-49137 has a moderate severity level due to a reference count leak in the Linux kernel.

2

How do I fix CVE-2022-49137?

To fix CVE-2022-49137, you should update to a patched version of the Linux kernel that addresses this vulnerability.

3

Which versions of the Linux kernel are affected by CVE-2022-49137?

CVE-2022-49137 affects various versions of the Linux kernel prior to the patched releases, specifically those below 4.19.238 and between certain 5.x versions.

4

What are the consequences of CVE-2022-49137 if exploited?

If exploited, CVE-2022-49137 could potentially lead to resource leaks within the kernel, impacting system stability and security.

5

Is there a workaround for CVE-2022-49137 until I can update?

There are no specific workarounds for CVE-2022-49137; updating to the latest kernel version is the recommended solution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203