CVE-2026-98951
not scored yetIn 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.
- Published
- 23 Oct 2026
- Last modified
- 23 Oct 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSON
References
- https://git.kernel.org/stable/c/59052a88ba5fe4a7bb34b3a0a42aa5d453d3bb97
- https://git.kernel.org/stable/c/89fc70d73f4ac8781f9e15edd1dbc6b6088453b3
History
- 25 Nov 2026 21:22 UTC ยท NVD: first stored (published 23 Oct 2026)