CVE-2026-98951

Unknown

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.

SeverityUnknown
CVSS—
Exploit probability—
ProductLinux
PublishedOct 23, 2026
First seenOct 23, 2026

How to fix

Update
  • Linux Linux89fc70d73f4ac8781f9e15edd1dbc6b6088453b3, 59052a88ba5fe4a7bb34b3a0a42aa5d453d3bb97, 6.6 or later

Affected products

ProductAffected versionsFixed in
Linux Linux9300f00439743c4a34d735e1a27118eb68a1504e ≤ v < 89fc70d73f4ac8781f9e15edd1dbc6b6088453b3, 9300f00439743c4a34d735e1a27118eb68a1504e ≤ v < 59052a88ba5fe4a7bb34b3a0a42aa5d453d3bb97, f2a9cd050901c4734bc175294c3bd6a40a1a9e99, 6.5.3 ≤ v < 6.6, 6.689fc70d73f4ac8781f9e15edd1dbc6b6088453b3, 59052a88ba5fe4a7bb34b3a0a42aa5d453d3bb97, 6.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-98951 · Linux · Dark Radar