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
Share

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
qualitative

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

5
Analysis Generated
Aug 17, 2026 - 07:27 vuln.today
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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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

Share

CVE-2026-72181 vulnerability details – vuln.today

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