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.
Published: 2026-10-18
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via kernel crash
Action: Patch
AI Analysis

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.

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

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

No advisories yet.

History

Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Thu, 22 Oct 2026 12:30:00 +0000

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


Sun, 18 Oct 2026 23:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Sun, 18 Oct 2026 16:00:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:23:47.783Z

Reserved: 2026-09-25T10:25:14.363Z

Link: CVE-2026-98678

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:21.160

Modified: 2026-10-19T10:19:32.267

Link: CVE-2026-98678

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98678 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T06:15:13Z

Weaknesses
  • CWE-1284

    Improper Validation of Specified Quantity in Input