CVE-2026-98951
Last modified
CVE-2026-98951 is a vulnerability of currently unknown severity. 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.
Description
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.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 9300f00439743c4a34d735e1a27118eb68a1504e, < 89fc70d73f4ac8781f9e15edd1dbc6b6088453b3; >= 9300f00439743c4a34d735e1a27118eb68a1504e, < 59052a88ba5fe4a7bb34b3a0a42aa5d453d3bb97; f2a9cd050901c4734bc175294c3bd6a40a1a9e99; >= 6.5.3, < 6.6 |
| Linux | Linux | 6.6 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-98951?
How severe is CVE-2026-98951?
How do I fix CVE-2026-98951?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-98946In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98947In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98948In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98949In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9895Out of bounds read in GPU in Google Chrome prior to 148.0.77…8.3
- CVE-2026-98950In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98952In the Linux kernel, the following vulnerability has been re…7.3
- CVE-2026-98953In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98954In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98955In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98956In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98957In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-98951?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
