cifs: fix small mempool leak in SMB2_negotiate() (Linux Linux)

CVE-2022-49938
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: cifs: fix small mempool leak in SMB2_negotiate() In some cases of failure (dialect mismatches) in SMB2_negotiate(), after the request is sent, the checks would return -EIO when they should be rather setting rc = -EIO and jumping to neg_exit to free the response buffer from mempool.

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 9764c02fcbad40001fd3f63558d918e4d519bb75 < 9e3c9efa7caf16e5acc05eab5e4d0a714e1610b0 ; affected 9764c02fcbad40001fd3f63558d918e4d519bb75 < 38a6b469bf22f153282fbe7d702a24e9eb43f50e ; affected 9764c02fcbad40001fd3f63558d918e4d519bb75 < 27893dfc1285f80f80f46b3b8c95f5d15d2e66d0 ; affected 1ae6f05d4204d3a128bb9ba2c42e2a6c4ac687f1 ; affected 4.13.5 < 4.14
Linux · Linuxaffected 4.14 ; unaffected 0 < 4.14 ; unaffected 5.15.66 ≤ 5.15.* ; unaffected 5.19.8 ≤ 5.19.* ; unaffected 6.0 ≤ *

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