Bug 2502385 (CVE-2026-63931) - CVE-2026-63931 kernel: iio: chemical: scd30: fix division by zero in write_raw
Summary: CVE-2026-63931 kernel: iio: chemical: scd30: fix division by zero in write_raw
Keywords:
Status: NEW
Alias: CVE-2026-63931
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-19 16:05 UTC by OSIDB Bzimport
Modified: 2026-07-21 21:42 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-19 16:05:14 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.