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

CVE-2026-139005

md/raid5: validate payload size before calculating payload_len

Publiée le 30 nov. 2026 · modifiée le 30 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 13/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: md/raid5: validate payload size before calculating payload_len Commit b0cc3ae97e89 ("md/raid5: validate payload size before accessing journal metadata") introduced a bounds check to verify that a given payload fits into the current metadata block. In order to calculate the payload size, it has to access the members payload->header.type and payload->size, the offset of which may already be past the end of the metadata block, because the loop condition only checks that the first byte of the payload is inside, and the payload entries have variable sizes. Later on, payload->checksum[0] and payload->checksum[1] are accessed without verifying that payload->size is large enough. Add another check to make sure that payload->size can be safely accessed, and make sure that the checksum fields are accessible. This issue has been found by AI (gemma4, Gemini) during a backport review.

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

Produits et versions affectés

Linux (8 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux de 5.10.258 (inclus) à 5.10.275 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.15.209 (inclus) à 5.15.226 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.1.175 (inclus) à 6.1.193 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.6.140 (inclus) à 6.6.163 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.12.86 (inclus) à 6.12.117 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.18.27 (inclus) à 6.18.63 (exclu) — CNA (éditeur ou attributeur)
Linux de 7.0.4 (inclus) à 7.1 (exclu) — CNA (éditeur ou attributeur)
Linux 7.1 — CNA (éditeur ou attributeur)

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
CNA (éditeur ou attributeur)

Comment sont obtenues et calculées ces données