Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: iio: gyro: adis16260: fix division by zero in write_raw Add a validation check for the sampling frequency value before using it as a divisor. A user writing zero to the sampling_frequency sysfs attribute triggers a division by zero in the kernel.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 089a41985c6c7e69c8fe043c0dd397da628254f5 before d2b83995759cfe5d06567bbcb600fe16d4048da3; affected 089a41985c6c7e69c8fe043c0dd397da628254f5 before 19eb8565c4500f9af17ec65eaf952365e2893351; affected 089a41985c6c7e69c8fe043c0dd397da628254f5 before 59f80b945f2ca645064074d8507785c26ea16d2d; affected 089a41985c6c7e69c8fe043c0dd397da628254f5 before 86298fb6829cab983910810959f85d4b4fd0f5c1; affected 089a41985c6c7e69c8fe043c0dd397da628254f5 before aa8a5e118e97d2cfd0da5ea4f8f0f488efdea4b0; affected 089a41985c6c7e69c8fe043c0dd397da628254f5 before aaf9d640e9ae1172d0a9c659ecb245a50a10850a; affected 089a41985c6c7e69c8fe043c0dd397da628254f5 before 5a42e39606b9bd6b40ed02bdfd04fe179d6173f4; affected 089a41985c6c7e69c8fe043c0dd397da628254f5 before 761e8b489e6cf166c574034b70637f8a7eadd0ee |
| Linux / Linux | affected 2.6.35; unaffected 0 before 2.6.35; unaffected 5.10.259 through 5.10.*; unaffected 5.15.210 through 5.15.*; unaffected 6.1.176 through 6.1.*; unaffected 6.6.143 through 6.6.*; unaffected 6.12.93 through 6.12.*; unaffected 6.18.35 through 6.18.*; unaffected 7.0.12 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/d2b83995759cfe5d06567bbcb600fe16d4048da3
- https://git.kernel.org/stable/c/19eb8565c4500f9af17ec65eaf952365e2893351
- https://git.kernel.org/stable/c/59f80b945f2ca645064074d8507785c26ea16d2d
- https://git.kernel.org/stable/c/86298fb6829cab983910810959f85d4b4fd0f5c1
- https://git.kernel.org/stable/c/aa8a5e118e97d2cfd0da5ea4f8f0f488efdea4b0
- https://git.kernel.org/stable/c/aaf9d640e9ae1172d0a9c659ecb245a50a10850a
- https://git.kernel.org/stable/c/5a42e39606b9bd6b40ed02bdfd04fe179d6173f4
- https://git.kernel.org/stable/c/761e8b489e6cf166c574034b70637f8a7eadd0ee