net: caif: fix memory leak in caif_device_notify (Linux Linux)

CVE-2021-47122
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: net: caif: fix memory leak in caif_device_notify In case of caif_enroll_dev() fail, allocated link_support won't be assigned to the corresponding structure. So simply free allocated pointer in case of error

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 7c18d2205ea76eef9674e59e1ecae4f332a53e9e < b042e2b2039565eb8f0eb51c14fbe1ef463c8cd8 ; affected 7c18d2205ea76eef9674e59e1ecae4f332a53e9e < 9348c1f10932f13b299cbc8b1bd5f780751fae49 ; affected 7c18d2205ea76eef9674e59e1ecae4f332a53e9e < 4bca2034b41c15b62d47a19158bb76235fd4455d ; affected 7c18d2205ea76eef9674e59e1ecae4f332a53e9e < 3be863c11cab725add9fef4237ed4e232c3fc3bb ; affected 7c18d2205ea76eef9674e59e1ecae4f332a53e9e < f52f4fd67264c70cd0b4ba326962ebe12d9cba94 ; affected 7c18d2205ea76eef9674e59e1ecae4f332a53e9e < af2806345a37313f01b1c9f15e046745b8ee2daa
Linux · Linuxaffected 3.3 ; unaffected 0 < 3.3 ; unaffected 4.4.272 ≤ 4.4.* ; unaffected 4.9.272 ≤ 4.9.* ; unaffected 4.14.236 ≤ 4.14.* ; unaffected 4.19.194 ≤ 4.19.*

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