Skip to main content

Linux Kernel CVE-2026-31770

| EUVDEUVD-2026-26583 MEDIUM
Divide By Zero (CWE-369)
2026-05-01 Linux
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Local user access
  2. Delivery
    Read sysfs power attribute
  3. Exploit
    Trigger occ_show_power_1()
  4. Execution
    Divide by zero in accumulator/update_tag
  5. Persist
    Kernel panic
  6. Impact
    Denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Division safety checks
Exploitation Conditions

System must be running Linux kernel with hwmon OCC driver compiled in or loaded as module AND the affected occ_show_power_1() code path must be reached before initial OCC sensor samples are collected (early boot window) AND the sysfs power1_input file must be readable by the unprivileged attacker user. Most critically, this affects IBM POWER-based systems only; x86/ARM systems without OCC hardware/driver are immune. The condition is non-default in the sense that it requires specific hardware and kernel configuration, but no unusual settings are needed once those prerequisites are met.

Impact

CVSS 5.5 with local attack vector (AV:L), low complexity (AC:L), and unprivileged privilege level (PR:L) indicates a local denial-of-service condition affecting unprivileged users on systems running affected kernels with the hwmon OCC driver loaded. The EPSS score of 0.02% (7th percentile) is notably low despite the straightforward exploit, likely because: (1) the hwmon OCC driver is specific to IBM POWER-based systems and not universally present; (2) exploitation requires local user access; and (3) the condition must occur during a narrow window before OCC sensor data is populated. The divide-by-zero itself is trivial to trigger once conditions are met, but scope (S:U) is unchanged - only availability is impacted. No KEV status provided; this appears not to be actively exploited in the wild at time of analysis. Real-world risk is low for most deployments but critical for POWER-based systems where unprivileged users can access sysfs power attributes. The missing complexity is: does the target system expose the affected sysfs file to unprivileged users, or is it root-restricted? Vendor patches are available for multiple kernel series, lowering ongoing risk.

Exploit ScenarioDerived

On an IBM POWER-based system running an affected Linux kernel with hwmon OCC driver loaded, an unprivileged local user reads the power sysfs file (e.g., cat /sys/class/hwmon/hwmon0/power1_input) during early boot before the OCC sensor block has collected samples. The occ_show_power_1() function attempts to divide by update_tag, which is zero, triggering a kernel divide-by-zero exception and panic. The system becomes unavailable until reboot.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 11, 2026

Denial of service via divide-by-zero crash in the hwmon OCC (On-Chip Controller) power monitoring driver affects Linux kernels when the power sensor is queried before initial data samples are collected, typically during early boot. Local attackers with unprivileged user privileges can trigger a kernel panic by accessing the affected sysfs power attribute, causing system availability impact. CVSS 5.5 reflects local attack vector and low complexity; EPSS 0.02% indicates low real-world exploitation probability despite the straightforward trigger condition.

RemediationAI

Upgrade the Linux kernel to a patched stable version: 5.10.253 or later for the 5.10 series, 5.15.203 or later for 5.15, 6.1.168 or later for 6.1, 6.6.134 or later for 6.6, 6.12.81 or later for 6.12, 6.18.22 or later for 6.18, 6.19.12 or later for 6.19, or 7.0 or later for mainline. For systems unable to upgrade immediately, restrict unprivileged user access to sysfs power attributes by removing read permissions on /sys/class/hwmon/hwmon*/power*_input or using SELinux/AppArmor policies to deny non-root access to hwmon OCC sysfs nodes - this trades off power monitoring visibility for availability. Verify that your system uses the hwmon OCC driver (check lsmod | grep occ or dmesg | grep -i occ) before applying mitigations; non-POWER systems are unaffected. Patch availability confirmed across multiple stable kernel branches via git.kernel.org stable commits.

Affected VersionsENISA

Linux patch: 6.18.22
Linux 5.0
Linux c10e753d43ebd1d17e1c62bcee20c6124c2c7cca <c7d3712362c8ab8f82f441b649d9e446e7b9aa9d
Linux c10e753d43ebd1d17e1c62bcee20c6124c2c7cca <39e2a5bf970402a8530a319cf06122e216ba57b8
Linux patch: 6.6.134
Linux c10e753d43ebd1d17e1c62bcee20c6124c2c7cca <243d55bd3f08cb15eee9d63f4716d4d4cdd760f5
Linux c10e753d43ebd1d17e1c62bcee20c6124c2c7cca <2502684b9e835de9a992ec47c3e6c6faabe3858d
Linux patch: 5.10.253
Linux c10e753d43ebd1d17e1c62bcee20c6124c2c7cca <53e6175756b8c474b6247bbcea0aad3d68357475
Linux patch: 0
Linux c10e753d43ebd1d17e1c62bcee20c6124c2c7cca <bbbefc48f6617cfb738dcff7f44beb50b5dfeb38
Linux patch: 6.12.81
Linux c10e753d43ebd1d17e1c62bcee20c6124c2c7cca <7b89ce0c98bf3015f493ca4285b2d1056cd8c733
Linux patch: 5.15.203
Linux patch: 6.1.168
Linux patch: 7.0
Linux c10e753d43ebd1d17e1c62bcee20c6124c2c7cca <37ae8fadc74ed68e5bc364ffd17746d88e449ae3
Linux patch: 6.19.12

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The hwmon OCC driver monitors power consumption on IBM POWER systems via the OpenPOWER On-Chip Controller. The vulnerable code path in occ_show_power_1() performs integer division on an accumulator value using update_tag as the divisor without validating that update_tag is non-zero. The update_tag field tracks the number of sensor samples collected; if zero (before the OCC sensor block has been updated), division by zero occurs. A 2019 fix addressed the same issue in occ_get_powr_avg() but missed this separate code path. The root cause is CWE-369 (divide by zero) - a missing validation check before arithmetic operation. The fix refactors the code to reuse the already-patched helper function which both validates the divisor and uses mul_u64_u32_div() for improved precision by multiplying before dividing.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

5
CVSS changed
May 11, 2026 - 18:07 NVD
5.5 (MEDIUM)
Patch available
May 01, 2026 - 16:33 EUVD
Patch released
May 01, 2026 - 15:24 nvd
Patch available
CVE Published
May 01, 2026 - 14:14 nvd
MEDIUM 5.5
CVE Published
May 01, 2026 - 14:14 nvd
N/A

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

hwmon: (occ) Fix division by zero in occ_show_power_1()

In occ_show_power_1() case 1, the accumulator is divided by update_tag without checking for zero. If no samples have been collected yet (e.g. during early boot when the sensor block is included but hasn't been updated), update_tag is zero, causing a kernel divide-by-zero crash.

The 2019 fix in commit 211186cae14d ("hwmon: (occ) Fix division by zero issue") only addressed occ_get_powr_avg() used by occ_show_power_2() and occ_show_power_a0(). This separate code path in occ_show_power_1() was missed.

Fix this by reusing the existing occ_get_powr_avg() helper, which already handles the zero-sample case and uses mul_u64_u32_div() to multiply before dividing for better precision. Move the helper above occ_show_power_1() so it is visible at the call site.

[groeck: Fix alignment problems reported by checkpatch]

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy