mISDN: fix possible memory leak in mISDN_dsp_element_register() (Linux Linux)

CVE-2022-49821
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: mISDN: fix possible memory leak in mISDN_dsp_element_register() Afer commit 1fa5ae857bb1 ("driver core: get rid of struct device's bus_id string array"), the name of device is allocated dynamically, use put_device() to give up the reference, so that the name can be freed in kobject_cleanup() when the refcount is 0. The 'entry' is going to be freed in mISDN_dsp_dev_release(), so the kfree() is removed. list_del() is called in mISDN_dsp_dev_release(), so it need be initialized.

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 1fa5ae857bb14f6046205171d98506d8112dd74e < bbd53d05c4c892080ef3b617eff4f57903acecb9 ; affected 1fa5ae857bb14f6046205171d98506d8112dd74e < b119bedbefb7dd9ed8bf8cb9f1056504250d610e ; affected 1fa5ae857bb14f6046205171d98506d8112dd74e < 727ed7d28348c026c7ef4d852f3d0e5054d376e8 ; affected 1fa5ae857bb14f6046205171d98506d8112dd74e < 0f2c681900a01e3f23789bca26d88268c3d5b51d ; affected 1fa5ae857bb14f6046205171d98506d8112dd74e < 083a2c9ef82e184bdf0b9f9a1e5fc38d32afbb47 ; affected 1fa5ae857bb14f6046205171d98506d8112dd74e < 7a05e3929668c8cfef495c69752a9e91fac4878f
Linux · Linuxaffected 2.6.30 ; unaffected 0 < 2.6.30 ; unaffected 4.9.334 ≤ 4.9.* ; unaffected 4.14.300 ≤ 4.14.* ; unaffected 4.19.267 ≤ 4.19.* ; unaffected 5.4.225 ≤ 5.4.*

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