{"schema_version":"1.9.0","id":"CVE-2026-63935","published":"2026-07-19T14:55:33.321Z","modified":"2026-08-12T03:51:16.262463218Z","summary":"iio: adc: nxp-sar-adc: fix division by zero in write_raw","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: nxp-sar-adc: fix division by zero in write_raw\n\nAdd a validation check for the sampling frequency value before using it\nas a divisor. A user writing zero or a negative value to the\nsampling_frequency sysfs attribute triggers a division by zero in the\nkernel.\n\nAlso prevent unsigned integer underflow when the computed cycle count is\nsmaller than NXP_SAR_ADC_CONV_TIME, which would wrap the u32 inpsamp to\na huge value.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4434072a893e4864519c167947083ff3e4cc2d95"},{"fixed":"cb6ea15e7d3c7518f806975a06b7d4c0a26402ea"},{"fixed":"a9aba21a539c668a66b58eeb08ad3909e5a54c2a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63935.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.0.12"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63935.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/a9aba21a539c668a66b58eeb08ad3909e5a54c2a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cb6ea15e7d3c7518f806975a06b7d4c0a26402ea"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63935.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63935"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63935.json"}}