{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-63931",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-07-19T07:54:57.021Z",
        "datePublished": "2026-07-19T14:55:30.718Z",
        "dateUpdated": "2026-07-19T14:55:30.718Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-07-19T14:55:30.718Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/iio/chemical/scd30_core.c"
                    ],
                    "versions": [
                        {
                            "version": "64b3d8b1b0f5c16c19045785e4da8391ae35ec99",
                            "lessThan": "4748bce423a363bb8a85a624faeb8f54fe331611",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "64b3d8b1b0f5c16c19045785e4da8391ae35ec99",
                            "lessThan": "6308b812acdcac38cbfe1af0b1524c3375f408a5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "64b3d8b1b0f5c16c19045785e4da8391ae35ec99",
                            "lessThan": "c7a740bf75554b051fabb17596ca6e483d6e6d90",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "64b3d8b1b0f5c16c19045785e4da8391ae35ec99",
                            "lessThan": "e85bc501947f5ae16dd9adc01162b76d55ab7962",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "64b3d8b1b0f5c16c19045785e4da8391ae35ec99",
                            "lessThan": "d98c2e69aab905d1b19a69ffe584efa46a9efd42",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "64b3d8b1b0f5c16c19045785e4da8391ae35ec99",
                            "lessThan": "5e4d34092a5ebfbc3a45a180c76ecb1cdbbedd53",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "64b3d8b1b0f5c16c19045785e4da8391ae35ec99",
                            "lessThan": "2c50c017df97bfb425038efdfb8514c7bcd08564",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "64b3d8b1b0f5c16c19045785e4da8391ae35ec99",
                            "lessThan": "5aba4f94b225617a55fed442a70329b2ee19c0a5",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/iio/chemical/scd30_core.c"
                    ],
                    "versions": [
                        {
                            "version": "5.9",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.9",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.259",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.210",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.176",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.143",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.93",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.35",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0.12",
                            "lessThanOrEqual": "7.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.9",
                                    "versionEndExcluding": "5.10.259"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.9",
                                    "versionEndExcluding": "5.15.210"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.9",
                                    "versionEndExcluding": "6.1.176"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.9",
                                    "versionEndExcluding": "6.6.143"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.9",
                                    "versionEndExcluding": "6.12.93"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.9",
                                    "versionEndExcluding": "6.18.35"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.9",
                                    "versionEndExcluding": "7.0.12"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.9",
                                    "versionEndExcluding": "7.1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/4748bce423a363bb8a85a624faeb8f54fe331611"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6308b812acdcac38cbfe1af0b1524c3375f408a5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c7a740bf75554b051fabb17596ca6e483d6e6d90"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e85bc501947f5ae16dd9adc01162b76d55ab7962"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d98c2e69aab905d1b19a69ffe584efa46a9efd42"
                },
                {
                    "url": "https://git.kernel.org/stable/c/5e4d34092a5ebfbc3a45a180c76ecb1cdbbedd53"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2c50c017df97bfb425038efdfb8514c7bcd08564"
                },
                {
                    "url": "https://git.kernel.org/stable/c/5aba4f94b225617a55fed442a70329b2ee19c0a5"
                }
            ],
            "title": "iio: chemical: scd30: fix division by zero in write_raw",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}