<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 04 Dec 2026 19:21:24 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139059 — microblaze: preserve the MSR carry flags across signals</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139059</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;microblaze: preserve the MSR carry flags across signals&lt;/p&gt;
&lt;p&gt;setup_sigcontext() and restore_sigcontext() copy r0-r31, pc, ear, esr and
fsr to and from the signal frame but never touch MSR.  The interrupted
MSR is therefore dropped from the signal context entirely: the handler&amp;#39;s
ucontext does not expose it, a handler cannot adjust the resumed
arithmetic flags through uc_mcontext.regs.msr, and -- because
restore_sigcontext() leaves regs-&amp;gt;msr as whatever the rt_sigreturn trap
left in it -- the interrupted context resumes with the carry produced by
the syscall entry path (_user_exception does &amp;#34;addi r14, r14, 4&amp;#34;, which
writes carry), not with its own.&lt;/p&gt;
&lt;p&gt;Other architectures round-trip the user-visible flags through the signal
frame (arm&amp;#39;s cpsr, csky&amp;#39;s carry, x86&amp;#39;s eflags), so a handler can both read
and adjust the resumed flags; purely privileged status registers such as
riscv&amp;#39;s sstatus are left out.  MicroBlaze should do the same for the
user-writable bits.&lt;/p&gt;
&lt;p&gt;Concretely, MSR[C] (carry) is lost across signal delivery.  Code that
keeps a live carry across a point where a signal can be delivered -- for
example an lwx/swx compare-and-swap retry loop, between the swx and the
carry test -- resumes with the handler&amp;#39;s carry and mis-evaluates the
result; the same failure class as the rt_sigreturn r3/r4 clobber, reached
through a different register.  Demonstrated under qemu-system-microblazeel
(machine petalogix-s3adsp1800): a…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;microblaze: preserve the MSR carry flags across signals&lt;/p&gt;
&lt;p&gt;setup_sigcontext() and restore_sigcontext() copy r0-r31, pc, ear, esr and
fsr to and from the signal frame but never touch MSR.  The interrupted
MSR is therefore dropped from the signal context entirely: the handler&amp;#39;s
ucontext does not expose it, a handler cannot adjust the resumed
arithmetic flags through uc_mcontext.regs.msr, and -- because
restore_sigcontext() leaves regs-&amp;gt;msr as whatever the rt_sigreturn trap
left in it -- the interrupted context resumes with the carry produced by
the syscall entry path (_user_exception does &amp;#34;addi r14, r14, 4&amp;#34;, which
writes carry), not with its own.&lt;/p&gt;
&lt;p&gt;Other architectures round-trip the user-visible flags through the signal
frame (arm&amp;#39;s cpsr, csky&amp;#39;s carry, x86&amp;#39;s eflags), so a handler can both read
and adjust the resumed flags; purely privileged status registers such as
riscv&amp;#39;s sstatus are left out.  MicroBlaze should do the same for the
user-writable bits.&lt;/p&gt;
&lt;p&gt;Concretely, MSR[C] (carry) is lost across signal delivery.  Code that
keeps a live carry across a point where a signal can be delivered -- for
example an lwx/swx compare-and-swap retry loop, between the swx and the
carry test -- resumes with the handler&amp;#39;s carry and mis-evaluates the
result; the same failure class as the rt_sigreturn r3/r4 clobber, reached
through a different register.  Demonstrated under qemu-system-microblazeel
(machine petalogix-s3adsp1800): a…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139059</guid>
    </item>
  </channel>
</rss>
