CVE-2026-64082
riscv: Fix register corruption from uninitialized cregs on error
Mitigation
- Upgrade Linux to 6ebcbb53fc9bc30843054ed99fd60b8e542628f4 or later.
Who should check
- Anyone running Linux >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < f2d88b0d7aebfa4643fc58bbae57210c6daff9c6; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 66dedb6028c3df6c6a3372dd935b823917e150d5; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 2a7d1daf2674fe7d5b1cc99a4e3b5f0f72d5958f; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 0599aa23734c48de9bce36d043a9ec90c23945a1; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 9e020156833f1ad0d425a1e3d85b65639f1c1c50; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 6ebcbb53fc9bc30843054ed99fd60b8e542628f4
- Anyone running Linux 5.19
Vulnerability facts
- Affected
- Linux >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < f2d88b0d7aebfa4643fc58bbae57210c6daff9c6; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 66dedb6028c3df6c6a3372dd935b823917e150d5; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 2a7d1daf2674fe7d5b1cc99a4e3b5f0f72d5958f; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 0599aa23734c48de9bce36d043a9ec90c23945a1; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 9e020156833f1ad0d425a1e3d85b65639f1c1c50; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 6ebcbb53fc9bc30843054ed99fd60b8e542628f4; Linux 5.19
- Fixed in
- Linux 66dedb6028c3df6c6a3372dd935b823917e150d5, Linux 2a7d1daf2674fe7d5b1cc99a4e3b5f0f72d5958f, Linux 0599aa23734c48de9bce36d043a9ec90c23945a1, Linux 9e020156833f1ad0d425a1e3d85b65639f1c1c50, Linux 6ebcbb53fc9bc30843054ed99fd60b8e542628f4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.18% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- CWE
- CWE-908
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < f2d88b0d7aebfa4643fc58bbae57210c6daff9c6; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 66dedb6028c3df6c6a3372dd935b823917e150d5; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 2a7d1daf2674fe7d5b1cc99a4e3b5f0f72d5958f; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 0599aa23734c48de9bce36d043a9ec90c23945a1; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 9e020156833f1ad0d425a1e3d85b65639f1c1c50; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 6ebcbb53fc9bc30843054ed99fd60b8e542628f4 | — | cvelist |
| Linux | 5.19 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-64082. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-64082.md Affected: Linux >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < f2d88b0d7aebfa4643fc58bbae57210c6daff9c6; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 66dedb6028c3df6c6a3372dd935b823917e150d5; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 2a7d1daf2674fe7d5b1cc99a4e3b5f0f72d5958f; >= 7383ee05314be58f8f9f018… Fixed in: Linux 66dedb6028c3df6c6a3372dd935b823917e150d5, Linux 2a7d1daf2674fe7d5b1cc99a4e3b5f0f72d5958f, Linux 0599aa23734c48de9bce36d043a9ec90c23945a1, Linux 9e020156833f1ad0d425a1e3d85b65639f1c1c50, Linux 6ebcbb53fc9bc30843054ed99fd60b8e542628f4 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/f2d88b0d7aebfa4643fc58bbae57210c6daff9c6
- https://git.kernel.org/stable/c/66dedb6028c3df6c6a3372dd935b823917e150d5
- https://git.kernel.org/stable/c/2a7d1daf2674fe7d5b1cc99a4e3b5f0f72d5958f
- https://git.kernel.org/stable/c/0599aa23734c48de9bce36d043a9ec90c23945a1
- https://git.kernel.org/stable/c/9e020156833f1ad0d425a1e3d85b65639f1c1c50
- https://git.kernel.org/stable/c/6ebcbb53fc9bc30843054ed99fd60b8e542628f4
FAQ
Is CVE-2026-64082 being exploited?
There is no confirmed exploitation: CVE-2026-64082 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-64082?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-64082?
Linux >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < f2d88b0d7aebfa4643fc58bbae57210c6daff9c6; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 66dedb6028c3df6c6a3372dd935b823917e150d5; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 2a7d1daf2674fe7d5b1cc99a4e3b5f0f72d5958f; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 0599aa23734c48de9bce36d043a9ec90c23945a1; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 9e020156833f1ad0d425a1e3d85b65639f1c1c50; >= 7383ee05314be58f8f9f018ee0ac53bef3808aea, < 6ebcbb53fc9bc30843054ed99fd60b8e542628f4; Linux 5.19.
Is there a fix for CVE-2026-64082?
Yes. Fixed in Linux 66dedb6028c3df6c6a3372dd935b823917e150d5, Linux 2a7d1daf2674fe7d5b1cc99a4e3b5f0f72d5958f, Linux 0599aa23734c48de9bce36d043a9ec90c23945a1, Linux 9e020156833f1ad0d425a1e3d85b65639f1c1c50, Linux 6ebcbb53fc9bc30843054ed99fd60b8e542628f4. Upgrade Linux to 6ebcbb53fc9bc30843054ed99fd60b8e542628f4 or later.
How do I check if I'm affected by CVE-2026-64082?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.