7.8

CVE-2026-64082: riscv: Fix register corruption from uninitialized cregs on error

Analyzed
AliasesUBUNTU-CVE-2026-64082DEBIAN-CVE-2026-64082CGA-289h-3h6r-xhwq
Published 19-07-2026Last modified 02-09-2026

Vulnerability summary

CVE-2026-64082 is a high (CVSS 7.8) Use of Uninitialized Resource vulnerability in linux. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.13%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 20 · Related 17

Timeline

  1. 19-07-2026
    PublishedVulnerability first disclosed.
  2. 02-09-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.13%

Chance of exploitation in the next 30 days

Percentile

3%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.13% on 21-10-2026

21-10-202620-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu141 products
  • linuxAll versions (No fix recorded) | < 6.8.0-149.149 | < 7.0.0-28.28
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1069.74 | < 7.0.0-1009.9
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Chainguard20 products
  • linux-aws-6.18All versions (No fix recorded)
  • linux-aws-6.18-bootcAll versions (No fix recorded)
  • linux-azure-6.18All versions (No fix recorded)
  • linux-desktop-6.18All versions (No fix recorded)
  • linux-desktop-6.18-bootcAll versions (No fix recorded)
Debian2 products
  • linux< 6.1.187-1 | < 6.12.111-1 | < 7.0.12-1
  • linux-6.12< 6.12.111-1~deb12u1
Linux2 products
  • linux≥ 7383ee05314be58f8f9f018ee0ac53bef3808aea, < f2d88b0d7aebfa4643fc58bbae57210c6daff9c6 | ≥ 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 66dedb6028c3df6c6a3372dd935b823917e150d5 | ≥ 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 2a7d1daf2674fe7d5b1cc99a4e3b5f0f72d5958f | ≥ 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 0599aa23734c48de9bce36d043a9ec90c23945a1 | ≥ 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 9e020156833f1ad0d425a1e3d85b65639f1c1c50 | ≥ 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 6ebcbb53fc9bc30843054ed99fd60b8e542628f4 | 5.19
  • linux_kernel≥ 5.19, < 7.0.11 | 7.1:rc1 | 7.1:rc2 | 7.1:rc3

4 vendors · 165 products

References

30 links
Show all 30 references