auxdisplay: lcd2s: Fix memory leak in ->remove() (Linux Linux)

CVE-2022-48907
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: auxdisplay: lcd2s: Fix memory leak in ->remove() Once allocated the struct lcd2s_data is never freed. Fix the memory leak by switching to devm_kzalloc().

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 8c9108d014c5bd0f0da2e3544eb45dc56a6da92b < 5d53cd33f4253aa4cf02bf7e670b3c6a99674351 ; affected 8c9108d014c5bd0f0da2e3544eb45dc56a6da92b < 3585ed5f9b11a6094dd991d76a1541e5d03b986a ; affected 8c9108d014c5bd0f0da2e3544eb45dc56a6da92b < 898c0a15425a5bcaa8d44bd436eae5afd2483796
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.27 ≤ 5.15.* ; unaffected 5.16.13 ≤ 5.16.* ; unaffected 5.17 ≤ *

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