Description
In the Linux kernel, the following vulnerability has been resolved: iio: adc: stm32-adc: fix possible division by zero in processed channel In case the conversion has failed or returned zero, processing *val can lead to a division by zero. Need to check for errors, or converted value is zero, before processing the data. In case the converted value is zero, e.g. the Vrefint channel, this should be considered as invalid in all cases.
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
0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 to < 55f1cebee909c9a0d5c2e494bcfaabed54750eb5affected0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 to < 30d27899cbba5b080954b5d3741bd535806c3101affected0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 to < 6dd3bf785d0307d1cf8f4a97c2240b0af14bef50affected0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 to < ab4e57adead252dd7f947baed6178f32ede88d38affected0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 to < c5de6a6f855fdcf1e0ea549fb227a316db51c405affected
Linux Linux
Default version status: affected
5.16affected0 to < 5.16unaffected6.6.160 to ≤ 6.6.*unaffected6.12.113 to ≤ 6.12.*unaffected6.18.56 to ≤ 6.18.*unaffected7.2.10 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/55f1cebee909c9a0d5c2e494bcfaabed54750eb5 ↗
- https://git.kernel.org/stable/c/30d27899cbba5b080954b5d3741bd535806c3101 ↗
- https://git.kernel.org/stable/c/6dd3bf785d0307d1cf8f4a97c2240b0af14bef50 ↗
- https://git.kernel.org/stable/c/ab4e57adead252dd7f947baed6178f32ede88d38 ↗
- https://git.kernel.org/stable/c/c5de6a6f855fdcf1e0ea549fb227a316db51c405 ↗