CVE-2026-98678

Source
https://cve.org/CVERecord?id=CVE-2026-98678
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98678.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98678
Downstream
Published
2026-10-18T15:45:35Z
Modified
2026-10-20T02:30:35Z
Summary
iio: adc: ad4030: fix invalid oversampling_ratio validation
Details

In the Linux kernel, the following vulnerability has been resolved:

iio: adc: ad4030: fix invalid oversampling_ratio validation

In ad4030_set_avg_frame_len(), the logarithm is calculated before input validation. Passing zero or negative values leads to an undefined result from ilog2().

Validate that the input is strictly positive prior to computing its logarithm.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98678.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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"

Linux / Kernel

Package

Name
Kernel

Affected 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"