{"id":"CVE-2026-98678","summary":"iio: adc: ad4030: fix invalid oversampling_ratio validation","details":"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.","modified":"2026-10-20T02:30:35.307952946Z","published":"2026-10-18T15:45:35.605Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98678.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6b0cc4e32599f59c994a60743f53fc72cb2979f4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6ca6dcbaa68c5e6dc4df171a32c5822e1a4c66c1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d615210564205993e8f0e7ccb57cc2e66b7d5706"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98678.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98678"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"949abd1ca5a4342d9fb8c774035222e65dd1cfe4"},{"fixed":"6b0cc4e32599f59c994a60743f53fc72cb2979f4"},{"fixed":"6ca6dcbaa68c5e6dc4df171a32c5822e1a4c66c1"},{"fixed":"d615210564205993e8f0e7ccb57cc2e66b7d5706"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98678.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.15.0"},{"fixed":"6.18.56"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98678.json"}}],"schema_version":"1.9.0"}