What’s Vulnerable › Vulnerabilities
CVE-2026-63935: iio: adc: nxp-sar-adc: fix division by zero in write_raw
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-19 · updated 2026-10-30
- Weakness: CWE-369
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 products
- Linux kernel: from 7.0 before 7.0.12; 7.1-rc1, 7.1-rc2, 7.1-rc3, 7.1-rc4, 7.1-rc5 — fixed in 7.0.12
- Linux kernel: 7.0 — fixed in 7.1
How to fix
Upgrade to a fixed version: Linux kernel 7.0.12; Linux kernel 7.1. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/a9aba21a539c668a66b58eeb08ad3909e5a54c2a
- https://git.kernel.org/stable/c/cb6ea15e7d3c7518f806975a06b7d4c0a26402ea
Get alerted when CVE-2026-63935 or the next vulnerability affects your stack