Skip to main content

Linux Kernel EUVDEUVD-2026-21947

| CVE-2026-31423 MEDIUM
Divide By Zero (CWE-369)
2026-04-13 Linux GHSA-mgjx-cg3q-7vjw
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain local access with CAP_NET_ADMIN
  2. Delivery
    Create HFSC qdisc with crafted slope values
  3. Exploit
    Enqueue packet entering rtsc_min() concave path
  4. Execution
    u32 truncation of 2^32 difference yields zero divisor
  5. Persist
    Kernel divide-by-zero Oops triggered
  6. Impact
    System 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

Exploitation requires local system access and the CAP_NET_ADMIN capability to create or modify HFSC qdiscs via the tc interface. The attacker must configure an HFSC qdisc with a slope value (m1 parameter approaching 4,000,000,000) that drives m2sm() to produce a u64 output near 2^32, then enqueue a packet to trigger the rtsc_min() concave-curve intersection code path. In Linux environments where unprivileged_userns_clone is enabled, a non-root user can create a user network namespace and obtain CAP_NET_ADMIN within that namespace, making the vulnerability reachable without system-level root. Limiting factors: requires local interactive or programmatic access to the host or a sufficiently privileged container; the arithmetic condition is specific to particular slope parameter values; and the impact is strictly availability (kernel oops/crash) with no confirmed confidentiality or integrity consequence.

Impact

The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, score 5.5) reflects local exploitation with low attack complexity and low privileges required, producing exclusively an availability impact - no confidentiality or integrity risk. EPSS at 0.02% (7th percentile) signals very low probability of observed exploitation within 30 days, consistent with the local access barrier and the specificity of the triggering arithmetic condition. This CVE does not appear in CISA KEV, and no public exploit code has been identified at time of analysis. The intelligence source tags this vulnerability as 'Information Disclosure,' which directly conflicts with the CVSS impact vector (C:N/I:N/A:H) and the described kernel oops - defenders should classify this as a Denial-of-Service issue, not an information disclosure issue; that tag appears to be a metadata error. Taken together, the signals place this in a lower real-world priority tier: significant only in multi-tenant or containerized environments where unprivileged users may access network namespaces and qdisc configuration.

Exploit ScenarioDerived

A local user with CAP_NET_ADMIN privileges - or access to a user network namespace on a system where kernel.unprivileged_userns_clone=1 - creates an HFSC qdisc with slope parameters (e.g., m1=4000000000) that cause m2sm() to produce two u64 values whose difference is exactly 2^32. Upon enqueueing a packet that triggers the concave-curve intersection path in rtsc_min(), the kernel stores the full 2^32 difference in a u32 variable, truncating it to zero, which is then used as the divisor in do_div() - causing an immediate kernel divide-by-zero Oops and denial of service. No public exploit code has been identified at time of analysis, but the arithmetic trigger condition is deterministic and reproducible for anyone familiar with HFSC internals.

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 20, 2026

Divide-by-zero in the Linux kernel's HFSC traffic scheduler (net/sched/sch_hfsc.c) allows a local authenticated user to crash the kernel via a denial-of-service oops. The flaw is triggered by enqueueing packets through an HFSC qdisc configured with slope values that cause a u64-to-u32 arithmetic truncation to yield a zero divisor in rtsc_min(). With EPSS at 0.02% (7th percentile), no CISA KEV listing, and no public exploit code identified at time of analysis, real-world exploitation risk is currently low, though the crash path is deterministic and reproducible by anyone with HFSC configuration access.

RemediationAI

