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

CVE-2022-50617
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.20 % · centile 10 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

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.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 902bc65de0b3d72c481b45cbac3e97ab8cb399c2 < 1caed03305b560bafea8eaa57f1847791658b3ff ; affected 902bc65de0b3d72c481b45cbac3e97ab8cb399c2 < 7cb8932644438bee992dc898a36ffe155fdc1bfa ; affected 902bc65de0b3d72c481b45cbac3e97ab8cb399c2 < 1c65f8f98148709e08bd6157a807c443ba91f0ac ; affected 902bc65de0b3d72c481b45cbac3e97ab8cb399c2 < 8f8033d5663b18e6efb33feb61f2287a04605ab5
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.86 ≤ 5.15.* ; unaffected 6.0.16 ≤ 6.0.* ; unaffected 6.1.2 ≤ 6.1.* ; unaffected 6.2 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD