GHSA-mgq9-9453-8m9x
Record from GitHub Advisory Database · Published March 14, 2025
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.
Risk scores
Timeline
- Mar 14, 2025 CVE Published
- May 1, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-mgq9-9453-8m9x
vulnetix vdb fixes GHSA-mgq9-9453-8m9x
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-mgq9-9453-8m9x/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-49137 advisory
- https://git.kernel.org/stable/c/4009f104b02b223d1a11d74b36b1cc083bc37028 url
- https://git.kernel.org/stable/c/bc2d5c0775c839e2b072884f4ee6a93ba410f107 url
- https://git.kernel.org/stable/c/dfced44f122c500004a48ecc8db516bb6a295a1b url
- https://git.kernel.org/stable/c/3edd8646cb7c11b57c90e026bda6f21076223f5b url
- https://git.kernel.org/stable/c/72d77ddb2224ebc00648f4f78f8a9a259dccbdf7 url
- https://git.kernel.org/stable/c/927beb05aaa429c883cc0ec6adc48964b187e291 url
- https://git.kernel.org/stable/c/b6d1f7d97c81ebaf2cda9c4c943ee2e484fffdcf url