---
id: CVE-2026-98672
title: 'iio: adc: stm32-adc: fix possible division by zero in processed channel'
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 z…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 <
    30d27899cbba5b080954b5d3741bd535806c3101
  - >-
    Linux >= 0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 <
    6dd3bf785d0307d1cf8f4a97c2240b0af14bef50
  - >-
    Linux >= 0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 <
    ab4e57adead252dd7f947baed6178f32ede88d38
  - >-
    Linux >= 0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 <
    c5de6a6f855fdcf1e0ea549fb227a316db51c405
  - Linux 5.16
published: '2026-10-18'
updated: '2026-10-18'
sourceUpdated: '2026-10-18T15:45:25.169Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-98672'
references:
  - url: 'https://git.kernel.org/stable/c/30d27899cbba5b080954b5d3741bd535806c3101'
  - url: 'https://git.kernel.org/stable/c/6dd3bf785d0307d1cf8f4a97c2240b0af14bef50'
  - url: 'https://git.kernel.org/stable/c/ab4e57adead252dd7f947baed6178f32ede88d38'
  - url: 'https://git.kernel.org/stable/c/c5de6a6f855fdcf1e0ea549fb227a316db51c405'
tags:
  - cve.org
ingestedAt: '2026-10-18T16:47:32.532Z'
---

## Overview

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

- `Linux >= 0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 < 30d27899cbba5b080954b5d3741bd535806c3101`
- `Linux >= 0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 < 6dd3bf785d0307d1cf8f4a97c2240b0af14bef50`
- `Linux >= 0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 < ab4e57adead252dd7f947baed6178f32ede88d38`
- `Linux >= 0e346b2cfa855d6e6990dbdb220983fbf2bb0b92 < c5de6a6f855fdcf1e0ea549fb227a316db51c405`
- `Linux 5.16`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
