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.
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:- Version 2b4384542691fddd309f9324b5a9af976b75e918 and below 709a5c11b298f80c9c6ef389dd28b6664c553a01 is affected.
- Version 2b4384542691fddd309f9324b5a9af976b75e918 and below 015b67c5eb14aa9efc07df84573583b2d867568d is affected.
- Version 2b4384542691fddd309f9324b5a9af976b75e918 and below b452438f3a3974dd12ad44ab05dd3489610f3022 is affected.
- Version 2b4384542691fddd309f9324b5a9af976b75e918 and below 27cbad56ff9967c5e1976719ded8e74e008691e9 is affected.
- Version 2b4384542691fddd309f9324b5a9af976b75e918 and below 7373a9b732c0efb6b6e1f2385baa2acd6be20c58 is affected.
- Version 2b4384542691fddd309f9324b5a9af976b75e918 and below d370cedaaad61c397ecf89f055df5a5a02da5ebc is affected.
- Version 2b4384542691fddd309f9324b5a9af976b75e918 and below b65017801ed2cae46af8af16d91b6bb9eccbcd55 is affected.
- Version 2b4384542691fddd309f9324b5a9af976b75e918 and below 8518fd17ccef4a7d77877ccb0403b722106ad1a4 is affected.
- Version 2.6.30 is affected.
- Before 2.6.30 is unaffected.
- Version 5.10.275, <= 5.10.* is unaffected.
- Version 5.15.226, <= 5.15.* is unaffected.
- Version 6.1.193, <= 6.1.* is unaffected.
- Version 6.6.163, <= 6.6.* is unaffected.
- Version 6.12.119, <= 6.12.* is unaffected.
- Version 6.18.65, <= 6.18.* is unaffected.
- Version 7.3.6, <= 7.3.* is unaffected.
- Version 7.4-rc1, <= * is unaffected.