Skip to main content

Linux Kernel CVE-2026-64082

| EUVDEUVD-2026-45655 HIGH
Use of Uninitialized Resource (CWE-908)
2026-07-19 Linux GHSA-87cj-725f-6hr5
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Local access as low-priv user on riscv64
  2. Delivery
    Start 32-bit compat process
  3. Exploit
    Invoke ptrace SETREGSET or compat sigreturn with faulting buffer
  4. Execution
    user copy fails but cregs_to_regs() still runs
  5. Persist
    Uninitialized kernel stack written to task pt_regs
  6. Impact
    Read leaked kernel data from registers

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Variable initialization
Exploitation Conditions

Requires a RISC-V (riscv64) Linux kernel compiled with CONFIG_COMPAT and the ability to run a 32-bit (ILP32) userspace process. The attacker must trigger a user-copy failure in one of two specific handlers: a faulting/unmapped source buffer passed to PTRACE_SETREGSET (reaching compat_riscv_gpr_set → user_regset_copyin), or a crafted compat rt_sigreturn frame that makes __copy_from_user fail (reaching compat_restore_sigcontext). Limiting factors: exploitation is local and requires an authenticated low-privileged user (PR:L); it only works on RISC-V kernels with compat enabled, not on x86/ARM or compat-disabled builds; the ptrace path additionally requires ptrace permission over the target task (typically a same-uid or child process); and the corruption/leak is scoped to the target task's own register state rather than affecting other tasks or directly granting privilege escalation.

Impact

The provided CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, score 7.8) marks this as locally exploitable by an authenticated low-privileged user with no user interaction, which matches the description. However, the C:H/I:H/A:H impact triad appears somewhat generous for a bug that primarily leaks kernel stack into, and corrupts, the calling/target task's own register state rather than escalating privileges or corrupting other tasks - so confidentiality (kernel memory disclosure) is the strongest justified impact, with integrity/availability effects largely bounded to the affected task. All corroborating exploitation signals point to LOW real-world urgency: EPSS is 0.15% (5th percentile), there is no CISA KEV listing, and no public POC is referenced. No SSVC decision data was provided. The dominant limiting factor is architecture: exploitation requires a RISC-V kernel with 32-bit compat enabled, which is a small fraction of deployed Linux systems, so this is a low-priority hardening fix rather than a broadly urgent threat despite the 7.8 base score.

Exploit ScenarioDerived

A local unprivileged user on a riscv64 system that supports 32-bit binaries runs a 32-bit process and issues a crafted rt_sigreturn (or PTRACE_SETREGSET against a compat task it controls) pointing at an unmapped or faulting user buffer. The kernel's __copy_from_user()/user_regset_copyin() fails, but cregs_to_regs() still runs, writing uninitialized kernel-stack bytes into the task's saved registers, which the attacker then reads back as leaked kernel memory. No public exploit is identified at time of analysis, and the local, low-complexity vector makes such a proof-of-concept straightforward to develop for an attacker with code execution on the box.

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

Kernel stack information disclosure and register-state corruption affects the Linux kernel's RISC-V 32-bit compat layer, where compat_riscv_gpr_set() (the PTRACE_SETREGSET handler) and compat_restore_sigcontext() (the compat sigreturn path) call cregs_to_regs() even after the user copy fails, writing an uninitialized stack buffer into the target task's pt_regs. A local low-privileged attacker running a 32-bit process on a riscv64 kernel can force the copy to fail and leak uninitialized kernel stack contents into user-visible registers while corrupting the task's register state. There is no public exploit identified at time of analysis, and EPSS is low (0.15%, 5th percentile), consistent with the narrow RISC-V compat attack surface.

RemediationAI

