{"id":"CVE-2026-138948","summary":"iio: accel: sca3000: reject devices without match data","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: accel: sca3000: 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\nsca3000_probe() immediately dereferences the returned chip information\nto set the IIO device name and channel layout, 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 using the chip information.","modified":"2026-11-30T15:01:37.056863884Z","published":"2026-11-30T13:26:28.180Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138948.json"},"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/250a6a02dd7636ed84d7077cc13a184d9badf367"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bee629c18a9389cfbbe182df954cf49a9066b383"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138948.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138948"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d6ae9f202f616527f0d9a3a3fe980d36ec332707"},{"fixed":"250a6a02dd7636ed84d7077cc13a184d9badf367"},{"fixed":"bee629c18a9389cfbbe182df954cf49a9066b383"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138948.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.1.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138948.json"}}],"schema_version":"1.9.2"}