CVSS 5.5 · Medium EPSS 0,28%
Kerentanan Integer Overflow or Wraparound pada linux kernel. Skor CVSS 3.1 5.5 (Medium) menurut NVD.
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:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
· uraikan di kalkulator | Vendor | Produk | Versi terdampak |
|---|---|---|
| linux | linux kernel | Versi 4.4.300 hingga sebelum 4.5 |
| linux | linux kernel | Versi 4.9.298 hingga sebelum 4.10 |
| linux | linux kernel | Versi 4.14.263 hingga sebelum 4.15 |
| linux | linux kernel | Versi 4.19.226 hingga sebelum 4.20 |
| linux | linux kernel | Versi 5.4.174 hingga sebelum 5.4.180 |
| linux | linux kernel | Versi 5.10.94 hingga sebelum 5.10.101 |
| linux | linux kernel | Versi 5.15.17 hingga sebelum 5.15.24 |
| linux | linux kernel | Versi 5.16.3 hingga sebelum 5.16.10 |
| linux | linux kernel | Versi 5.17 rc1 |
| linux | linux kernel | Versi 5.17 rc2 |
| linux | linux kernel | Versi 5.17 rc3 |