microblaze: prevent ptrace writes to MSR and pt_mode

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

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.

ProductVersions
Linux Linux2b4384542691fddd309f9324b5a9af976b75e918 to before 709a5c11b298f80c9c6ef389dd28b6664c553a01 Affected2b4384542691fddd309f9324b5a9af976b75e918 to before 015b67c5eb14aa9efc07df84573583b2d867568d Affected2b4384542691fddd309f9324b5a9af976b75e918 to before b452438f3a3974dd12ad44ab05dd3489610f3022 Affected2b4384542691fddd309f9324b5a9af976b75e918 to before 27cbad56ff9967c5e1976719ded8e74e008691e9 Affected2b4384542691fddd309f9324b5a9af976b75e918 to before 7373a9b732c0efb6b6e1f2385baa2acd6be20c58 Affected2b4384542691fddd309f9324b5a9af976b75e918 to before d370cedaaad61c397ecf89f055df5a5a02da5ebc Affected2b4384542691fddd309f9324b5a9af976b75e918 to before b65017801ed2cae46af8af16d91b6bb9eccbcd55 Affected2b4384542691fddd309f9324b5a9af976b75e918 to before 8518fd17ccef4a7d77877ccb0403b722106ad1a4 Affected
Linux Linux2.6.30 Affectedbefore 2.6.30 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.