{"api_version":"1","generated_at":"2026-07-24T00:07:42+00:00","cve":"CVE-2026-63935","urls":{"html":"https://cve.report/CVE-2026-63935","api":"https://cve.report/api/cve/CVE-2026-63935.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-63935","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-63935"},"summary":{"title":"iio: adc: nxp-sar-adc: fix division by zero in write_raw","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-07-19 16:17:11","updated_at":"2026-07-19 16:17:11"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/a9aba21a539c668a66b58eeb08ad3909e5a54c2a","name":"https://git.kernel.org/stable/c/a9aba21a539c668a66b58eeb08ad3909e5a54c2a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cb6ea15e7d3c7518f806975a06b7d4c0a26402ea","name":"https://git.kernel.org/stable/c/cb6ea15e7d3c7518f806975a06b7d4c0a26402ea","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-63935","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63935","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4434072a893e4864519c167947083ff3e4cc2d95 cb6ea15e7d3c7518f806975a06b7d4c0a26402ea git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4434072a893e4864519c167947083ff3e4cc2d95 a9aba21a539c668a66b58eeb08ad3909e5a54c2a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.12 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"63935","cve":"CVE-2026-63935","epss":"0.001890000","percentile":"0.087830000","score_date":"2026-07-20","updated_at":"2026-07-21 00:13:14"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/iio/adc/nxp-sar-adc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"cb6ea15e7d3c7518f806975a06b7d4c0a26402ea","status":"affected","version":"4434072a893e4864519c167947083ff3e4cc2d95","versionType":"git"},{"lessThan":"a9aba21a539c668a66b58eeb08ad3909e5a54c2a","status":"affected","version":"4434072a893e4864519c167947083ff3e4cc2d95","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/iio/adc/nxp-sar-adc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"7.0"},{"lessThan":"7.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.12","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.12","versionStartIncluding":"7.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1","versionStartIncluding":"7.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-07-19T14:55:33.321Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/cb6ea15e7d3c7518f806975a06b7d4c0a26402ea"},{"url":"https://git.kernel.org/stable/c/a9aba21a539c668a66b58eeb08ad3909e5a54c2a"}],"title":"iio: adc: nxp-sar-adc: fix division by zero in write_raw","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-63935","datePublished":"2026-07-19T14:55:33.321Z","dateReserved":"2026-07-19T07:54:57.022Z","dateUpdated":"2026-07-19T14:55:33.321Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-19 16:17:11","lastModifiedDate":"2026-07-19 16:17:11","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"63935","Ordinal":"1","Title":"iio: adc: nxp-sar-adc: fix division by zero in write_raw","CVE":"CVE-2026-63935","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"63935","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"iio: adc: nxp-sar-adc: fix division by zero in write_raw"}]}}}