{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "4434072a893e4864519c167947083ff3e4cc2d95"
            },
            {
              "fixed": "cb6ea15e7d3c7518f806975a06b7d4c0a26402ea"
            },
            {
              "fixed": "a9aba21a539c668a66b58eeb08ad3909e5a54c2a"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "7.0.0"
            },
            {
              "fixed": "7.0.12"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63935.json"
  },
  "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.",
  "id": "CVE-2026-63935",
  "modified": "2026-08-12T03:51:16.262463218Z",
  "published": "2026-07-19T14:55:33.321Z",
  "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"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "iio: adc: nxp-sar-adc: fix division by zero in write_raw"
}