CVE-2026-64082·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.11
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.13% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-64082 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.13%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 5.19
Until: 7.0.11
Fixed in: 7.0.11
How to fix this CVE
Update your Linux kernel to version 7.0.11 or later to patch a critical register corruption vulnerability in RISC-V architecture compatibility mode. This vulnerability allows uninitialized stack data to overwrite task register states when user-space copy operations fail, potentially compromising system stability and leaking sensitive kernel memory. Apply the update immediately if you're running affected kernel versions 5.19 through 7.0.10.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with: uname -r
- Step 2: Compare against affected range (5.19 to 7.0.10) — if your version falls within this range, you are vulnerable
- Step 3: Verify RISC-V support is enabled by checking: grep CONFIG_RISCV /boot/config-$(uname -r) — if output shows 'y' and your system uses RISC-V, the attack surface is exposed
- Step 4: After patching, reboot and run uname -r again to confirm kernel version is 7.0.11 or later
FAQ
What is CVE-2026-64082?
CVE-2026-64082 is a register corruption vulnerability in the Linux kernel's RISC-V compatibility layer where uninitialized stack variables are copied into a task's register state when user-space data copying fails, potentially corrupting execution state and leaking kernel memory.
Is CVE-2026-64082 being actively exploited?
No — according to CISA's Known Exploited Vulnerabilities catalog, this CVE is not currently being actively exploited in the wild, and no public exploits are available.
What versions of Kernel are affected by CVE-2026-64082?
Linux kernel versions 5.19 through 7.0.10 are affected. The vulnerability was fixed in kernel 7.0.11.
How do I check if my server is vulnerable to CVE-2026-64082?
Run uname -r to display your kernel version. If the output is between 5.19 and 7.0.10, your system is vulnerable. RISC-V architecture systems are primarily affected.
Does Defensia detect CVE-2026-64082?
Yes — Defensia's CVE advisory scanner compares installed kernel package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-64082 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0599aa23734c48de9bce36d043a9ec90c23945a1
- https://git.kernel.org/stable/c/2a7d1daf2674fe7d5b1cc99a4e3b5f0f72d5958f
- https://git.kernel.org/stable/c/66dedb6028c3df6c6a3372dd935b823917e150d5
- https://git.kernel.org/stable/c/6ebcbb53fc9bc30843054ed99fd60b8e542628f4
- https://git.kernel.org/stable/c/9e020156833f1ad0d425a1e3d85b65639f1c1c50
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64082. Free for 1 server.
Get started free