CVE-2026-98951
In the Linux kernel, the following vulnerability has been resolved: riscv: ptrace: Zero-initialize regset buffers before copyin user_regse
CVSS
—
No CVSS
EPSS
0.2%
p5
KEV
—
Exploit Today
1
0-100
Published: Oct 23, 2026 · Last modified: Oct 23, 2026
Not enough EPSS history yet.
In the Linux kernel, the following vulnerability has been resolved: riscv: ptrace: Zero-initialize regset buffers before copyin user_regset_copyin() only copies `count` bytes, so a PTRACE_SETREGSET request with a short iov_len leaves the rest of the stack buffer uninitialized. In riscv_vr_set() that garbage is validated and copied into the target's vstate, and in riscv_cfi_set() it can be stored as the target's shadow stack pointer. Zero both buffers, as the get path already does.
No related CVEs by CWE or product.