{"id":"CVE-2026-98678","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-10-18T16:17:21.160","lastModified":"2026-10-19T10:19:32.267","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ad4030: fix invalid oversampling_ratio validation\n\nIn ad4030_set_avg_frame_len(), the logarithm is calculated before input\nvalidation. Passing zero or negative values leads to an undefined result\nfrom ilog2().\n\nValidate that the input is strictly positive prior to computing its\nlogarithm."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/iio/adc/ad4030.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"949abd1ca5a4342d9fb8c774035222e65dd1cfe4","lessThan":"6b0cc4e32599f59c994a60743f53fc72cb2979f4","versionType":"git","status":"affected"},{"version":"949abd1ca5a4342d9fb8c774035222e65dd1cfe4","lessThan":"6ca6dcbaa68c5e6dc4df171a32c5822e1a4c66c1","versionType":"git","status":"affected"},{"version":"949abd1ca5a4342d9fb8c774035222e65dd1cfe4","lessThan":"d615210564205993e8f0e7ccb57cc2e66b7d5706","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/iio/adc/ad4030.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.15","status":"affected"},{"version":"0","lessThan":"6.15","versionType":"semver","status":"unaffected"},{"version":"6.18.56","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.2.10","lessThanOrEqual":"7.2.*","versionType":"semver","status":"unaffected"},{"version":"7.3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/6b0cc4e32599f59c994a60743f53fc72cb2979f4","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/6ca6dcbaa68c5e6dc4df171a32c5822e1a4c66c1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d615210564205993e8f0e7ccb57cc2e66b7d5706","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}