microblaze: prevent ptrace writes to MSR and pt_mode
CVE-2026-139775Published 30 Nov 2026, 13:37 UTC
Real-world risk
4.3/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Linux)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Linux kernelUbiquitous | = 2.6.30 | 7.4-rc1 |
What to do
Update to a fixed version: 7.4-rc1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 28), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.5 × threat 0.854.250
- Rounded to one decimal between 0.1 and 104.3
Exploitation and evidence timeline
- 30 Nov 2026 Published
- 3 Dec 2026 Risk 4.3 (cvss fallback)
Weakness
No weakness type given.
References
- https://git.kernel.org/stable/c/709a5c11b298f80c9c6ef389dd28b6664c553a01
- https://git.kernel.org/stable/c/015b67c5eb14aa9efc07df84573583b2d867568d
- https://git.kernel.org/stable/c/b452438f3a3974dd12ad44ab05dd3489610f3022
- https://git.kernel.org/stable/c/27cbad56ff9967c5e1976719ded8e74e008691e9
- https://git.kernel.org/stable/c/7373a9b732c0efb6b6e1f2385baa2acd6be20c58
- https://git.kernel.org/stable/c/d370cedaaad61c397ecf89f055df5a5a02da5ebc
- https://git.kernel.org/stable/c/b65017801ed2cae46af8af16d91b6bb9eccbcd55
- https://git.kernel.org/stable/c/8518fd17ccef4a7d77877ccb0403b722106ad1a4
- CVE-2026-139775 on CVE.org