CVE-2022-50617 drm/amdgpu/powerplay/psm: Fix memory leak in power state init
A memory leak in the AMD GPU powerplay driver allows local attackers to cause a denial of service by exhausting kernel memory.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-50617?
CVE-2022-50617 is a memory corruption vulnerability in Linux, published on 8 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu/powerplay/psm: Fix memory leak in power state init
Commit 902bc65de0b3 ("drm/amdgpu/powerplay/psm: return an error in power state init") made the power state init function return early in case of failure to get an entry from the powerplay table, but it missed to clean up the allocated memory for the current power state before returning.
Which versions are affected by CVE-2022-50617?
How do I fix CVE-2022-50617?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-50617 being exploited?
There is no known exploitation of CVE-2022-50617 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2022-50617, GHSA-q8ph-32jj-626x, UBUNTU-CVE-2022-50617.