{"id":"CVE-2026-98678","title":"iio: adc: ad4030: fix invalid oversampling_ratio validation","summary":"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 negativ…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 949abd1ca5a4342d9fb8c774035222e65dd1cfe4 < 6b0cc4e32599f59c994a60743f53fc72cb2979f4","Linux >= 949abd1ca5a4342d9fb8c774035222e65dd1cfe4 < 6ca6dcbaa68c5e6dc4df171a32c5822e1a4c66c1","Linux >= 949abd1ca5a4342d9fb8c774035222e65dd1cfe4 < d615210564205993e8f0e7ccb57cc2e66b7d5706","Linux 6.15"],"published":"2026-10-18","updated":"2026-10-18","sourceUpdated":"2026-10-18T15:45:35.605Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98678","references":[{"url":"https://git.kernel.org/stable/c/6b0cc4e32599f59c994a60743f53fc72cb2979f4"},{"url":"https://git.kernel.org/stable/c/6ca6dcbaa68c5e6dc4df171a32c5822e1a4c66c1"},{"url":"https://git.kernel.org/stable/c/d615210564205993e8f0e7ccb57cc2e66b7d5706"}],"tags":["cve.org"],"ingestedAt":"2026-10-18T16:47:32.530Z","slug":"CVE-2026-98678","body":"## Overview\n\nIn 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.\n\n## Affected\n\n- `Linux >= 949abd1ca5a4342d9fb8c774035222e65dd1cfe4 < 6b0cc4e32599f59c994a60743f53fc72cb2979f4`\n- `Linux >= 949abd1ca5a4342d9fb8c774035222e65dd1cfe4 < 6ca6dcbaa68c5e6dc4df171a32c5822e1a4c66c1`\n- `Linux >= 949abd1ca5a4342d9fb8c774035222e65dd1cfe4 < d615210564205993e8f0e7ccb57cc2e66b7d5706`\n- `Linux 6.15`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}