CVE-2026-64082: riscv: Fix register corruption from uninitialized cregs on error
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.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 20 · Related 17Timeline
- 19-07-2026PublishedVulnerability first disclosed.
- 02-09-2026Last 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- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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