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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-10-18T15:45:35.605Z
- Modified: 2026-10-19T10:19:32.267Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 949abd1ca5a4342d9fb8c774035222e65dd1cfe4 before 6b0cc4e32599f59c994a60743f53fc72cb2979f4; from 949abd1ca5a4342d9fb8c774035222e65dd1cfe4 before 6ca6dcbaa68c5e6dc4df171a32c5822e1a4c66c1; from 949abd1ca5a4342d9fb8c774035222e65dd1cfe4 before d615210564205993e8f0e7ccb57cc2e66b7d5706; 6.15 (not affected: before 6.15; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/6b0cc4e32599f59c994a60743f53fc72cb2979f4>
- <https://git.kernel.org/stable/c/6ca6dcbaa68c5e6dc4df171a32c5822e1a4c66c1>
- <https://git.kernel.org/stable/c/d615210564205993e8f0e7ccb57cc2e66b7d5706>

## Sources

- CVE List: [CVE-2026-98678](https://www.cve.org/CVERecord?id=CVE-2026-98678), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98678](https://nvd.nist.gov/vuln/detail/CVE-2026-98678), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98678 · Whole record: https://cve.day/CVE-2026-98678.json · Rebuilt by cve.day 2026-11-25T22:59:45.265Z
