CVE-2026-138950
Not scored
iio: accel: adxl372: reject devices without match data
- Severity
- Not scored
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: iio: accel: adxl372: reject devices without match data SPI driver_override allows a device to bind to this driver without matching either the OF or SPI device ID table. In that case, spi_get_device_match_data() returns NULL. adxl372_spi_probe() passes the result to adxl372_probe(), which dereferences chip_info to set the IIO device name and capabilities, causing a NULL pointer dereference. Commit 572a00852635 ("iio: dac: ad5686: missing NULL check on match data") fixed the same driver_override issue in another SPI driver. Reject devices without match data in the SPI frontend.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 23d742859a2dd20b1e96ab0828fa26227c47f328 before 003b5a5bf03127f104ec643eb35fd8604bf3bd6a, from 23d742859a2dd20b1e96ab0828fa26227c47f328 before c72144098fa9205e9b1d08545e7d9b54a2e0aaf3, 7.1 Not affected: before 7.1, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-138950 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-138950 changed 2026-11-30 | Public domain |