5.5medium
iio: adc: ad7124: Fix potential overflow due to non sequential channel numbers
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.22% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: iio: adc: ad7124: Fix potential overflow due to non sequential channel numbers Channel numbering must start at 0 and then not have any holes, or it is possible to overflow the available storage. Note this bug was introduced as part of a fix to ensure we didn't rely on the ordering of child nodes. So we need to support arbitrary ordering but they all need to be there somewhere. Note I hit this when using qemu to test the rest of this series. Arguably this isn't the best fix, but it is probably the most minimal option for backporting etc. Alexandru's sign-off is here because he carried this patch in a larger set that Jonathan then applied.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 5408cbc6337300d6f1a87c797273c535ed96305a before f49149964d2423fb618fb6b755bb1eaa431cca2c, from d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4 before f70122825076117787b91e7f219e21c09f11a5b9, from d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4 before 26da8040eccc6c6b0e415e9a3baf72fd39eb2fdc, from d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4 before f2a772c51206b0c3f262e4f6a3812c89a650191b, from 5.4.14 before 5.4.124, 5.5 Not affected: before 5.5, from 5.4.124 up to 5.4.*, from 5.10.42 up to 5.10.*, from 5.12.9 up to 5.12.*, from 5.13 up to * | CVE List |
| linux linux_kernel | from 5.4.14 before 5.4.124, from 5.5 before 5.10.42, from 5.11 before 5.12.9, 5.13 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: iio: adc: ad7124: Fix potential overflow due to non sequential channel numbers Channel numbering must start at 0 and then not have any holes, or it is possible to overflow the available storage. Note this bug was introduced as part of a fix to ensure we didn't rely on the ordering of child nodes. So we need to support arbitrary ordering but they all need to be there somewhere. Note I hit this when using qemu to test the rest of this series. Arguably this isn't the best fix, but it is probably the most minimal option for backporting etc. Alexandru's sign-off is here because he carried this patch in a larger set that Jonathan then applied.
NVD (es)
En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: iio: adc: ad7124: Se corrige posible desbordamiento por números de canales no secuenciales. La numeración de canales debe comenzar en 0 y luego no tener huecos, o es posible que se desborde el almacenamiento disponible. Tenga en cuenta que este error se introdujo como parte de una solución para garantizar que no dependiéramos del orden de los nodos secundarios. Por lo tanto, debemos apoyar el ordenamiento arbitrario, pero todos deben estar ahí en alguna parte. Tenga en cuenta que presioné esto cuando uso qemu para probar el resto de esta serie. Podría decirse que esta no es la mejor solución, pero probablemente sea la opción más mínima para realizar backporting, etc. La aprobación de Alexandru está aquí porque llevó este parche en un conjunto más grande que luego aplicó Jonathan.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47172 changed 2026-05-23 | CVE Terms of Use |
| NVD | CVE-2021-47172 changed 2026-06-17 | Public domain |