iio: gyro: adis16260: fix division by zero in write_raw
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 089a41985c6c7e69c8fe043c0dd397da628254f5 · < aaf9d640e9ae1172d0a9c659ecb245a50a10850a| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's adis16260 gyro driver does not validate the sampling frequency before using it as a divisor. A user who can write zero to the sampling_frequency sysfs attribute can trigger a division by zero in the kernel; the input does not specify authentication requirements.
Engineers running Linux kernels with the adis16260 gyro driver should check their versions; affected versions are not specified.