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: linux kernel
References8
- git.kernel.org/stable/c/2c50c017df97bfb425038efdfb8514c7bcd08564 Patch
- git.kernel.org/stable/c/4748bce423a363bb8a85a624faeb8f54fe331611 Patch
- git.kernel.org/stable/c/5aba4f94b225617a55fed442a70329b2ee19c0a5 Patch
- git.kernel.org/stable/c/5e4d34092a5ebfbc3a45a180c76ecb1cdbbedd53 Patch
- git.kernel.org/stable/c/6308b812acdcac38cbfe1af0b1524c3375f408a5 Patch
- git.kernel.org/stable/c/c7a740bf75554b051fabb17596ca6e483d6e6d90 Patch
- git.kernel.org/stable/c/d98c2e69aab905d1b19a69ffe584efa46a9efd42 Patch
- git.kernel.org/stable/c/e85bc501947f5ae16dd9adc01162b76d55ab7962 Patch
Metrics
- CVSS 3.1
-
5.5
MEDIUM
Score source: NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 0% percentile: 5 · as of 14 November 2026
- CWE
- CWE-369
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.