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

CVE-2026-53391

NFSv4/pNFS: reject zero-length r_addr in nfs4_decode_mp_ds_addr

Publiée le 19 juil. 2026 · modifiée le 19 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 44/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: NFSv4/pNFS: reject zero-length r_addr in nfs4_decode_mp_ds_addr nfs4_decode_mp_ds_addr() decodes the r_netid and r_addr opaques of a netaddr4 from a GETDEVICEINFO multipath-DS body, then immediately calls strrchr(buf, '.') to locate the port separator. Both decodes use xdr_stream_decode_string_dup(), and the current code checks only "nlen < 0" / "rlen < 0" before dereferencing the returned string. When the on-wire opaque has length zero, xdr_stream_decode_opaque_inline() returns 0 and xdr_stream_decode_string_dup() falls through to its "*str = NULL; return ret" tail, leaving buf NULL with a return value of 0. The "< 0" check does not catch this, and the next line is strrchr(NULL, '.'), a kernel NULL pointer dereference reachable from any pNFS-flexfile client mounted against a malicious or compromised metadata server. Reject the zero-length cases explicitly so the decoder fails with -EBADMSG (treated as a malformed GETDEVICEINFO body) instead of panicking the client.

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

Produits et versions affectés

Linux (7 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux 4.0 — CNA (éditeur ou attributeur)
Linux kernel de 4.0 (inclus) à 5.15.211 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 6.1.177 (exclu) — NVD
Linux kernel de 6.2 (inclus) à 6.6.144 (exclu) — NVD
Linux kernel de 6.7 (inclus) à 6.12.95 (exclu) — NVD
Linux kernel de 6.13 (inclus) à 6.18.38 (exclu) — NVD
Linux kernel de 6.19 (inclus) à 7.1.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)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1256)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1286)
  4. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1333)
  5. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
  6. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1469)
  7. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1537)
  8. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1636)

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:N/S:U/C:N/I:N/A:H (CVSS 3.1, CNA:416baaa9-dc9f-4396-8d5f-8c081fb06d67)
Faiblesse
CWE-476 · Corruption mémoire

Comment sont obtenues et calculées ces données