uio_hv_generic: Fix a memory leak in error handling paths (Linux Linux)

CVE-2021-47071
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: uio_hv_generic: Fix a memory leak in error handling paths If 'vmbus_establish_gpadl()' fails, the (recv|send)_gpadl will not be updated and 'hv_uio_cleanup()' in the error handling path will not be able to free the corresponding buffer. In such a case, we need to free the buffer explicitly.

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 cdfa835c6e5e87d145f9f632b58843de97509f2b < cdd91637d4ef33e2be19a8e16e72e7d00c996d76 ; affected cdfa835c6e5e87d145f9f632b58843de97509f2b < d84b5e912212b05f6b5bde9f682046accfbe0354 ; affected cdfa835c6e5e87d145f9f632b58843de97509f2b < 53486c467e356e06aa37047c984fccd64d78c827 ; affected cdfa835c6e5e87d145f9f632b58843de97509f2b < 3ee098f96b8b6c1a98f7f97915f8873164e6af9d
Linux · Linuxaffected 4.20 ; unaffected 0 < 4.20 ; unaffected 5.4.122 ≤ 5.4.* ; unaffected 5.10.40 ≤ 5.10.* ; unaffected 5.12.7 ≤ 5.12.* ; unaffected 5.13 ≤ *

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