{"id":"CVE-2026-138956","aliases":["CVE-2026-138956"],"related":[],"kind":"vulnerability","state":"published","title":"iio: adc: mcp3911: reject devices without match data","summary":"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->config\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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->config\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.","source":"cvelist"}],"published":"2026-11-30T13:26:32.474Z","modified":"2026-11-30T14:17:56.987Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"732ad34260d367661e2f20a5c5a4d54dbc856ac4","fixed":"365cf2ef7a0b6b9698d1d23274c3107df96e887e","status":"affected"},{"type":"git","introduced":"732ad34260d367661e2f20a5c5a4d54dbc856ac4","fixed":"e5290017ad1c046554705c0b22dec97796dad02e","status":"affected"},{"type":"git","introduced":"732ad34260d367661e2f20a5c5a4d54dbc856ac4","fixed":"f3a10618b0b3795f8a056b7fd2fad35d85e99d5a","status":"affected"},{"type":"git","introduced":"732ad34260d367661e2f20a5c5a4d54dbc856ac4","fixed":"d3410a48d5eb9dd8238099cb0ee368d12005a385","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/365cf2ef7a0b6b9698d1d23274c3107df96e887e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e5290017ad1c046554705c0b22dec97796dad02e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f3a10618b0b3795f8a056b7fd2fad35d85e99d5a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d3410a48d5eb9dd8238099cb0ee368d12005a385","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138956","url":"https://www.cve.org/CVERecord?id=CVE-2026-138956","licence":"CVE Terms of Use","modified":"2026-11-30T13:26:32.474Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138956","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138956","licence":"Public domain","modified":"2026-11-30T14:17:56.987Z"}],"updatedAt":"2026-11-30T14:32:31.350Z","epss":{"score":0.00201,"percentile":0.10472,"date":"2026-12-01T12:00:22.000Z"}}