{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "64b3d8b1b0f5c16c19045785e4da8391ae35ec99"
            },
            {
              "fixed": "4748bce423a363bb8a85a624faeb8f54fe331611"
            },
            {
              "fixed": "6308b812acdcac38cbfe1af0b1524c3375f408a5"
            },
            {
              "fixed": "c7a740bf75554b051fabb17596ca6e483d6e6d90"
            },
            {
              "fixed": "e85bc501947f5ae16dd9adc01162b76d55ab7962"
            },
            {
              "fixed": "d98c2e69aab905d1b19a69ffe584efa46a9efd42"
            },
            {
              "fixed": "5e4d34092a5ebfbc3a45a180c76ecb1cdbbedd53"
            },
            {
              "fixed": "2c50c017df97bfb425038efdfb8514c7bcd08564"
            },
            {
              "fixed": "5aba4f94b225617a55fed442a70329b2ee19c0a5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.9.0"
            },
            {
              "fixed": "5.10.259"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.210"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.176"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.143"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.93"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.35"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.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-63931.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: chemical: scd30: fix division by zero in write_raw\n\nAdd a zero check for val2 before using it as a divisor when setting the\nsampling frequency. A user writing a zero fractional part to the\nsampling_frequency sysfs attribute triggers a division by zero in the\nkernel.",
  "id": "CVE-2026-63931",
  "modified": "2026-07-21T03:42:03.989058024Z",
  "published": "2026-07-19T14:55:30.718Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2c50c017df97bfb425038efdfb8514c7bcd08564"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4748bce423a363bb8a85a624faeb8f54fe331611"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5aba4f94b225617a55fed442a70329b2ee19c0a5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5e4d34092a5ebfbc3a45a180c76ecb1cdbbedd53"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6308b812acdcac38cbfe1af0b1524c3375f408a5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c7a740bf75554b051fabb17596ca6e483d6e6d90"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d98c2e69aab905d1b19a69ffe584efa46a9efd42"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e85bc501947f5ae16dd9adc01162b76d55ab7962"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63931.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-63931"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.8.0",
  "summary": "iio: chemical: scd30: fix division by zero in write_raw"
}