CVE-2026-98678

iio: adc: ad4030: fix invalid oversampling_ratio validation

Published Oct 18, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

iio: adc: ad4030: fix invalid oversampling_ratio validation

In ad4030_set_avg_frame_len(), the logarithm is calculated before input
validation. Passing zero or negative values leads to an undefined result
from ilog2().

Validate that the input is strictly positive prior to computing its
logarithm.

Analysis

AI-generated

Technical impact

Kernel input validation error in the ad4030 analog‑to‑digital converter driver causes the driver to compute a logarithm on an oversampling_ratio value before confirming that the value is positive. When an attacker supplies zero or negative values, the ilog2() routine receives invalid input, producing an undefined result that can crash the kernel. The resulting kernel panic brings the affected system offline, creating a denial‑of‑service. The flaw is an improper input validation vulnerability (CWE‑1284).

Affected Systems

All Linux kernel builds that compile the Industrial I/O (IIO) ad4030 driver are affected. Any system that contains the ad4030 driver module, regardless of exact kernel version, is vulnerable until the upstream patch is applied.

Risk and Exploitability

The CVSS score of 4.4 indicates moderate severity, and the EPSS score of <1% suggests a low probability of exploitation in the wild. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Attackers would need local access that can supply oversampling_ratio values to the driver; no remote or publicly exposed interface is documented. If exploited, the kernel can crash, causing system reboot or halt.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that includes commit 6b0cc4e32599f59c994a60743f53fc72cb2979f4 or later, which validates oversampling_ratio before computing ilog2().
  • If the ad4030 driver is not required, disable or unload the module (for example, by removing it from the init system or running rmmod ad4030), thereby eliminating the vulnerable code path.
  • Ensure any userspace utilities or device interfaces that pass oversampling_ratio values to the driver perform strict positive validation before sending them to the kernel.

Generated by OpenCVE AI on October 23, 2026 at 06:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
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-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
Weaknesses CWE-1284
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: iio: adc: ad4030: fix invalid oversampling_ratio validation In ad4030_set_avg_frame_len(), the logarithm is calculated before input validation. Passing zero or negative values leads to an undefined result from ilog2(). Validate that the input is strictly positive prior to computing its logarithm.
Title iio: adc: ad4030: fix invalid oversampling_ratio validation
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-1284

    Improper Validation of Specified Quantity in Input

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:23 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Oct 19, 2026, 10:19 AM
Severity
Moderate
Public date
Oct 18, 2026, 12:00 AM