CVE-2026-63931
Received Received - Intake

Division by Zero in Linux Kernel IIO SCD30 Driver

Vulnerability report for CVE-2026-63931, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-19

Last updated on: 2026-07-19

Assigner: kernel.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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-19
Last Modified
2026-07-19
Generated
2026-07-20
AI Q&A
2026-07-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a division by zero issue in the Linux kernel's IIO (Industrial I/O) subsystem, specifically in the scd30 sensor driver. It occurs when a user writes a zero value to the sampling_frequency sysfs attribute, causing the kernel to attempt dividing by zero when processing the input.

Detection Guidance

This vulnerability can be detected by checking if the sampling_frequency sysfs attribute is set to zero. Commands to check include: cat /sys/bus/iio/devices/iio:device*/sampling_frequency. If zero is observed, the system may be vulnerable.

Impact Analysis

This vulnerability could cause a kernel crash or system instability if exploited. An attacker with local access could trigger a denial-of-service condition by writing a zero value to the sampling_frequency attribute, potentially leading to system hangs or reboots.

Compliance Impact

This vulnerability does not directly affect compliance with GDPR, HIPAA, or similar standards. It is a local kernel issue causing a division by zero in the IIO subsystem, which could lead to a denial of service but does not involve data exposure or privacy violations.

Mitigation Strategies

Apply the Linux kernel patch that resolves this issue. Ensure no user can write a zero value to the sampling_frequency sysfs attribute. Monitor sysfs writes to this attribute for unauthorized zero values.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-63931. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart