{"id":"CVE-2026-138956","summary":"iio: adc: mcp3911: reject devices without match data","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: mcp3911: 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\nmcp3911_probe() stores the result and later calls through chip-\u003econfig\nand accesses other chip-specific fields, causing a NULL pointer\ndereference.\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 continuing the probe.","modified":"2026-12-01T21:02:35.446872726Z","published":"2026-11-30T13:26:32.474Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138956.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/365cf2ef7a0b6b9698d1d23274c3107df96e887e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d3410a48d5eb9dd8238099cb0ee368d12005a385"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e5290017ad1c046554705c0b22dec97796dad02e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f3a10618b0b3795f8a056b7fd2fad35d85e99d5a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138956.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138956"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"732ad34260d367661e2f20a5c5a4d54dbc856ac4"},{"fixed":"365cf2ef7a0b6b9698d1d23274c3107df96e887e"},{"fixed":"e5290017ad1c046554705c0b22dec97796dad02e"},{"fixed":"f3a10618b0b3795f8a056b7fd2fad35d85e99d5a"},{"fixed":"d3410a48d5eb9dd8238099cb0ee368d12005a385"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138956.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138956.json"}}],"schema_version":"1.9.2"}