Linux
iio: light: veml6075: add bounds check to veml6075_it_ms index
In the Linux kernel, the following vulnerability has been resolved: iio: light: veml6075: add bounds check to veml6075_it_ms index veml6075_it_ms has 5 elements but VEML6075_CONF_IT can yield values 0-7. If it returns a value >= 5, this causes an out-of-bounds array access. Add a bounds check and return -EINVAL if the index is out of range. The problem values are reserved so should never be read from the register. Hence this is hardening against fault device, missprogramming or bus corruption.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3b82f43238aecd73464aeacc9c73407079511533, < df9127a1d2d748e426c49c8fcd9b6801e4eb743d
- >= 3b82f43238aecd73464aeacc9c73407079511533, < 0a89002737ee34decc20fa232204dbe5fe83e0de
- >= 3b82f43238aecd73464aeacc9c73407079511533, < f75beebcd5bc9bdc80e0722142e78a6f306214ee
- >= 3b82f43238aecd73464aeacc9c73407079511533, < e545936e06f1c7173ab41a5f33a77ff43ced3a8d
- >= 3b82f43238aecd73464aeacc9c73407079511533, < 307dc4240bd41852d9e0912921e298160db1c109
Fixed in df9127a1d2d748e426c49c8fcd9b6801e4eb743d, 0a89002737ee34decc20fa232204dbe5fe83e0de, f75beebcd5bc9bdc80e0722142e78a6f306214ee, e545936e06f1c7173ab41a5f33a77ff43ced3a8d, 307dc4240bd41852d9e0912921e298160db1c109
- 6.8
Fixed in 0, 6.12.95, 6.18.37, 7.0.14, 7.1.2, 7.2
Mitigation
Upgrade Linux to df9127a1d2d748e426c49c8fcd9b6801e4eb743d or 0a89002737ee34decc20fa232204dbe5fe83e0de or f75beebcd5bc9bdc80e0722142e78a6f306214ee or e545936e06f1c7173ab41a5f33a77ff43ced3a8d or 307dc4240bd41852d9e0912921e298160db1c109 or later.
Upgrade Linux to 0 or 6.12.95 or 6.18.37 or 7.0.14 or 7.1.2 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.