CVE-2026-63935
JSON

5.5medium

iio: adc: nxp-sar-adc: fix division by zero in write_raw

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: iio: adc: nxp-sar-adc: fix division by zero in write_raw Add a validation check for the sampling frequency value before using it as a divisor. A user writing zero or a negative value to the sampling_frequency sysfs attribute triggers a division by zero in the kernel. Also prevent unsigned integer underflow when the computed cycle count is smaller than NXP_SAR_ADC_CONV_TIME, which would wrap the u32 inpsamp to a huge value.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 4434072a893e4864519c167947083ff3e4cc2d95 before cb6ea15e7d3c7518f806975a06b7d4c0a26402ea, from 4434072a893e4864519c167947083ff3e4cc2d95 before a9aba21a539c668a66b58eeb08ad3909e5a54c2a, 7.0
Not affected: before 7.0, from 7.0.12 up to 7.0.*, from 7.1 up to *
CVE List
linux linux_kernelfrom 7.0 before 7.0.12, 7.1NVD

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2026-63935 changed 2026-07-19CVE Terms of Use
NVDCVE-2026-63935 changed 2026-10-30Public domain