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

CVE-2026-43112

fs/smb/client: fix out-of-bounds read in cifs_sanitize_prepath

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

Moyen 46/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: fs/smb/client: fix out-of-bounds read in cifs_sanitize_prepath When cifs_sanitize_prepath is called with an empty string or a string containing only delimiters (e.g., "/"), the current logic attempts to check *(cursor2 - 1) before cursor2 has advanced. This results in an out-of-bounds read. This patch adds an early exit check after stripping prepended delimiters. If no path content remains, the function returns NULL. The bug was identified via manual audit and verified using a standalone test case compiled with AddressSanitizer, which triggered a SEGV on affected inputs.

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

Produits et versions affectés

Linux (8 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux de 5.15.11 (inclus) à 5.15.209 (exclu) — CNA (éditeur ou attributeur)
Linux 5.16 — CNA (éditeur ou attributeur)
Linux kernel de 5.16.1 (inclus) à 6.6.136 (exclu) — NVD
Linux kernel de 6.7 (inclus) à 6.12.83 (exclu) — NVD
Linux kernel de 6.13 (inclus) à 6.18.24 (exclu) — NVD
Linux kernel de 6.19 (inclus) à 6.19.14 (exclu) — NVD
Linux kernel 5.16 — 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-1298)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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