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… (CVE-2026-63931)
A division by zero vulnerability was identified and fixed in the Linux kernel's iio chemical scd30 driver. The issue occurred when a user wrote a zero fractional part to the sampling_frequency sysfs attribute, causing a division by zero error in the kernel. This could lead to kernel instability or crashes. The vulnerability has been resolved by adding a zero check before using the divisor.
AI Analysis
Technical Summary
The Linux kernel's iio chemical scd30 driver contained a vulnerability where writing a zero fractional part to the sampling_frequency sysfs attribute triggered a division by zero in the kernel's write_raw function. This was due to the lack of validation on the divisor value (val2). The issue has been fixed by adding a check to ensure val2 is not zero before performing the division, preventing kernel crashes caused by this input.
Potential Impact
Exploitation of this vulnerability could cause a kernel crash or instability due to division by zero. There is no indication of privilege escalation or code execution from the provided data. No known exploits are reported in the wild.
Mitigation Recommendations
A fix has been applied to the Linux kernel to add a zero check before division in the affected driver. Users should update their Linux kernel to a version that includes this fix. Patch status is not explicitly confirmed in the provided data; therefore, users should consult the official Linux kernel advisories or repositories for the fixed version and apply the update accordingly.
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… (CVE-2026-63931)
Description
A division by zero vulnerability was identified and fixed in the Linux kernel's iio chemical scd30 driver. The issue occurred when a user wrote a zero fractional part to the sampling_frequency sysfs attribute, causing a division by zero error in the kernel. This could lead to kernel instability or crashes. The vulnerability has been resolved by adding a zero check before using the divisor.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's iio chemical scd30 driver contained a vulnerability where writing a zero fractional part to the sampling_frequency sysfs attribute triggered a division by zero in the kernel's write_raw function. This was due to the lack of validation on the divisor value (val2). The issue has been fixed by adding a check to ensure val2 is not zero before performing the division, preventing kernel crashes caused by this input.
Potential Impact
Exploitation of this vulnerability could cause a kernel crash or instability due to division by zero. There is no indication of privilege escalation or code execution from the provided data. No known exploits are reported in the wild.
Mitigation Recommendations
A fix has been applied to the Linux kernel to add a zero check before division in the affected driver. Users should update their Linux kernel to a version that includes this fix. Patch status is not explicitly confirmed in the provided data; therefore, users should consult the official Linux kernel advisories or repositories for the fixed version and apply the update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-63gc-r7wc-mrxq
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-63931"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27ab2a4a8d598912f26f
Added to database: 07/19/2026, 19:38:19 UTC
Last enriched: 07/19/2026, 20:08:02 UTC
Last updated: 07/20/2026, 17:58:03 UTC
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.