{"id":"CVE-2026-138950","summary":"iio: accel: adxl372: reject devices without match data","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: accel: adxl372: 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\nadxl372_spi_probe() passes the result to adxl372_probe(), which\ndereferences chip_info to set the IIO device name and capabilities,\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.576297516Z","published":"2026-11-30T13:26:29.231Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138950.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/003b5a5bf03127f104ec643eb35fd8604bf3bd6a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c72144098fa9205e9b1d08545e7d9b54a2e0aaf3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138950.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138950"},{"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":"23d742859a2dd20b1e96ab0828fa26227c47f328"},{"fixed":"003b5a5bf03127f104ec643eb35fd8604bf3bd6a"},{"fixed":"c72144098fa9205e9b1d08545e7d9b54a2e0aaf3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138950.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-138950.json"}}],"schema_version":"1.9.2"}