Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to < 4748bce423a363bb8a85a624faeb8f54fe331611affected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to < 6308b812acdcac38cbfe1af0b1524c3375f408a5affected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to < c7a740bf75554b051fabb17596ca6e483d6e6d90affected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to < e85bc501947f5ae16dd9adc01162b76d55ab7962affected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to < d98c2e69aab905d1b19a69ffe584efa46a9efd42affected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to < 5e4d34092a5ebfbc3a45a180c76ecb1cdbbedd53affected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to < 2c50c017df97bfb425038efdfb8514c7bcd08564affected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to < 5aba4f94b225617a55fed442a70329b2ee19c0a5affected

Linux Linux

Default version status: affected

  • 5.9affected
  • 0 to < 5.9unaffected
  • 5.10.259 to ≤ 5.10.*unaffected
  • 5.15.210 to ≤ 5.15.*unaffected
  • 6.1.176 to ≤ 6.1.*unaffected
  • 6.6.143 to ≤ 6.6.*unaffected
  • 6.12.93 to ≤ 6.12.*unaffected
  • 6.18.35 to ≤ 6.18.*unaffected
  • 7.0.12 to ≤ 7.0.*unaffected
  • 7.1 to ≤ *unaffected

References