What’s Vulnerable › Vulnerabilities
CVE-2026-63931: iio: chemical: scd30: fix division by zero in write_raw
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-19 · updated 2026-10-30
- Weakness: CWE-369
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
- Linux kernel: from 5.9 before 5.10.259; from 5.11 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.93; from 6.13 before 6.18.35 — fixed in 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.93, 6.18.35
- Linux kernel: 5.9 — fixed in 7.1
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
- https://git.kernel.org/stable/c/2c50c017df97bfb425038efdfb8514c7bcd08564
- https://git.kernel.org/stable/c/4748bce423a363bb8a85a624faeb8f54fe331611
- https://git.kernel.org/stable/c/5aba4f94b225617a55fed442a70329b2ee19c0a5
- https://git.kernel.org/stable/c/5e4d34092a5ebfbc3a45a180c76ecb1cdbbedd53
- https://git.kernel.org/stable/c/6308b812acdcac38cbfe1af0b1524c3375f408a5
- https://git.kernel.org/stable/c/c7a740bf75554b051fabb17596ca6e483d6e6d90
- https://git.kernel.org/stable/c/d98c2e69aab905d1b19a69ffe584efa46a9efd42
- https://git.kernel.org/stable/c/e85bc501947f5ae16dd9adc01162b76d55ab7962
Get alerted when CVE-2026-63931 or the next vulnerability affects your stack