CVE-2026-142827
parisc: eisa_enumerator: Fix out-of-bounds reads of the EEPROM buffer
Description
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.
INFO
Published Date :
Dec. 3, 2026, 4:18 a.m.
Last Modified :
Dec. 3, 2026, 4:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Clamp the number of slots to fit within the buffer.
- Pass available bytes to parse_slot_config.
- Bound parsing to the available buffer size.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-142827.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-142827 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-142827
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-142827 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-142827 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 03, 2026
Action Type Old Value New Value Added Description 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/142xxx/CVE-2026-142827.json">CVE-2026-142827</a> Added Reference https://git.kernel.org/stable/c/2ea8c5695c98d2bd3e20ad71bbd9dba22cf05584 Added Reference https://git.kernel.org/stable/c/788d4ddd7ac9e86dac3e6bfe451b9b1bc658c1a6 Added Reference https://git.kernel.org/stable/c/a871907ea6e5f9f9c10f2ede7fbd2f0b63766c77 Added Reference https://git.kernel.org/stable/c/bd5ede91170ebb3728940ad997391c2080b7bb8e Added Reference https://git.kernel.org/stable/c/c0a3e153804f0c14f4159ddbd2b73483c9cb3577 Added Reference https://git.kernel.org/stable/c/ca12eac24875176507c99c937cd6e61180cc73bb Added Reference https://git.kernel.org/stable/c/d9c558a9a047c6d768b7c915bdc978631c836f84 Added Reference https://git.kernel.org/stable/c/da5b1f467e21b2e6f5e2e83685f920d9235a44d6