Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
3b82f43238aecd73464aeacc9c73407079511533 to < df9127a1d2d748e426c49c8fcd9b6801e4eb743daffected3b82f43238aecd73464aeacc9c73407079511533 to < 0a89002737ee34decc20fa232204dbe5fe83e0deaffected3b82f43238aecd73464aeacc9c73407079511533 to < f75beebcd5bc9bdc80e0722142e78a6f306214eeaffected3b82f43238aecd73464aeacc9c73407079511533 to < e545936e06f1c7173ab41a5f33a77ff43ced3a8daffected3b82f43238aecd73464aeacc9c73407079511533 to < 307dc4240bd41852d9e0912921e298160db1c109affected
Linux Linux
Default version status: affected
6.8affected0 to < 6.8unaffected6.12.95 to ≤ 6.12.*unaffected6.18.37 to ≤ 6.18.*unaffected7.0.14 to ≤ 7.0.*unaffected7.1.2 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/df9127a1d2d748e426c49c8fcd9b6801e4eb743d ↗
- https://git.kernel.org/stable/c/0a89002737ee34decc20fa232204dbe5fe83e0de ↗
- https://git.kernel.org/stable/c/f75beebcd5bc9bdc80e0722142e78a6f306214ee ↗
- https://git.kernel.org/stable/c/e545936e06f1c7173ab41a5f33a77ff43ced3a8d ↗
- https://git.kernel.org/stable/c/307dc4240bd41852d9e0912921e298160db1c109 ↗