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

CVE-2026-64322

udf: validate sparing table length as an entry count, not a byte count

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

Faible 33/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: udf: validate sparing table length as an entry count, not a byte count udf_load_sparable_map() accepts a sparing table when sizeof(*st) + le16_to_cpu(st->reallocationTableLen) > sb->s_blocksize is false, i.e. it treats reallocationTableLen as a number of BYTES that must fit in the block. But the table is walked as an array of 8-byte sparingEntry elements: for (i = 0; i < le16_to_cpu(st->reallocationTableLen); i++) { struct sparingEntry *entry = &st->mapEntry[i]; ... entry->origLocation ... } in udf_get_pblock_spar15() and udf_relocate_blocks(). A reallocationTableLen of N therefore passes the check whenever sizeof(*st) + N <= blocksize, yet the consumers index sizeof(*st) + N * sizeof(struct sparingEntry) bytes -- up to ~8x the block. On a crafted UDF image this is an out-of-bounds read in udf_get_pblock_spar15(); udf_relocate_blocks() additionally feeds the same length to udf_update_tag(), whose crc_itu_t() reads far past the block, and its memmove() through st->mapEntry[] is an out-of-bounds write. Validate reallocationTableLen as the entry count it is, with struct_size().

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

Produits et versions affectés

Linux (19 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux de 2.6.32.60 (inclus) à 2.6.33 (exclu) — CNA (éditeur ou attributeur)
Linux de 2.6.34.14 (inclus) à 2.6.35 (exclu) — CNA (éditeur ou attributeur)
Linux de 3.0.37 (inclus) à 3.1 (exclu) — CNA (éditeur ou attributeur)
Linux de 3.2.23 (inclus) à 3.3 (exclu) — CNA (éditeur ou attributeur)
Linux de 3.4.5 (inclus) à 3.5 (exclu) — CNA (éditeur ou attributeur)
Linux 3.5 — CNA (éditeur ou attributeur)
Linux kernel de 2.6.32.60 (inclus) à 2.6.33 (exclu) — NVD
Linux kernel de 2.6.34.14 (inclus) à 2.6.35 (exclu) — NVD
Linux kernel de 3.0.37 (inclus) à 3.1 (exclu) — NVD
Linux kernel de 3.2.23 (inclus) à 3.3 (exclu) — NVD
Linux kernel de 3.4.5 (inclus) à 3.5 (exclu) — NVD
Linux kernel de 3.5.1 (inclus) à 5.10.261 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.15.212 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 6.1.178 (exclu) — NVD
Linux kernel de 6.2 (inclus) à 6.6.145 (exclu) — NVD
Linux kernel de 6.7 (inclus) à 6.12.96 (exclu) — NVD
Linux kernel de 6.13 (inclus) à 6.18.39 (exclu) — NVD
Linux kernel de 6.19 (inclus) à 7.1.4 (exclu) — NVD
Linux kernel 3.5 — 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)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1333)
  4. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
  5. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1469)
  6. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1537)

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:L/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-787 · Corruption mémoire

Comment sont obtenues et calculées ces données