1. Accueil
  2. Vulnérabilités
  3. CVE-2024-49996

CVE-2024-49996

In the Linux kernel, the following vulnerability has been resolved: cifs: Fix buffer overflow when parsing…

Publiée le 21 oct. 2024 · modifiée le 4 août 2026 · Sources : NVD, EPSS (FIRST)

Moyen 45/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: cifs: Fix buffer overflow when parsing NFS reparse points ReparseDataLength is sum of the InodeType size and DataBuffer size. So to get DataBuffer size it is needed to subtract InodeType's size from ReparseDataLength. Function cifs_strndup_from_utf16() is currentlly accessing buf->DataBuffer at position after the end of the buffer because it does not subtract InodeType size from the length. Fix this problem and correctly subtract variable len. Member InodeType is present only when reparse buffer is large enough. Check for ReparseDataLength before accessing InodeType to prevent another invalid memory access. Major and minor rdev values are present also only when reparse buffer is large enough. Check for reparse buffer size before calling reparse_mkdev().

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Debian (1 ligne(s))
Debian
ProduitVersionsCorrigé dansSource
Debian linux 11.0 — NVD
Linux (7 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux kernel de 5.3 (inclus) à 5.4.287 (exclu) — NVD
Linux kernel de 5.5 (inclus) à 5.10.231 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.15.174 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 6.1.120 (exclu) — NVD
Linux kernel de 6.2 (inclus) à 6.6.55 (exclu) — NVD
Linux kernel de 6.7 (inclus) à 6.10.14 (exclu) — NVD
Linux kernel de 6.11 (inclus) à 6.11.3 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-120 · Corruption mémoire

Comment sont obtenues et calculées ces données