CVE-2026-63931Published Jul 19, 2026 · Jul 19Updated Nov 1
iio: chemical: scd30: fix division by zero in write_raw
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 · < 5e4d34092a5ebfbc3a45a180c76ecb1cdbbedd53| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
iio: chemical: scd30: fix division by zero in write_raw
Add a zero check for val2 before using it as a divisor when setting the sampling frequency. A user writing a zero fractional part to the sampling_frequency sysfs attribute triggers a division by zero in the kernel.
From the CVE record · Linux
The Linux kernel’s scd30 driver divides by zero when setting the sampling frequency if the fractional value is zero. A local user who can write to the sampling_frequency sysfs attribute can trigger the fault by writing a zero fractional part.
Operators running the Linux kernel with the scd30 driver should check their systems; affected versions were not specified.