iio: adc: stm32-adc: fix possible division by zero in processed channel
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.113, 6.18.56, 7.2.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 · fixed in 55f1cebee909c9a0d5c2e494bcfaabed54750eb5; From 0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 · fixed in 30d27899cbba5b080954b5d3741bd535806c3101; From 0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 · fixed in 6dd3bf785d0307d1cf8f4a97c2240b0af14bef50; From 0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 · fixed in ab4e57adead252dd7f947baed6178f32ede88d38; From 0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 · fixed in c5de6a6f855fdcf1e0ea549fb227a316db51c405
- Linux Linux
5.16
- KernelLinux
From 5.16.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.113; From 6.13.0 · fixed in 6.18.56; From 6.19.0 · fixed in 7.2.10