{"api_version":"1","generated_at":"2026-12-01T06:50:20+00:00","cve":"CVE-2026-139775","urls":{"html":"https://cve.report/CVE-2026-139775","api":"https://cve.report/api/cve/CVE-2026-139775.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139775","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139775"},"summary":{"title":"microblaze: prevent ptrace writes to MSR and pt_mode","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:10","updated_at":"2026-12-01 06:17:49"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"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","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/d370cedaaad61c397ecf89f055df5a5a02da5ebc","name":"https://git.kernel.org/stable/c/d370cedaaad61c397ecf89f055df5a5a02da5ebc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/709a5c11b298f80c9c6ef389dd28b6664c553a01","name":"https://git.kernel.org/stable/c/709a5c11b298f80c9c6ef389dd28b6664c553a01","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7373a9b732c0efb6b6e1f2385baa2acd6be20c58","name":"https://git.kernel.org/stable/c/7373a9b732c0efb6b6e1f2385baa2acd6be20c58","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b65017801ed2cae46af8af16d91b6bb9eccbcd55","name":"https://git.kernel.org/stable/c/b65017801ed2cae46af8af16d91b6bb9eccbcd55","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b452438f3a3974dd12ad44ab05dd3489610f3022","name":"https://git.kernel.org/stable/c/b452438f3a3974dd12ad44ab05dd3489610f3022","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8518fd17ccef4a7d77877ccb0403b722106ad1a4","name":"https://git.kernel.org/stable/c/8518fd17ccef4a7d77877ccb0403b722106ad1a4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/015b67c5eb14aa9efc07df84573583b2d867568d","name":"https://git.kernel.org/stable/c/015b67c5eb14aa9efc07df84573583b2d867568d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/27cbad56ff9967c5e1976719ded8e74e008691e9","name":"https://git.kernel.org/stable/c/27cbad56ff9967c5e1976719ded8e74e008691e9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139775","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139775","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2b4384542691fddd309f9324b5a9af976b75e918 709a5c11b298f80c9c6ef389dd28b6664c553a01 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2b4384542691fddd309f9324b5a9af976b75e918 015b67c5eb14aa9efc07df84573583b2d867568d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2b4384542691fddd309f9324b5a9af976b75e918 b452438f3a3974dd12ad44ab05dd3489610f3022 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2b4384542691fddd309f9324b5a9af976b75e918 27cbad56ff9967c5e1976719ded8e74e008691e9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2b4384542691fddd309f9324b5a9af976b75e918 7373a9b732c0efb6b6e1f2385baa2acd6be20c58 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2b4384542691fddd309f9324b5a9af976b75e918 d370cedaaad61c397ecf89f055df5a5a02da5ebc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2b4384542691fddd309f9324b5a9af976b75e918 b65017801ed2cae46af8af16d91b6bb9eccbcd55 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2b4384542691fddd309f9324b5a9af976b75e918 8518fd17ccef4a7d77877ccb0403b722106ad1a4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.30","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.30 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["arch/microblaze/kernel/ptrace.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"709a5c11b298f80c9c6ef389dd28b6664c553a01","status":"affected","version":"2b4384542691fddd309f9324b5a9af976b75e918","versionType":"git"},{"lessThan":"015b67c5eb14aa9efc07df84573583b2d867568d","status":"affected","version":"2b4384542691fddd309f9324b5a9af976b75e918","versionType":"git"},{"lessThan":"b452438f3a3974dd12ad44ab05dd3489610f3022","status":"affected","version":"2b4384542691fddd309f9324b5a9af976b75e918","versionType":"git"},{"lessThan":"27cbad56ff9967c5e1976719ded8e74e008691e9","status":"affected","version":"2b4384542691fddd309f9324b5a9af976b75e918","versionType":"git"},{"lessThan":"7373a9b732c0efb6b6e1f2385baa2acd6be20c58","status":"affected","version":"2b4384542691fddd309f9324b5a9af976b75e918","versionType":"git"},{"lessThan":"d370cedaaad61c397ecf89f055df5a5a02da5ebc","status":"affected","version":"2b4384542691fddd309f9324b5a9af976b75e918","versionType":"git"},{"lessThan":"b65017801ed2cae46af8af16d91b6bb9eccbcd55","status":"affected","version":"2b4384542691fddd309f9324b5a9af976b75e918","versionType":"git"},{"lessThan":"8518fd17ccef4a7d77877ccb0403b722106ad1a4","status":"affected","version":"2b4384542691fddd309f9324b5a9af976b75e918","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["arch/microblaze/kernel/ptrace.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.30"},{"lessThan":"2.6.30","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"2.6.30","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"2.6.30","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.30","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.30","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"2.6.30","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"2.6.30","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"2.6.30","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.30","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"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."}]}],"providerMetadata":{"dateUpdated":"2026-12-01T05:43:19.971Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139775","datePublished":"2026-11-30T13:37:53.393Z","dateReserved":"2026-11-30T13:22:15.952Z","dateUpdated":"2026-12-01T05:43:19.971Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:10","lastModifiedDate":"2026-12-01 06:17:49","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"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","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139775","Ordinal":"1","Title":"microblaze: prevent ptrace writes to MSR and pt_mode","CVE":"CVE-2026-139775","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139775","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"microblaze: prevent ptrace writes to MSR and pt_mode"}]}}}