CVE Database
/

CVE-2022-49137

Back to search

CVE-2022-49137

Published: Feb 26, 2025

Modified: May 11, 2026

PUBLISHED

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.

VendorProductVersions

Linux

Linux

affected
d38ceaf99ed015f2a0b9af3499791bd3a3daae21 - < 72d77ddb2224ebc00648f4f78f8a9a259dccbdf7
affected
d38ceaf99ed015f2a0b9af3499791bd3a3daae21 - < 4009f104b02b223d1a11d74b36b1cc083bc37028
affected
d38ceaf99ed015f2a0b9af3499791bd3a3daae21 - < 927beb05aaa429c883cc0ec6adc48964b187e291
affected
d38ceaf99ed015f2a0b9af3499791bd3a3daae21 - < 3edd8646cb7c11b57c90e026bda6f21076223f5b
affected
d38ceaf99ed015f2a0b9af3499791bd3a3daae21 - < b6d1f7d97c81ebaf2cda9c4c943ee2e484fffdcf

+2 more versions

Linux

Linux

affected
4.2
unaffected
0 - < 4.2
unaffected
4.19.238 - <= 4.19.*
unaffected
5.4.189 - <= 5.4.*
unaffected
5.10.111 - <= 5.10.*

+4 more versions

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now
CVE-2022-49137 - Security Vulnerability | QwikSec