{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-63931",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-63931"
  ],
  "published": "2026-07-19T14:56:29Z",
  "summary": "iio: chemical: scd30: fix division by zero in write_raw",
  "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.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.176",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-63931"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4748bce423a363bb8a85a624faeb8f54fe331611"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6308b812acdcac38cbfe1af0b1524c3375f408a5"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c7a740bf75554b051fabb17596ca6e483d6e6d90"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/e85bc501947f5ae16dd9adc01162b76d55ab7962"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d98c2e69aab905d1b19a69ffe584efa46a9efd42"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5e4d34092a5ebfbc3a45a180c76ecb1cdbbedd53"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2c50c017df97bfb425038efdfb8514c7bcd08564"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5aba4f94b225617a55fed442a70329b2ee19c0a5"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-07-19T14:56:29Z"
  }
}
