Skip to main content
← All vulnerabilities
CVE-2026-98678

iio: adc: ad4030: fix invalid oversampling_ratio validation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.18.56, 7.2.10
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 949abd1ca5a4342d9fb8c774035222e65dd1cfe4 · fixed in 6b0cc4e32599f59c994a60743f53fc72cb2979f4; From 949abd1ca5a4342d9fb8c774035222e65dd1cfe4 · fixed in 6ca6dcbaa68c5e6dc4df171a32c5822e1a4c66c1; From 949abd1ca5a4342d9fb8c774035222e65dd1cfe4 · fixed in d615210564205993e8f0e7ccb57cc2e66b7d5706

  • Linux Linux

    6.15

  • KernelLinux

    From 6.15.0 · fixed in 6.18.56; From 6.19.0 · fixed in 7.2.10

References 3

git.kernel.org