mmc: uniphier-sd: Fix a resource leak in the remove function (Linux Linux)

CVE-2021-46962
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: mmc: uniphier-sd: Fix a resource leak in the remove function A 'tmio_mmc_host_free()' call is missing in the remove function, in order to balance a 'tmio_mmc_host_alloc()' call in the probe. This is done in the error handling path of the probe, but not in the remove function. Add the missing call.

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:H/I:N/A:NNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 3fd784f745dd1747863775a99ec749619ee6759c < 0d8941b9b2d3e7b3481fdf43b1a6189d162175b7 ; affected 3fd784f745dd1747863775a99ec749619ee6759c < 25ac6ce65f1ab458982d15ec1caf441acd37106a ; affected 3fd784f745dd1747863775a99ec749619ee6759c < ebe0f12cf4c044f812c6d17011531582f9ac8bb3 ; affected 3fd784f745dd1747863775a99ec749619ee6759c < d6e7fda496978f2763413b5523557b38dc2bf6c2 ; affected 3fd784f745dd1747863775a99ec749619ee6759c < e29c84857e2d51aa017ce04284b962742fb97d9e
Linux · Linuxaffected 4.20 ; unaffected 0 < 4.20 ; unaffected 5.4.118 ≤ 5.4.* ; unaffected 5.10.36 ≤ 5.10.* ; unaffected 5.11.20 ≤ 5.11.* ; unaffected 5.12.3 ≤ 5.12.*

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