{"id":"CVE-2026-63935","aliases":["CVE-2026-63935"],"related":[],"kind":"vulnerability","state":"published","title":"iio: adc: nxp-sar-adc: fix division by zero in write_raw","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-07-19T14:55:33.321Z","modified":"2026-10-30T14:28:20.067Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-369"],"affected":[{"ranges":[{"type":"git","introduced":"4434072a893e4864519c167947083ff3e4cc2d95","fixed":"cb6ea15e7d3c7518f806975a06b7d4c0a26402ea","status":"affected"},{"type":"git","introduced":"4434072a893e4864519c167947083ff3e4cc2d95","fixed":"a9aba21a539c668a66b58eeb08ad3909e5a54c2a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"7.0.12","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"7.0","fixed":"7.0.12"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/cb6ea15e7d3c7518f806975a06b7d4c0a26402ea","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a9aba21a539c668a66b58eeb08ad3909e5a54c2a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-63935","url":"https://www.cve.org/CVERecord?id=CVE-2026-63935","licence":"CVE Terms of Use","modified":"2026-07-19T14:55:33.321Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-63935","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63935","licence":"Public domain","modified":"2026-10-30T14:28:20.067Z"}],"updatedAt":"2026-11-25T22:59:28.842Z","epss":{"score":0.00137,"percentile":0.03343,"date":"2026-12-01T12:00:22.000Z"}}