Apply the vendor-released patches by upgrading to the fixed stable kernel version appropriate for the running branch: Linux 6.1.168, 6.6.134, 6.12.81, 6.18.22, or 6.19.12, per EUVD-2026-21947. Patch commits are available at https://git.kernel.org/stable/c/25b6821884713a31e2b49fb67b0ebd765b33e0a9 and related stable-tree references. Major Linux distributions (Debian, Red Hat, Ubuntu, SUSE) are expected to carry these backports; check their respective security advisories for specific package version numbers. If immediate kernel upgrade is not feasible, restrict access to the tc (traffic control) interface by ensuring only processes with CAP_NET_ADMIN in the root network namespace can configure qdiscs - this eliminates the attack surface for unprivileged users. Additionally, if unprivileged user namespace creation is not operationally required, setting kernel.unprivileged_userns_clone=0 (where supported) prevents namespace-based privilege escalation to qdisc configuration. Note that restricting tc access may disrupt legitimate QoS configurations and should be evaluated against network management requirements before deployment.

Affected VersionsENISA

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <4576100b8cd03118267513cafacde164b498b322
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b9e6431cbea8bb1fae8069ed099b4ee100499835
Linux patch: 6.19.12
Linux 2.6.12
Linux patch: 6.18.22
Linux patch: 6.1.168
Linux patch: 6.12.81
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d0aefec1b1a1ba2c1d251028dc2c4e5b4ce1fea5
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <25b6821884713a31e2b49fb67b0ebd765b33e0a9
Linux patch: 0
Linux patch: 7.0
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <17c1b9807b8a67d676b6dcf749ee932ebaa7f568
Linux patch: 6.6.134
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c56f78614e7781aaceca9bd3cb2128bf7d45c3bd

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 Linux kernel's HFSC (Hierarchical Fair Service Curve) subsystem implements QoS queuing disciplines (qdiscs) used to enforce per-flow service guarantees on network interfaces. The vulnerability resides in rtsc_min() (net/sched/sch_hfsc.c:601), which computes the intersection of two concave service curves. The helper m2sm() converts a u32 slope to a u64 scaled representation; for large inputs such as m1=4000000000, the result approaches 2^32. When two such u64 values differ by exactly 2^32, storing the difference in a u32 variable dsm truncates it to zero via integer wraparound. This zero value is then passed as the divisor to do_div() inside the concave-curve intersection logic, triggering an unhandled kernel divide error (Oops). CWE-369 (Divide By Zero) precisely classifies this as an arithmetic width-mismatch error. The upstream fix widens dsm to u64 and replaces do_div() with div64_u64() to preserve the full 64-bit difference. Affected CPE: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*.

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
Red Hat 5.5 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

4
CVSS changed
May 20, 2026 - 18:07 NVD
5.5 (MEDIUM)
Patch released
Apr 18, 2026 - 09:16 nvd
Patch available
Patch available
Apr 16, 2026 - 05:29 EUVD
4576100b8cd03118267513cafacde164b498b322,25b6821884713a31e2b49fb67b0ebd765b33e0a9,17c1b9807b8a67d676b6dcf749ee932ebaa7f568
CVE Published
Apr 13, 2026 - 13:40 nvd
N/A

DescriptionNVD

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

net/sched: sch_hfsc: fix divide-by-zero in rtsc_min()

m2sm() converts a u32 slope to a u64 scaled value. For large inputs (e.g. m1=4000000000), the result can reach 2^32. rtsc_min() stores the difference of two such u64 values in a u32 variable dsm and uses it as a divisor. When the difference is exactly 2^32 the truncation yields zero, causing a divide-by-zero oops in the concave-curve intersection path:

Oops: divide error: 0000 RIP: 0010:rtsc_min (net/sched/sch_hfsc.c:601) Call Trace: init_ed (net/sched/sch_hfsc.c:629) hfsc_enqueue (net/sched/sch_hfsc.c:1569) [...]

Widen dsm to u64 and replace do_div() with div64_u64() so the full difference is preserved.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Threat Intel
2
1 source
Data Quality
7 sources
Confidence: High

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 Yes
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

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Server 12 SP5-LTSS Affected
SUSE Linux Enterprise Server 12 SP5-LTSS Affected
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 Affected
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

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