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.
Published: 2026-07-19
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A missing zero check in the scd30 driver’s write_raw function causes a division by zero when a user writes a zero fractional part to the sampling_frequency sysfs attribute. This flaw, identified as CWE-369 (division by zero), can compromise system availability by potentially triggering a kernel panic.

Affected Systems

Linux kernel builds that include the scd30 driver and expose the sampling_frequency sysfs attribute are affected. Any system running an unpatched driver could be impacted.

Risk and Exploitability

The EPSS score is below 1 % and the vulnerability is not listed in the CISA KEV catalog. The flaw is likely to be exploited locally by a user with write access to the sampling_frequency attribute, representing a local, permission‑restricted attack vector. Although the exploitation probability is low, the impact of a kernel crash is severe, making the overall risk noteworthy for environments where the sensor is continually accessed.

Generated by OpenCVE AI on August 4, 2026 at 06:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the patch adding the zero check for val2
  • If an immediate kernel update is not possible, restrict write access to the sampling_frequency sysfs entry so that only privileged users can modify it
  • Monitor system logs for abnormal kernel panics or crashes that might indicate exploitation attempts

Generated by OpenCVE AI on August 4, 2026 at 06:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Wed, 22 Jul 2026 00:15:00 +0000


Tue, 21 Jul 2026 23:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-369

Sun, 19 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title iio: chemical: scd30: fix division by zero in write_raw
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-19T14:55:30.718Z

Reserved: 2026-07-19T07:54:57.021Z

Link: CVE-2026-63931

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity :

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63931 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T06:45:03Z

Weaknesses