CVE-2022-50617
drm/amdgpu/powerplay/psm: Fix memory leak in power state init
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.
INFO
Published Date :
Dec. 8, 2025, 2:15 a.m.
Last Modified :
Nov. 11, 2026, 11:10 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the provided kernel patch.
- Update the Linux kernel.
- Rebuild the kernel with the patch.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-50617.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-50617 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-50617
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-50617 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-50617 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Nov. 11, 2026
Action Type Old Value New Value Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/amdgpu/powerplay/psm: Corrección de fuga de memoria en la inicialización del estado de energía El commit 902bc65de0b3 (’drm/amdgpu/powerplay/psm: devolver un error en la inicialización del estado de energía’) hizo que la función de inicialización del estado de energía retornara anticipadamente en caso de fallo al obtener una entrada de la tabla powerplay, pero omitió limpiar la memoria asignada para el estado de energía actual antes de retornar. -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '902bc65de0b3d72c481b45cbac3e97ab8cb399c2', 'lessThan': '1caed03305b560bafea8eaa57f1847791658b3ff', 'versionType': 'git'}, {'status': 'affected', 'version': '902bc65de0b3d72c481b45cbac3e97ab8cb399c2', 'lessThan': '7cb8932644438bee992dc898a36ffe155fdc1bfa', 'versionType': 'git'}, {'status': 'affected', 'version': '902bc65de0b3d72c481b45cbac3e97ab8cb399c2', 'lessThan': '1c65f8f98148709e08bd6157a807c443ba91f0ac', 'versionType': 'git'}, {'status': 'affected', 'version': '902bc65de0b3d72c481b45cbac3e97ab8cb399c2', 'lessThan': '8f8033d5663b18e6efb33feb61f2287a04605ab5', 'versionType': 'git'}], 'programFiles': ['drivers/gpu/drm/amd/pm/powerplay/hwmgr/pp_psm.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.11'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.11', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.15.86', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.0.16', 'versionType': 'semver', 'lessThanOrEqual': '6.0.*'}, {'status': 'unaffected', 'version': '6.1.2', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/amd/pm/powerplay/hwmgr/pp_psm.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 08, 2025
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/1c65f8f98148709e08bd6157a807c443ba91f0ac Added Reference https://git.kernel.org/stable/c/1caed03305b560bafea8eaa57f1847791658b3ff Added Reference https://git.kernel.org/stable/c/7cb8932644438bee992dc898a36ffe155fdc1bfa Added Reference https://git.kernel.org/stable/c/8f8033d5663b18e6efb33feb61f2287a04605ab5