{"id":"CVE-2026-138964","summary":"iio: dac: mcp4821: reject devices without match data","details":"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.","modified":"2026-11-30T15:01:38.061946961Z","published":"2026-11-30T13:26:36.785Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138964.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/107c50c4f2a0eb3253cabd8793554f39a4b42550"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6ac1faf4de61dcf27ffe8f2c25d96fe5f4b2886d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a26a5c665b12d66534280b80f85aea3e27f7e196"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d694eabcc913d37ea370242e1de0ee0b226ba10f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138964.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138964"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"cdf3ecb0d8d0a83c940a8892b3e8aeaf35dc4353"},{"fixed":"a26a5c665b12d66534280b80f85aea3e27f7e196"},{"fixed":"107c50c4f2a0eb3253cabd8793554f39a4b42550"},{"fixed":"d694eabcc913d37ea370242e1de0ee0b226ba10f"},{"fixed":"6ac1faf4de61dcf27ffe8f2c25d96fe5f4b2886d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138964.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.8.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.64"}]},{"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-138964.json"}}],"schema_version":"1.9.2"}