Skip to main content

Linux Kernel CVE-2026-72181

| EUVDEUVD-2026-58939 HIGH
2026-08-15 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-792p-r5w2-5gfr
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Recon
    Gain local unprivileged shell on MIPS system
  2. Delivery
    Confirm CONFIG_CPUMASK_OFFSTACK kernel build
  3. Exploit
    Craft malformed cpumask user payload
  4. Install
    Invoke sched_setaffinity with crafted payload
  5. C2
    copy_from_user writes bytes into pointer variable
  6. Execute
    Corrupt cpumask pointer to attacker-controlled address
  7. Impact
    Overwrite kernel credentials or function pointer
  8. Step 8
    Escalate to root

Vulnerability Assessment

Exploitation Conditions

Three specific conditions must be simultaneously present: (1) the target system must run on MIPS architecture - this flaw does not affect x86, x86-64, ARM, or other architectures where the cpumask scheduler code differs; (2) the Linux kernel must have been compiled with CONFIG_CPUMASK_OFFSTACK explicitly enabled - this is a non-default compile-time option that causes cpumask_var_t to become a pointer type, triggering the sizeof() miscalculation; and (3) the attacker must possess a local unprivileged shell account on the target system (PR:L per CVSS vector). The vulnerability is triggered through scheduler-related system calls that pass a user-supplied cpumask into the kernel. What limits exploitation beyond these conditions: remote exploitation is not possible without a pre-existing local foothold; the MIPS platform restriction excludes the overwhelming majority of enterprise Linux deployments; CONFIG_CPUMASK_OFFSTACK must have been consciously selected at kernel build time, limiting exposure to custom or embedded kernel images.

Impact

The CVSS 7.8 score (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) accurately represents the severity on a vulnerable MIPS system: low-complexity local exploitation with full confidentiality, integrity, and availability impact. However, two constraints sharply narrow the practical attack surface. First, the flaw is MIPS-architecture-specific - x86, x86-64, ARM, and other architectures are unaffected. Second, CONFIG_CPUMASK_OFFSTACK must be explicitly enabled at kernel compile time; this is not the default in most general-purpose Linux distributions but is common in embedded, networking, and custom MIPS kernel builds. EPSS at 0.21% (12th percentile) aligns with these restrictions and indicates minimal observed exploitation activity. No CISA KEV listing and no public proof-of-concept corroborate low near-term weaponization risk. SSVC framing: exploitation is unlikely in the broad enterprise context but plausible for targeted attacks against MIPS-based infrastructure (routers, switches, embedded controllers); the flaw is not automatable (requires local access); technical impact is total on affected systems. Real operational priority: high for teams managing MIPS Linux deployments with CPUMASK_OFFSTACK builds; negligible for x86-centric environments.

Exploit ScenarioDerived

A local unprivileged user on a MIPS Linux system built with CONFIG_CPUMASK_OFFSTACK invokes a scheduler affinity syscall (e.g., sched_setaffinity) with a crafted cpumask payload. The kernel's copy_from_user() writes the attacker-controlled bytes into the cpumask pointer variable itself - rather than into a properly allocated buffer - redirecting subsequent pointer dereferences to an attacker-chosen kernel address. The attacker leverages this pointer corruption to overwrite kernel data structures (e.g., credentials, function pointers), achieving privilege escalation to root or triggering a kernel panic. No public proof-of-concept exists at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 17, 2026

Memory corruption in the Linux kernel's MIPS scheduler corrupts kernel pointer state when CONFIG_CPUMASK_OFFSTACK is enabled, enabling local privilege escalation to root. Two compounding flaws exist: sizeof(new_mask) resolves to the pointer width (4-8 bytes on MIPS) rather than the actual cpumask buffer size, causing copy_from_user() to overwrite the mask pointer with user-controlled bytes; and the original code invoked copy_from_user() prior to allocating the mask buffer, creating a write-before-allocation primitive. CVSS 7.8 with AV:L/AC:L/PR:L/UI:N reflects straightforward local exploitation on affected MIPS systems, though EPSS at 0.21% (12th percentile), no CISA KEV listing, and no public exploit code indicate limited real-world exploitation activity at time of analysis.

RemediationAI

