1. Accueil
  2. Vulnérabilités
  3. CVE-2026-31433

CVE-2026-31433

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix potencial OOB in…

Publiée le 22 avr. 2026 · modifiée le 11 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 48/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix potencial OOB in get_file_all_info() for compound requests When a compound request consists of QUERY_DIRECTORY + QUERY_INFO (FILE_ALL_INFORMATION) and the first command consumes nearly the entire max_trans_size, get_file_all_info() would blindly call smbConvertToUTF16() with PATH_MAX, causing out-of-bounds write beyond the response buffer. In get_file_all_info(), there was a missing validation check for the client-provided OutputBufferLength before copying the filename into FileName field of the smb2_file_all_info structure. If the filename length exceeds the available buffer space, it could lead to potential buffer overflows or memory corruption during smbConvertToUTF16 conversion. This calculating the actual free buffer size using smb2_calc_max_out_buf_len() and returning -EINVAL if the buffer is insufficient and updating smbConvertToUTF16 to use the actual filename length (clamped by PATH_MAX) to ensure a safe copy operation.

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

Produits et versions affectés

Linux (7 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux kernel de 5.15.145 (inclus) à 5.15.203 (exclu) — NVD
Linux kernel de 6.1.71 (inclus) à 6.1.168 (exclu) — NVD
Linux kernel de 6.6 (inclus) à 6.6.131 (exclu) — NVD
Linux kernel de 6.7 (inclus) à 6.12.80 (exclu) — NVD
Linux kernel de 6.13 (inclus) à 6.18.21 (exclu) — NVD
Linux kernel de 6.19 (inclus) à 6.19.11 (exclu) — NVD
Linux kernel 7.0 — 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)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1286)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:416baaa9-dc9f-4396-8d5f-8c081fb06d67)
Faiblesse
CWE-125 · Corruption mémoire

Comment sont obtenues et calculées ces données