In the Linux kernel, the following vulnerability has been resolved:
eeprom: ee1004: limit i2c reads to I2C_SMBUS_BLOCK_MAX
Commit effa453168a7 ("i2c: i801: Don't silently correct invalid transfer size") revealed that ee1004_eeprom_read() did not properly limit how many bytes to read at once.
In particular, i2c_smbus_read_i2c_block_data_or_emulated() takes the length to read as an u8. If count == 256 after taking into account the offset and page boundary, the cast to u8 overflows. And this is common when user space tries to read the entire EEPROM at once.
To fix it, limit each read to I2C_SMBUS_BLOCK_MAX (32) bytes, already the maximum length i2c_smbus_read_i2c_block_data_or_emulated() allows.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Jul 30, 2024 | Jul 30, 2024 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Jul 16, 2024 |
| Ubuntu | — | Upgrade linux-gcp-5.4Upgrade linux-oracleUpgrade linux-intel-iotg-5.15Upgrade linux-gcp-fipsUpgrade linux-azureUpgrade linux-raspi-5.4Upgrade linux-gkeopUpgrade linux-hwe-5.4Upgrade linux-azure-5.4Upgrade linux-gcpUpgrade linux-azure-fipsUpgrade linux-aws-fipsUpgrade linux-bluefieldUpgrade linux-iotUpgrade linux-kvmUpgrade linux-ibmUpgrade linux-awsUpgrade linux-oracle-5.4Upgrade linux-aws-5.4Upgrade linuxUpgrade linux-raspiUpgrade linux-ibm-5.4Upgrade linux-fips | Nov 19, 2024 | Jul 16, 2024 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub