Junglewise Threat Intelligence

CVE-2026-63931: Linux Kernel division by zero in SCD30 chemical sensor driver

CVE-2026-63931 · Severity: info · CVSS 0 · Published 2026-07-19

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's SCD30 chemical sensor driver. A local user could cause a system crash (denial of service) by providing a specific invalid value to the sensor's sampling frequency setting. This affects systems using this specific hardware sensor and could disrupt operations or lead to a system reboot.

Technical details

A division by zero vulnerability exists in the 'scd30_write_raw' function within 'drivers/iio/chemical/scd30_core.c' of the Linux kernel. The issue occurs when a user writes a zero fractional part to the 'sampling_frequency' sysfs attribute, which is then used as a divisor without proper validation. An attacker with local access to the sysfs interface can trigger this condition to cause a kernel oops or system hang. The fix introduces a check for the 'val2' parameter to ensure it is non-zero before performing the division. Patching is available in various stable kernel branches including 5.10.y, 5.15.y, 6.1.y, and 6.6.y.

Affected products

  • Linux Linux Kernel 5.9 to 5.10.259, 5.15.210, 6.1.176, 6.6.143

Timeline

  • 2026-07-19: disclosed
  • 2026-07-19: advisory

References

Related threats