CVE-2026-98678 PUBLISHED

iio: adc: ad4030: fix invalid oversampling_ratio validation

Assigner: Linux
Reserved: 25.09.2026 Published: 18.10.2026 Updated: 18.10.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 949abd1ca5a4342d9fb8c774035222e65dd1cfe4 to 6b0cc4e32599f59c994a60743f53fc72cb2979f4 (excl.)
  • affected from 949abd1ca5a4342d9fb8c774035222e65dd1cfe4 to 6ca6dcbaa68c5e6dc4df171a32c5822e1a4c66c1 (excl.)
  • affected from 949abd1ca5a4342d9fb8c774035222e65dd1cfe4 to d615210564205993e8f0e7ccb57cc2e66b7d5706 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.15 is affected
  • unaffected from 0 to 6.15 (excl.)
  • unaffected from 6.18.56 to 6.18.* (incl.)
  • unaffected from 7.2.10 to 7.2.* (incl.)
  • unaffected from 7.3-rc6 to * (incl.)

References