Patch available per vendor advisory: apply the upstream stable-tree fix that makes cregs_to_regs() conditional on a successful user copy, tracked in commits https://git.kernel.org/stable/c/9e020156833f1ad0d425a1e3d85b65639f1c1c50 and https://git.kernel.org/stable/c/6ebcbb53fc9bc30843054ed99fd60b8e542628f4; upgrade to the distribution kernel build that incorporates these commits (released tagged version not independently confirmed from the provided data). Because the issue is confined to the RISC-V 32-bit compat path, a targeted workaround where patching is delayed is to build or boot a kernel without CONFIG_COMPAT so 32-bit processes cannot exercise the vulnerable handlers - with the trade-off that legitimate 32-bit RISC-V binaries will no longer run. On systems that do not require 32-bit userspace, avoiding execution of ILP32 processes and restricting untrusted local users' ability to run compat binaries reduces exposure until the patched kernel is deployed.

Affected VersionsENISA

Linux patch: 7.0.11
Linux patch: 7.1
Linux patch: 0
Linux 5.19
Linux 7383ee05314be58f8f9f018ee0ac53bef3808aea <6ebcbb53fc9bc30843054ed99fd60b8e542628f4
Linux 7383ee05314be58f8f9f018ee0ac53bef3808aea <9e020156833f1ad0d425a1e3d85b65639f1c1c50

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 flaw lives in the RISC-V architecture's COMPAT support, which lets a 64-bit riscv kernel run 32-bit (ILP32) userspace. Both affected functions declare a local 'cregs' structure on the stack, populate it from userspace via user_regset_copyin() (ptrace regset path) or __copy_from_user() (signal-return path), and then translate it into the kernel's native pt_regs via cregs_to_regs(). Because cregs_to_regs() is invoked unconditionally, a failed copy leaves cregs holding whatever residual data was previously on the kernel stack, which is then committed into the task's saved register file. This is a classic use-of-uninitialized-stack-variable defect (CWE-457 / CWE-908) whose security consequence is an information-disclosure primitive (CWE-200), since the leaked kernel stack bytes become readable in the returning task's GPRs. CPE data identifies the affected product only generically as cpe:2.3:a:linux:linux, with the true scope being kernels built with CONFIG_RISCV and CONFIG_COMPAT.

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 (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 6.6 MEDIUM

Local low-priv compat process leaks kernel stack into registers (C:H); integrity/availability bounded to the task's own register state, so I:L/A:L; low-complexity fault triggering gives AC:L.

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

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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
Jul 20, 2026 - 15:22 NVD
7.8 (HIGH)
Patch available
Jul 19, 2026 - 17:03 EUVD
CVE Published
Jul 19, 2026 - 15:39 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 19, 2026 - 15:39 cve.org
HIGH 7.8

DescriptionCVE.org

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

riscv: Fix register corruption from uninitialized cregs on error

compat_riscv_gpr_set() calls cregs_to_regs() unconditionally, even when user_regset_copyin() fails. Since cregs is an uninitialized stack variable, a copyin failure causes uninitialized stack data to be written into the target task's pt_regs, corrupting its register state and potentially leaking kernel stack contents.

compat_restore_sigcontext() has the same issue: it calls cregs_to_regs() even when __copy_from_user() fails, leading to the same corruption of the signal-returning task's register state on error.

Only call cregs_to_regs() when the user copy succeeds.

Executive ViewAI

Why It Matters

CVE-2026-64082 affects Linux systems running on RISC-V processors, allowing local attackers to escalate privileges by exploiting kernel memory handling. While the vulnerability is limited to RISC-V infrastructure and no public exploits have been identified at time of analysis, organizations using RISC-V should prioritize patching to eliminate this privilege escalation risk. The real-world exploitation probability remains low (0.2% EPSS), but the severity warrants prompt remediation.

Business Impact: Medium
Compensating Controls

Apply vendor patch. If patching is delayed, disable 32-bit kernel compatibility mode on systems that do not require 32-bit binary support and restrict local user access to limit exposure to privilege escalation attacks.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
Linux is ubiquitous, but vulnerable path is RISC-V 32-bit compat only
Data Quality
6 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 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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

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

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

Vendor StatusVendor

SUSE

Severity: Important
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