CVE-2026-98672

iio: adc: stm32-adc: fix possible division by zero in processed channel

Published Oct 18, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The stm32-adc driver in the Linux kernel performs a division on an ADC conversion result without first verifying that the value is non-zero. When an ADC conversion fails or returns zero, such as the Vrefint channel, the driver attempts to divide by this zero value, triggering a division-by-zero fault that causes the kernel to crash. This flaw corresponds to the classic divide-by-zero weakness listed as CWE-369.

Affected Systems

All Linux kernel installations that incorporate the unpatched stm32-adc driver are affected; distributions that ship a kernel prior to the commit adding the zero-value check should be considered at risk. No specific kernel release numbers are identified in the advisory, so any build containing the vulnerable code path should be scanned.

Risk and Exploitability

The EPSS score of less than 1% indicates a very low probability of exploitation, and the vulnerability is not present in the CISA KEV catalog, suggesting no publicly known exploits. The CVSS score of 4.7 places the issue in the moderate severity range. The likely attack vector is inferred to be an attacker with the ability to trigger ADC conversions on the target system, either by physical interaction with the ADC hardware or via a software interface that causes failed conversions. Exploitation would require access to the driver’s conversion path, and the resulting kernel crash would deny service to the system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply an updated Linux kernel that contains the stm32-adc division-by-zero check (for example, upgrade to a release that includes commit 30d27899cbba5b080954b5d3741bd535806c3101).
  • If a distribution update is not yet available, manually cherry‑pick the fixing commit into the kernel source, rebuild the kernel, and install the patched image.
  • Continue to monitor vendor and distribution security advisories for further patches and ensure that all kernel updates are applied promptly to maintain protection against this flaw.

Generated by OpenCVE AI on October 22, 2026 at 22:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
Ubuntu USN Ubuntu USN USN-9018-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9018-2 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-369
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
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.
Title iio: adc: stm32-adc: fix possible division by zero in processed channel
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:38 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Oct 30, 2026, 1:21 PM
Severity
Moderate
Public date
Oct 18, 2026, 12:00 AM