platform/x86: intel_pmc_core: fix memleak on registration failure (Linux Linux)

CVE-2021-47093
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.26 % · centile 18 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: platform/x86: intel_pmc_core: fix memleak on registration failure In case device registration fails during module initialisation, the platform device structure needs to be freed using platform_device_put() to properly free all resources (e.g. the device name).

Faiblesses (CWE)

  • CWE-401 — Mémoire non libérée après sa durée de vie utile

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 938835aa903ae19ad62805134f79bbcf20fc3bea < 7a37f2e370699e2feca3dca6c8178c71ceee7e8a ; affected 938835aa903ae19ad62805134f79bbcf20fc3bea < 9ca1324755f1f8629a370af5cc315b175331f5d1 ; affected 938835aa903ae19ad62805134f79bbcf20fc3bea < 26a8b09437804fabfb1db080d676b96c0de68e7c
Linux · Linuxaffected 5.9 ; unaffected 0 < 5.9 ; unaffected 5.10.89 ≤ 5.10.* ; unaffected 5.15.12 ≤ 5.15.* ; unaffected 5.16 ≤ *

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