CVE-2022-49137
published 2025-02-26CVE-2022-49137: 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…
PriorityP418medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.26%
17.6th percentile
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.
Affected
19 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.17.3-1 (bookworm) | linux 5.17.3-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 72d77ddb2224ebc00648f4f78f8a9a259dccbdf7 | 72d77ddb2224ebc00648f4f78f8a9a259dccbdf7 |
| linux | linux | >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 4009f104b02b223d1a11d74b36b1cc083bc37028 | 4009f104b02b223d1a11d74b36b1cc083bc37028 |
| linux | linux | >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 927beb05aaa429c883cc0ec6adc48964b187e291 | 927beb05aaa429c883cc0ec6adc48964b187e291 |
| linux | linux | >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 3edd8646cb7c11b57c90e026bda6f21076223f5b | 3edd8646cb7c11b57c90e026bda6f21076223f5b |
| linux | linux | >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < b6d1f7d97c81ebaf2cda9c4c943ee2e484fffdcf | b6d1f7d97c81ebaf2cda9c4c943ee2e484fffdcf |
| linux | linux | >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < bc2d5c0775c839e2b072884f4ee6a93ba410f107 | bc2d5c0775c839e2b072884f4ee6a93ba410f107 |
| linux | linux | >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < dfced44f122c500004a48ecc8db516bb6a295a1b | dfced44f122c500004a48ecc8db516bb6a295a1b |
| linux | linux_kernel | < 4.19.238 | 4.19.238 |
| linux | linux_kernel | >= 0 < 5.10.113-1 | 5.10.113-1 |
| linux | linux_kernel | >= 0 < 5.17.3-1 | 5.17.3-1 |
| linux | linux_kernel | >= 0 < 5.17.3-1 | 5.17.3-1 |
| linux | linux_kernel | >= 0 < 5.17.3-1 | 5.17.3-1 |
| linux | linux_kernel | >= 4.20 < 5.4.189 | 5.4.189 |
| linux | linux_kernel | >= 5.11 < 5.15.34 | 5.15.34 |
| linux | linux_kernel | >= 5.16 < 5.16.20 | 5.16.20 |
| linux | linux_kernel | >= 5.17 < 5.17.3 | 5.17.3 |
| linux | linux_kernel | >= 5.5 < 5.10.111 | 5.10.111 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-mgq9-9453-8m9x: 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
ghsa_unreviewed·2025-03-14
CVE-2022-49137 [MEDIUM] GHSA-mgq9-9453-8m9x: 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
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.
OSV
CVE-2022-49137: 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 pl
osv·2025-02-26·CVSS 5.5
CVE-2022-49137 [MEDIUM] CVE-2022-49137: 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 pl
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.
Red Hat
kernel: drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj
vendor_redhat·2025-02-26·CVSS 5.5
CVE-2022-49137 [MEDIUM] CWE-402 kernel: drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj
kernel: drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package:
Debian
CVE-2022-49137: linux - In the Linux kernel, the following vulnerability has been resolved: drm/amd/amd...
vendor_debian·2022·CVSS 5.5
CVE-2022-49137 [MEDIUM] CVE-2022-49137: linux - In the Linux kernel, the following vulnerability has been resolved: drm/amd/amd...
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.
Scope: local
bookworm: resolved (fixed in 5.17.3-1)
bullseye: resolved (fixed in 5.10.113-1)
forky: resolved (fixed in 5.17.3-1)
sid: resolved (fixed in 5.17.3-1)
trixie: resolved (fixed in 5.17.3-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/3edd8646cb7c11b57c90e026bda6f21076223f5bhttps://git.kernel.org/stable/c/4009f104b02b223d1a11d74b36b1cc083bc37028https://git.kernel.org/stable/c/72d77ddb2224ebc00648f4f78f8a9a259dccbdf7https://git.kernel.org/stable/c/927beb05aaa429c883cc0ec6adc48964b187e291https://git.kernel.org/stable/c/b6d1f7d97c81ebaf2cda9c4c943ee2e484fffdcfhttps://git.kernel.org/stable/c/bc2d5c0775c839e2b072884f4ee6a93ba410f107https://git.kernel.org/stable/c/dfced44f122c500004a48ecc8db516bb6a295a1b
2025-02-26
Published