CVE-2026-98678 iio: adc: ad4030: fix invalid oversampling_ratio validation

Not scored Published Updated

A local attacker can trigger a kernel crash by passing invalid values to the AD4030 ADC driver due to missing input validation before logarithm calculation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-98678?

CVE-2026-98678 is a vulnerability in Linux, published on 18 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2026-98678?

How do I fix CVE-2026-98678?

Apply the vendor's patch.

Is CVE-2026-98678 being exploited?

There is no known exploitation of CVE-2026-98678 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-98678, DEBIAN-CVE-2026-98678, GHSA-m2wg-6jmr-mfrp, UBUNTU-CVE-2026-98678.

Is CVE-2026-98678 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free