7.8high
iio: accel: adxl380: Avoid reading more entries than present in FIFO
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: iio: accel: adxl380: Avoid reading more entries than present in FIFO The interrupt handler reads FIFO entries in batches of N samples, where N is the number of scan elements that have been enabled. However, the sensor fills the FIFO one sample at a time, even when more than one channel is enabled. Therefore,the number of entries reported by the FIFO status registers may not be a multiple of N; if this number is not a multiple, the number of entries read from the FIFO may exceed the number of entries actually present. To fix the above issue, round down the number of FIFO entries read from the status registers so that it is always a multiple of N.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from df36de13677a0ebd3ab31dd2c603f9eafdf8de7d before a40f316085985f916ba1599fc303fdbc6a078e86, from df36de13677a0ebd3ab31dd2c603f9eafdf8de7d before a8e88edfd69df7b63c882aa53e61e7c078806ad7, from df36de13677a0ebd3ab31dd2c603f9eafdf8de7d before f42ddb2945ae4ce2b6f1c2e7aae9f14455a734d3, from df36de13677a0ebd3ab31dd2c603f9eafdf8de7d before c1b14015224cfcccd5356333763f2f4f401bd810, 6.12 Not affected: before 6.12, from 6.12.75 up to 6.12.*, from 6.18.16 up to 6.18.*, from 6.19.6 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.12 before 6.12.75, from 6.13 before 6.18.16, from 6.19 before 6.19.6 | NVD |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: iio: accel: adxl380: Avoid reading more entries than present in FIFO The interrupt handler reads FIFO entries in batches of N samples, where N is the number of scan elements that have been enabled. However, the sensor fills the FIFO one sample at a time, even when more than one channel is enabled. Therefore,the number of entries reported by the FIFO status registers may not be a multiple of N; if this number is not a multiple, the number of entries read from the FIFO may exceed the number of entries actually present. To fix the above issue, round down the number of FIFO entries read from the status registers so that it is always a multiple of N.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: iio: accel: adxl380: Evitar leer más entradas de las presentes en la FIFO El gestor de interrupciones lee entradas de la FIFO en lotes de N muestras, donde N es el número de elementos de escaneo que han sido habilitados. Sin embargo, el sensor llena la FIFO una muestra a la vez, incluso cuando hay más de un canal habilitado. Por lo tanto, el número de entradas reportado por los registros de estado de la FIFO puede no ser un múltiplo de N; si este número no es un múltiplo, el número de entradas leídas de la FIFO puede exceder el número de entradas realmente presentes. Para solucionar el problema anterior, redondear a la baja el número de entradas de la FIFO leídas de los registros de estado para que sea siempre un múltiplo de N.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43307 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2026-43307 changed 2026-11-11 | Public domain |