Linux Kernel Division by Zero Vulnerability in SCD30 Chemical Sensor Driver

Vulnerability

A division by zero vulnerability has been identified in the Linux kernel's SCD30 chemical sensor driver, specifically in the 'write_raw' function. This issue arises when a user writes a zero fractional part to the 'sampling_frequency' sysfs attribute, leading to a kernel crash. The vulnerability affects several versions of the Linux kernel.

Impact

Exploitation of this vulnerability causes a kernel crash due to a division by zero error, which can disrupt system operations and potentially lead to a denial of service.

Reproduction

To reproduce this vulnerability, write a zero fractional value to the 'sampling_frequency' sysfs attribute of the SCD30 chemical sensor driver. This action will trigger a division by zero error in the kernel, causing a crash.

Remediation

Users can update to the latest version of the Linux kernel, where this vulnerability has been fixed, to address this issue.

Added: Jul 19, 2026, 7:53 PM
Updated: Jul 19, 2026, 7:53 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.9
remediation
7.7
relevance
9.7
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.