{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138951",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.905Z",
        "datePublished": "2026-11-30T13:26:29.765Z",
        "dateUpdated": "2026-11-30T13:26:29.765Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:26:29.765Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: accel: adxl313: reject devices without match data\n\nSPI driver_override allows a device to bind to this driver without\nmatching either the OF or SPI device ID table. In that case,\nspi_get_device_match_data() returns NULL.\n\nadxl313_spi_probe() dereferences chip_data to select the regmap\nconfiguration, causing a NULL pointer dereference.\n\nCommit 572a00852635 (\"iio: dac: ad5686: missing NULL check on match\ndata\") fixed the same driver_override issue in another SPI driver.\nReject devices without match data before selecting the configuration."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/iio/accel/adxl313_spi.c"
                    ],
                    "versions": [
                        {
                            "version": "d6e3ee74d16f2faef0cbe0251071076e0654e68a",
                            "lessThan": "880a85d01493cc5c4fa24c8a3a8a6bfa91e30f72",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d6e3ee74d16f2faef0cbe0251071076e0654e68a",
                            "lessThan": "5381f1c9be61b7da2844ba118978959e5fd1694b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d6e3ee74d16f2faef0cbe0251071076e0654e68a",
                            "lessThan": "30dc79cebd92896dd9f0ea8525811d27e7a8b6e6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d6e3ee74d16f2faef0cbe0251071076e0654e68a",
                            "lessThan": "defd4c0b29f1cd17caa5feebac33fc5fdf4e1916",
                            "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/accel/adxl313_spi.c"
                    ],
                    "versions": [
                        {
                            "version": "6.11",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.11",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.117",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.63",
                            "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.11",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.11",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.11",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.11",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/880a85d01493cc5c4fa24c8a3a8a6bfa91e30f72"
                },
                {
                    "url": "https://git.kernel.org/stable/c/5381f1c9be61b7da2844ba118978959e5fd1694b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/30dc79cebd92896dd9f0ea8525811d27e7a8b6e6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/defd4c0b29f1cd17caa5feebac33fc5fdf4e1916"
                }
            ],
            "title": "iio: accel: adxl313: reject devices without match data",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}