Upgrade to a patched Linux kernel stable release: 5.15.212 or later for the 5.15 LTS branch, 6.1.178 or later for 6.1 LTS, 6.6.145 or later for 6.6 LTS, 6.12.97 or later for 6.12, 6.18.40 or later for 6.18, or 7.1.5 or later for 7.1; the 7.2-rc1 mainline also includes the fix. Upstream patches are available at the kernel.org stable tree commits referenced in the EUVD entry EUVD-2026-58939. Distribution maintainers backporting to vendor kernels should apply the fix from commit d20ee42f8226607b5693b2bc2f115ca2d270221a or the branch-appropriate equivalent. If an immediate kernel upgrade is not feasible, rebuilding the kernel with CONFIG_CPUMASK_OFFSTACK disabled eliminates the vulnerable code path entirely, since the pointer-size sizeof() misuse only manifests in OFFSTACK mode; the trade-off is reduced per-CPU mask memory efficiency on high-NR_CPUS configurations. Restricting local shell access on MIPS systems to trusted users also reduces exploitation opportunity as a compensating control, though this does not fix the underlying flaw.

Affected VersionsENISA

Linux 2.6.23
Linux patch: 6.1.178
Linux patch: 6.12.97
Linux 295cbf6d63165fe4253cf1d9ceadcda47a318b48 <1caee6e084a96ada94658f261ced377d85af3f03
Linux 295cbf6d63165fe4253cf1d9ceadcda47a318b48 <a1dd41d00c57efb1fbc6f361c5f48c9d00cca51c
Linux patch: 6.6.145
Linux patch: 0
Linux patch: 5.15.212
Linux 295cbf6d63165fe4253cf1d9ceadcda47a318b48 <15ba8053fe4162c933855f1676fb321cdb6251c7
Linux patch: 6.18.40
Linux 295cbf6d63165fe4253cf1d9ceadcda47a318b48 <3446ffb5d03c36f9ce88ede7ca5be319a2968d96
Linux patch: 7.1.5
Linux 295cbf6d63165fe4253cf1d9ceadcda47a318b48 <98e37db4a34d3af3fb2f4648295c25b5e40b20e3
Linux 295cbf6d63165fe4253cf1d9ceadcda47a318b48 <87a56c1e8e36d06ebe8640432f911538ded7827d
Linux patch: 7.2-rc1
Linux 295cbf6d63165fe4253cf1d9ceadcda47a318b48 <d20ee42f8226607b5693b2bc2f115ca2d270221a

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 vulnerability resides in MIPS-specific scheduler code (mips/sched) within the Linux kernel. When CONFIG_CPUMASK_OFFSTACK is set at compile time, cpumask_var_t becomes a pointer to a dynamically heap-allocated cpumask structure rather than a fixed-size stack array. The flawed code passed sizeof(new_mask) to copy_from_user(), but since new_mask is a pointer in OFFSTACK mode, sizeof() returns the pointer's byte width (4 bytes on 32-bit MIPS, 8 bytes on 64-bit) rather than the actual cpumask buffer size determined by NR_CPUS. This caused copy_from_user() to write user-supplied bytes into the pointer variable itself, redirecting all subsequent dereferences to an attacker-controlled address. A second independent flaw compounded the impact: copy_from_user() was called before alloc_cpumask_var(), meaning the write targeted unallocated or unrelated memory. The fix allocates the mask buffer first, then uses cpumask_size() to correctly size the copy operation and handles variable-length user masks by truncating oversized input or zero-padding undersized input into the allocated buffer. Although no CWE is formally assigned, the root cause class is CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) combined with a pre-allocation write pattern analogous to CWE-672.

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

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local syscall trigger requires low-privilege account (AV:L, PR:L); pointer overwrite yields full kernel memory control with no interaction, no scope change.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.5 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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

Lifecycle Timeline

4
CVSS changed
Aug 17, 2026 - 06:22 NVD
7.8 (HIGH)
Patch available
Aug 15, 2026 - 07:20 EUVD
CVE Published
Aug 15, 2026 - 06:21 cve.org
HIGH 7.8
CVE Published
Aug 15, 2026 - 06:21 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

mips: sched: Fix CPUMASK_OFFSTACK memory corruption

This patch addresses a critical memory management flaw. When CONFIG_CPUMASK_OFFSTACK is enabled, cpumask_var_t is a pointer. Consequently, sizeof(new_mask) evaluates to the pointer size, causing copy_from_user() to clobber the mask pointer. Furthermore, the old logic performed copy_from_user() before allocating the mask.

Fix this by allocating new_mask first. To handle variable-sized user masks correctly, use cpumask_size() to truncate overly large user masks or pad undersized masks with zeros before copying the data directly into the allocated buffer.

Executive ViewAI

Why It Matters

CVE-2026-72181 affects Linux kernels on MIPS systems with CONFIG_CPUMASK_OFFSTACK enabled, allowing authenticated local users to escalate privileges to root. An attacker with existing local access could gain complete administrative control over affected systems, creating risk of data theft, system manipulation, and operational outages.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
MIPS Linux systems are niche embedded, networking, and industrial deployments
Data Quality
4 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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

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