{"id":"CVE-2026-138949","summary":"iio: accel: adxl380: reject devices without match data","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: accel: adxl380: 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\nadxl380_spi_probe() passes the result to adxl380_probe(), which\ndereferences chip_info to set the IIO device name and operations,\ncausing 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 in the SPI frontend.","modified":"2026-12-01T21:02:35.452567073Z","published":"2026-11-30T13:26:28.701Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138949.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/9f6d174e9fa5b265e7a0a6caa0c5b579bf899702"},{"type":"WEB","url":"https://git.kernel.org/stable/c/de16c360141a8d2b7e1fd28e0902954ccfdb6d05"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e5f828765e23541a120450ed7ac757292029f444"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f5977b1359625cdc6dd9130243af2019ca630992"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138949.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138949"},{"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":"df36de13677a0ebd3ab31dd2c603f9eafdf8de7d"},{"fixed":"de16c360141a8d2b7e1fd28e0902954ccfdb6d05"},{"fixed":"f5977b1359625cdc6dd9130243af2019ca630992"},{"fixed":"e5f828765e23541a120450ed7ac757292029f444"},{"fixed":"9f6d174e9fa5b265e7a0a6caa0c5b579bf899702"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138949.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.12.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-138949.json"}}],"schema_version":"1.9.2"}