CVE-2022-50617
JSON

Not scored

drm/amdgpu/powerplay/psm: Fix memory leak in power state init

Severity
Not scored
Exploit likelihood
0.22% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 902bc65de0b3d72c481b45cbac3e97ab8cb399c2 before 1caed03305b560bafea8eaa57f1847791658b3ff, from 902bc65de0b3d72c481b45cbac3e97ab8cb399c2 before 7cb8932644438bee992dc898a36ffe155fdc1bfa, from 902bc65de0b3d72c481b45cbac3e97ab8cb399c2 before 1c65f8f98148709e08bd6157a807c443ba91f0ac, from 902bc65de0b3d72c481b45cbac3e97ab8cb399c2 before 8f8033d5663b18e6efb33feb61f2287a04605ab5, 5.11
Not affected: before 5.11, from 5.15.86 up to 5.15.*, from 6.0.16 up to 6.0.*, from 6.1.2 up to 6.1.*, from 6.2 up to *
CVE List

What each source says

CVE List

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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-50617 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-50617 changed 2026-11-11Public domain