CVE-2026-63931

iio: chemical: scd30: fix division by zero in write_raw

State
Published
Severity
Not scored
Published
Jul 19, 2026
Updated
Jul 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to before 4748bce423a363bb8a85a624faeb8f54fe331611Affected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to before 6308b812acdcac38cbfe1af0b1524c3375f408a5Affected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to before c7a740bf75554b051fabb17596ca6e483d6e6d90Affected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to before e85bc501947f5ae16dd9adc01162b76d55ab7962Affected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to before d98c2e69aab905d1b19a69ffe584efa46a9efd42Affected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to before 5e4d34092a5ebfbc3a45a180c76ecb1cdbbedd53Affected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to before 2c50c017df97bfb425038efdfb8514c7bcd08564Affected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to before 5aba4f94b225617a55fed442a70329b2ee19c0a5Affected
LinuxLinux
  • 5.9Affected
  • before 5.9Not affected
  • 5.10.259 through 5.10.*Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.176 through 6.1.*Not affected
  • 6.6.143 through 6.6.*Not affected
  • 6.12.93 through 6.12.*Not affected
  • 6.18.35 through 6.18.*Not affected
  • 7.0.12 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.