{"id":"CVE-2026-98678","kind":"vulnerability","aliases":["CVE-2026-98678"],"related":[],"title":"Linux kernel: AD4030 ADC driver mishandles zero oversampling ratio input","description":"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.","summary":"In the Linux kernel's IIO ADC driver for the AD4030, the oversampling ratio setter computes a logarithm before validating its input, so zero or negative values produce an undefined result from ilog2(). The sources describe a fix that validates the input is strictly positive before the logarithm is computed.","severity":"unknown","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["ad4030","iio","infrastructure","linux-kernel"],"not_affected_if":[],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-10-18T16:17:21+00:00","first_seen_at":"2026-10-23T21:57:16+00:00","triaged_at":"2026-10-25T05:19:15+00:00","updated_at":"2026-10-25T05:19:15+00:00","category":"infrastructure","confidence":0.4,"triage":{"at":"2026-10-25T05:19:15Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"local","title":"Linux kernel: AD4030 ADC driver mishandles zero oversampling ratio input","impact":"low","summary":"In the Linux kernel's IIO ADC driver for the AD4030, the oversampling ratio setter computes a logarithm before validating its input, so zero or negative values produce an undefined result from ilog2(). The sources describe a fix that validates the input is strictly positive before the logarithm is computed.","category":"infrastructure","nicknames":[],"who_cares":["linux-kernel","iio","ad4030"],"confidence":0.4,"needs_auth":"unknown","worst_case":"unknown","analyst_note":"","how_to_check":"unknown","needs_analyst":false,"not_affected_if":[],"who_is_affected":"unknown","user_interaction":"unknown","needs_special_setup":"unknown","severity_if_unknown":"low"},"cost_usd":0.000494,"input_tokens":3350,"output_tokens":318,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-2026':12A,15A '-98678':13A,16A 'ad4030':3A,17B,33B,85C,92C 'adc':4A,29B,84C 'avg':94C 'calcul':100C 'comput':38B,72B,125C 'cve':11A,14A 'describ':58B 'driver':5A,30B 'fix':60B,86C 'follow':78C 'frame':95C 'iio':18B,28B,83C 'ilog2':55B,115C 'infrastructur':19B 'input':10A,44B,64B,102C,119C 'invalid':87C 'kernel':2A,22B,26B,76C 'lead':109C 'len':96C 'linux':1A,21B,25B,75C 'linux-kernel':20B 'logarithm':40B,70B,98C,127C 'mishandl':6A 'negat':48B,107C 'oversampl':8A,35B,88C 'pass':104C 'posit':67B,122C 'prior':123C 'produc':50B 'ratio':9A,36B,89C 'resolv':82C 'result':53B,113C 'set':93C 'setter':37B 'sourc':57B 'strict':66B,121C 'undefin':52B,112C 'valid':42B,62B,90C,103C,116C 'valu':49B,108C 'vulner':79C 'zero':7A,46B,105C","nicknames":[],"mitigations":[],"who_affected":null,"tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-18T16:17:21+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-98678","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98678","severity":null,"published_at":"2026-10-18T16:17:21+00:00","modified_at":"2026-10-19T10:19:32+00:00","first_seen_at":"2026-10-23T21:57:16+00:00","fetched_at":"2026-10-23T22:28:56+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}