CVE-2026-98951

riscv: ptrace: Zero-initialize regset buffers before copyin

CVE-2026-98951 is fixed in linux on 1 platform by DEBIAN-CVE-2026-98951 (version 7.2.11-1), released October 24, 2026. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.1
Important
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0016
4th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
linux · Debian 14 7.2.11-1 DEBIAN-CVE-2026-98951 Oct 24, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.