{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138964",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.906Z",
        "datePublished": "2026-11-30T13:26:36.785Z",
        "dateUpdated": "2026-11-30T13:26:36.785Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:26:36.785Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: dac: mcp4821: reject devices without match data\n\nA device bound through driver_override need not match an entry in the\ndriver tables. In that case spi_get_device_match_data() returns NULL,\nbut mcp4821_probe() dereferences the result while configuring the IIO\ndevice.\n\nReject devices without match data before using the chip information."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/iio/dac/mcp4821.c"
                    ],
                    "versions": [
                        {
                            "version": "cdf3ecb0d8d0a83c940a8892b3e8aeaf35dc4353",
                            "lessThan": "a26a5c665b12d66534280b80f85aea3e27f7e196",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cdf3ecb0d8d0a83c940a8892b3e8aeaf35dc4353",
                            "lessThan": "107c50c4f2a0eb3253cabd8793554f39a4b42550",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cdf3ecb0d8d0a83c940a8892b3e8aeaf35dc4353",
                            "lessThan": "d694eabcc913d37ea370242e1de0ee0b226ba10f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cdf3ecb0d8d0a83c940a8892b3e8aeaf35dc4353",
                            "lessThan": "6ac1faf4de61dcf27ffe8f2c25d96fe5f4b2886d",
                            "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/dac/mcp4821.c"
                    ],
                    "versions": [
                        {
                            "version": "6.8",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.8",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.118",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.64",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "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": "6.8",
                                    "versionEndExcluding": "6.12.118"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.8",
                                    "versionEndExcluding": "6.18.64"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.8",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.8",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/a26a5c665b12d66534280b80f85aea3e27f7e196"
                },
                {
                    "url": "https://git.kernel.org/stable/c/107c50c4f2a0eb3253cabd8793554f39a4b42550"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d694eabcc913d37ea370242e1de0ee0b226ba10f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6ac1faf4de61dcf27ffe8f2c25d96fe5f4b2886d"
                }
            ],
            "title": "iio: dac: mcp4821: reject devices without match data",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}