CVE-2022-50617

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux902bc65de0b3d72c481b45cbac3e97ab8cb399c2 < 1caed03305b560bafea8eaa57f1847791658b3ffaffected
LinuxLinux902bc65de0b3d72c481b45cbac3e97ab8cb399c2 < 7cb8932644438bee992dc898a36ffe155fdc1bfaaffected
LinuxLinux902bc65de0b3d72c481b45cbac3e97ab8cb399c2 < 1c65f8f98148709e08bd6157a807c443ba91f0acaffected
LinuxLinux902bc65de0b3d72c481b45cbac3e97ab8cb399c2 < 8f8033d5663b18e6efb33feb61f2287a04605ab5affected
LinuxLinux5.11affected
LinuxLinux0 < 5.11unaffected
LinuxLinux5.15.86 <= 5.15.*unaffected
LinuxLinux6.0.16 <= 6.0.*unaffected
LinuxLinux6.1.2 <= 6.1.*unaffected
LinuxLinux6.2 <= *unaffected

Weaknesses

References