CVE-2026-142827

Unknown

Last modified

CVE-2026-142827 is a vulnerability of currently unknown severity. 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..

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.

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a871907ea6e5f9f9c10f2ede7fbd2f0b63766c77; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bd5ede91170ebb3728940ad997391c2080b7bb8e; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 788d4ddd7ac9e86dac3e6bfe451b9b1bc658c1a6; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < da5b1f467e21b2e6f5e2e83685f920d9235a44d6; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2ea8c5695c98d2bd3e20ad71bbd9dba22cf05584; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d9c558a9a047c6d768b7c915bdc978631c836f84; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ca12eac24875176507c99c937cd6e61180cc73bb; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c0a3e153804f0c14f4159ddbd2b73483c9cb3577; < 5.10.275; < 5.15.226; < 6.1.193; < 6.6.163; < 6.12.117; < 6.18.63; < 7.3.4
LinuxLinuxAll versions

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-142827?
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.
How severe is CVE-2026-142827?
Severity scoring for CVE-2026-142827 is pending analysis.
How do I fix CVE-2026-142827?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-142827?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST