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

CVE-2026-142827

parisc: eisa_enumerator: Fix out-of-bounds reads of the EEPROM buffer

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

Faible 16/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: parisc: eisa_enumerator: Fix out-of-bounds reads of the EEPROM buffer eisa_enumerator() trusts the contents of the EISA EEPROM.  The number of slots is read from the EEPROM header and used to access the slot records at HPEE_SLOT_INFO(i) = 20 + 48*i within the fixed-size eeprom_buf (HPEE_MAX_LENGTH, 8192 bytes) without any bound check.  As struct eeprom_eisa_slot_info is 48 bytes, only 170 records fit into the buffer, but num_slots is a u8 and may be up to 255, so a corrupted EEPROM makes the code read up to about 4 kB past the end of the buffer (e.g. record 254 is accessed at offset 20 + 48*254 = 12212). parse_slot_config() has the same kind of problem: it clamps config_data_length against HPEE_MAX_LENGTH but does not take config_data_offset into account, so the parser can walk past the end of the buffer even when the offset itself is valid. Clamp the number of slots so that all slot records fit into the buffer, and hand the number of bytes actually available to parse_slot_config() and bound the parse by it.

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

Produits et versions affectés

Linux (8 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux avant 5.10.275 (exclu) — CNA (éditeur ou attributeur)
Linux avant 5.15.226 (exclu) — CNA (éditeur ou attributeur)
Linux avant 6.1.193 (exclu) — CNA (éditeur ou attributeur)
Linux avant 6.6.163 (exclu) — CNA (éditeur ou attributeur)
Linux avant 6.12.117 (exclu) — CNA (éditeur ou attributeur)
Linux avant 6.18.63 (exclu) — CNA (éditeur ou attributeur)
Linux avant 7.3.4 (exclu) — CNA (éditeur ou attributeur)
Linux Versions non précisées — 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