CVE-2026-64082: 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()
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.
Details
Original advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-64082
Exploitation outlook
EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.
- Low exploitation riskCVE-2026-640820.12% 30-day exploitation probability — currently an unlikely target, but scores change as exploit code circulates. Riskier than 2% of all scored CVEs.
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2026-64082 | coverage & exploitation status | NVD · CVE.org |
Same CVEs, other sources
How other CERTs, PSIRTs and databases cover the vulnerabilities in this advisory.
Recent advisories for In the Linux
A cluster of recent advisories against the same product widens the attack surface — attackers routinely chain freshly published CVEs on one product, so review these together.
- high[UPDATE] [high] Linux Kernel: Multiple vulnerabilitiescert-bund · 2026-08-03
- high[UPDATE] [high] Linux Kernel: Multiple vulnerabilitiescert-bund · 2026-08-03
- high[UPDATE] [high] Linux Kernel: Multiple Vulnerabilitiescert-bund · 2026-08-03
- medium[UPDATE] [medium] Linux Kernel: Multiple Vulnerabilitiescert-bund · 2026-08-03
- medium[NEW] [medium] Linux Kernel: Multiple vulnerabilities allow denial of servicecert-bund · 2026-08-03
- medium[NEW] [medium] Linux Kernel: Multiple vulnerabilities allow Denial of Servicecert-bund · 2026-08-03
More from NVD Recent CVEs
- unknownCVE-2026-69075: FlowIntel is affected by a stored cross-site scripting vulnerability through multiple user-con…2026-08-03
- mediumCVE-2026-63563: Sharp and Toshiba Tec MFPs (multifunction printers) for a certain market have been shipped wit…2026-08-03
- lowCVE-2026-63545: Sharp and Toshiba Tec MFPs (multifunction printers) caches data internally when printing, and …2026-08-03
- mediumCVE-2026-62416: Network Scanner Tool and Network Scanner Tool Lite provided by Sharp Corporation, with the ini…2026-08-03
- mediumCVE-2026-60011: Sharp and Toshiba Tec MFPs (multifunction printers) fail to properly authorize requests to dir…2026-08-03