[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025120851-CVE-2022-50617-84c9@gregkh>
Date: Mon, 8 Dec 2025 10:16:54 +0900
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50617: drm/amdgpu/powerplay/psm: Fix memory leak in power state init
From: Greg Kroah-Hartman <gregkh@...nel.org>
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.
The Linux kernel CVE team has assigned CVE-2022-50617 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.11 with commit 902bc65de0b3d72c481b45cbac3e97ab8cb399c2 and fixed in 5.15.86 with commit 1caed03305b560bafea8eaa57f1847791658b3ff
Issue introduced in 5.11 with commit 902bc65de0b3d72c481b45cbac3e97ab8cb399c2 and fixed in 6.0.16 with commit 7cb8932644438bee992dc898a36ffe155fdc1bfa
Issue introduced in 5.11 with commit 902bc65de0b3d72c481b45cbac3e97ab8cb399c2 and fixed in 6.1.2 with commit 1c65f8f98148709e08bd6157a807c443ba91f0ac
Issue introduced in 5.11 with commit 902bc65de0b3d72c481b45cbac3e97ab8cb399c2 and fixed in 6.2 with commit 8f8033d5663b18e6efb33feb61f2287a04605ab5
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2022-50617
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/gpu/drm/amd/pm/powerplay/hwmgr/pp_psm.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/1caed03305b560bafea8eaa57f1847791658b3ff
https://git.kernel.org/stable/c/7cb8932644438bee992dc898a36ffe155fdc1bfa
https://git.kernel.org/stable/c/1c65f8f98148709e08bd6157a807c443ba91f0ac
https://git.kernel.org/stable/c/8f8033d5663b18e6efb33feb61f2287a04605ab5
Powered by blists - more mailing lists