bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-98951

—unknown

linux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases

Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.

Reach linux · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

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 2026-10-23NVD

References 2

Build check · v26.10.0 aarch64_minimal

None of the source files the CNA lists for CVE-2026-98951 (arch/riscv/kernel/ptrace.c) produced an object file in linux-6.18.60, so the affected code is not compiled into this kernel configuration.

Evidence 1
  1. object file absent: not compiled

    output/build/linux-6.18.60/arch/riscv/kernel/ptrace.o

Members of Kernel Kit decide. Sign in if you are one.