{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139775","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.952Z","datePublished":"2026-11-30T13:37:53.393Z","dateUpdated":"2026-12-01T05:43:19.971Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:43:19.971Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmicroblaze: prevent ptrace writes to MSR and pt_mode\n\narch_ptrace() accepts PTRACE_POKEUSR for every aligned offset below\nPT_SIZE. This includes the saved machine status register and pt_mode,\nwhich are kernel-owned execution state rather than general registers.\n\nOn return from an exception, rtbd copies MSR_UMS to the live MSR_UM bit.\nAn unprivileged same-UID tracer can therefore clear MSR_UMS in its\ntracee's saved register frame and make the tracee resume in supervisor\nmode. pt_mode also controls whether later entry paths classify the frame\nas kernel or user state.\n\nReject PTRACE_POKEUSR writes to both fields while retaining read access."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The attacker reaches arch_ptrace() through the local ptrace(2) syscall, using PTRACE_POKEUSR at offset PT_MSR or PT_MODE on a tracee they own. No remote protocol carries the input.\nAC:L - The attacker controls both sides: fork, PTRACE_TRACEME in the child, a stop, then POKEUSR of a PT_MSR value with MSR_UMS cleared plus a chosen PT_PC, then PTRACE_CONT. ret_from_trap/ret_from_exc/ret_from_irq then load PT_MSR and rtbd/rtid into supervisor mode every time, with no race.\nPR:L - Pre-fix arch_ptrace() accepted any aligned offset below PT_SIZE. The only gate is the normal same-uid ptrace check, and yama_ptrace_traceme() does not restrict PTRACE_TRACEME at the default scope 1, so a plain unprivileged user can do this to their own child.\nUI:N - The attacker works entirely through their own processes: a forked child that they trace and resume. No other user or administrator has to do anything.\nS:U - A user process ends up in privileged mode on the same kernel. That is ordinary user-to-kernel privilege escalation within one authority, with no VM, hypervisor or IOMMU boundary crossed.\nC:H - With MSR_UMS cleared, the tracee runs attacker code in supervisor mode. ZPR zone 0 is set to 00 in mm/init.c, which allows privileged access to kernel pages under their TLB bits, so the code can read all kernel lowmem and other processes' memory.\nI:H - In supervisor mode the attacker's code can write kernel memory and run privileged instructions (mts rmsr, TLB writes to map any physical page), which is arbitrary kernel code execution. Forging pt_mode also makes the entry paths treat the frame as kernel state.\nA:H - Code running in supervisor mode can halt the CPU, rewrite the TLB or corrupt kernel state at will. A bad MSR or pt_mode value alone sends ret_from_trap down the kernel-return path with a user r1, which oopses or hangs the system."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/microblaze/kernel/ptrace.c"],"versions":[{"version":"2b4384542691fddd309f9324b5a9af976b75e918","lessThan":"709a5c11b298f80c9c6ef389dd28b6664c553a01","status":"affected","versionType":"git"},{"version":"2b4384542691fddd309f9324b5a9af976b75e918","lessThan":"015b67c5eb14aa9efc07df84573583b2d867568d","status":"affected","versionType":"git"},{"version":"2b4384542691fddd309f9324b5a9af976b75e918","lessThan":"b452438f3a3974dd12ad44ab05dd3489610f3022","status":"affected","versionType":"git"},{"version":"2b4384542691fddd309f9324b5a9af976b75e918","lessThan":"27cbad56ff9967c5e1976719ded8e74e008691e9","status":"affected","versionType":"git"},{"version":"2b4384542691fddd309f9324b5a9af976b75e918","lessThan":"7373a9b732c0efb6b6e1f2385baa2acd6be20c58","status":"affected","versionType":"git"},{"version":"2b4384542691fddd309f9324b5a9af976b75e918","lessThan":"d370cedaaad61c397ecf89f055df5a5a02da5ebc","status":"affected","versionType":"git"},{"version":"2b4384542691fddd309f9324b5a9af976b75e918","lessThan":"b65017801ed2cae46af8af16d91b6bb9eccbcd55","status":"affected","versionType":"git"},{"version":"2b4384542691fddd309f9324b5a9af976b75e918","lessThan":"8518fd17ccef4a7d77877ccb0403b722106ad1a4","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/microblaze/kernel/ptrace.c"],"versions":[{"version":"2.6.30","status":"affected"},{"version":"0","lessThan":"2.6.30","status":"unaffected","versionType":"semver"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/709a5c11b298f80c9c6ef389dd28b6664c553a01"},{"url":"https://git.kernel.org/stable/c/015b67c5eb14aa9efc07df84573583b2d867568d"},{"url":"https://git.kernel.org/stable/c/b452438f3a3974dd12ad44ab05dd3489610f3022"},{"url":"https://git.kernel.org/stable/c/27cbad56ff9967c5e1976719ded8e74e008691e9"},{"url":"https://git.kernel.org/stable/c/7373a9b732c0efb6b6e1f2385baa2acd6be20c58"},{"url":"https://git.kernel.org/stable/c/d370cedaaad61c397ecf89f055df5a5a02da5ebc"},{"url":"https://git.kernel.org/stable/c/b65017801ed2cae46af8af16d91b6bb9eccbcd55"},{"url":"https://git.kernel.org/stable/c/8518fd17ccef4a7d77877ccb0403b722106ad1a4"}],"title":"microblaze: prevent ptrace writes to MSR and pt_mode","x_generator":{"engine":"bippy-1.2.0"}}}}