What’s Vulnerable › Vulnerabilities

CVE-2026-63931: iio: chemical: scd30: fix division by zero in write_raw

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.259, 5.15.210, 6.1.176, 6.6.143; Linux kernel 7.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-63931 or the next vulnerability affects your stack