In the Linux kernel, the following vulnerability has been resolved: iio: adc: ad4030: fix invalid oversampling_ratio validation In… (CVE-2026-98678)
Description
A vulnerability in the Linux kernel's iio adc ad4030 driver was fixed by correcting invalid input validation for the oversampling_ratio parameter. The issue involved calculating a logarithm before validating that the input was strictly positive, which could lead to undefined behavior when zero or negative values were passed.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's iio adc ad4030 driver contained a vulnerability where the function ad4030_set_avg_frame_len() computed the logarithm of the oversampling_ratio parameter before validating the input. If zero or negative values were passed, the ilog2() function produced undefined results. The fix involved adding validation to ensure the input is strictly positive before computing the logarithm, preventing invalid calculations.
Potential Impact
Passing zero or negative values to the oversampling_ratio parameter could cause undefined behavior in the kernel due to invalid logarithm calculations. This could potentially lead to kernel instability or crashes. No known exploits are reported in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to validate the input before computing the logarithm. Users should update to the patched kernel version once available. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-m2wg-6jmr-mfrp
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98678"]
Threat ID: 6ad520ac2cdf04f656993a2f
Added to database: 10/18/2026, 19:40:28 UTC
Last enriched: 10/18/2026, 22:28:17 UTC
Last updated: 10/19/2026, 01:28:17 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.