Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 902bc65de0b3d72c481b45cbac3e97ab8cb399c2 to < 1caed03305b560bafea8eaa57f1847791658b3ffaffected
  • 902bc65de0b3d72c481b45cbac3e97ab8cb399c2 to < 7cb8932644438bee992dc898a36ffe155fdc1bfaaffected
  • 902bc65de0b3d72c481b45cbac3e97ab8cb399c2 to < 1c65f8f98148709e08bd6157a807c443ba91f0acaffected
  • 902bc65de0b3d72c481b45cbac3e97ab8cb399c2 to < 8f8033d5663b18e6efb33feb61f2287a04605ab5affected

Linux Linux

Default version status: affected

  • 5.11affected
  • 0 to < 5.11unaffected
  • 5.15.86 to ≤ 5.15.*unaffected
  • 6.0.16 to ≤ 6.0.*unaffected
  • 6.1.2 to ≤ 6.1.*unaffected
  • 6.2 to ≤ *unaffected

References