Linux kernel microblaze ptrace PTRACE_POKEUSR MSR/pt_mode privilege escalation
CVE-2026-139775 Published on November 30, 2026

microblaze: prevent ptrace writes to MSR and pt_mode
In the Linux kernel, the following vulnerability has been resolved: microblaze: prevent ptrace writes to MSR and pt_mode arch_ptrace() accepts PTRACE_POKEUSR for every aligned offset below PT_SIZE. This includes the saved machine status register and pt_mode, which are kernel-owned execution state rather than general registers. On return from an exception, rtbd copies MSR_UMS to the live MSR_UM bit. An unprivileged same-UID tracer can therefore clear MSR_UMS in its tracee's saved register frame and make the tracee resume in supervisor mode. pt_mode also controls whether later entry paths classify the frame as kernel or user state. Reject PTRACE_POKEUSR writes to both fields while retaining read access.

NVD


Products Associated with CVE-2026-139775

Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.

Affected Versions

Linux: Linux: