Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

riscv: Fix register corruption from uninitialized cregs on error

CVSS 3.1 7.8 HIGHCheck source for fixed versionsKEV status unknown

Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.

cve-program · CVE-2026-64082

Published

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.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-64082

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "arch/riscv/kernel/compat_signal.c",
                        "arch/riscv/kernel/ptrace.c"
                    ],
                    "versions": [
                        {
                            "version": "7383ee05314be58f8f9f018ee0ac53bef3808aea",
                            "lessThan": "f2d88b0d7aebfa4643fc58bbae57210c6daff9c6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7383ee05314be58f8f9f018ee0ac53bef3808aea",
                            "lessThan": "66dedb6028c3df6c6a3372dd935b823917e150d5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7383ee05314be58f8f9f018ee0ac53bef3808aea",
                            "lessThan": "2a7d1daf2674fe7d5b1cc99a4e3b5f0f72d5958f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7383ee05314be58f8f9f018ee0ac53bef3808aea",
                            "lessThan": "0599aa23734c48de9bce36d043a9ec90c23945a1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7383ee05314be58f8f9f018ee0ac53bef3808aea",
                            "lessThan": "9e020156833f1ad0d425a1e3d85b65639f1c1c50",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7383ee05314be58f8f9f018ee0ac53bef3808aea",
                            "lessThan": "6ebcbb53fc9bc30843054ed99fd60b8e542628f4",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "arch/riscv/kernel/compat_signal.c",
                        "arch/riscv/kernel/ptrace.c"
                    ],
                    "versions": [
                        {
                            "version": "5.19",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.19",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.187",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.156",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.108",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.49",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0.11",
                            "lessThanOrEqual": "7.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 19 Nov 19:53 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current