<?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:14:02 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139060 — microblaze: don't clobber r3/r4 restored by rt_sigreturn</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139060</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: don&amp;#39;t clobber r3/r4 restored by rt_sigreturn&lt;/p&gt;
&lt;p&gt;ret_from_trap begins by storing the system call return values r3 and r4
back into the saved user pt_regs.  That is right for an ordinary system
call, but sys_rt_sigreturn() returns through the same path and has to be
transparent: restore_sigcontext() has just filled pt_regs from the signal
frame, and every register must reach userspace exactly as saved.  The two
stores overwrite the restored r3/r4 with whatever the C function left in
those registers.&lt;/p&gt;
&lt;p&gt;Only r4 is actually lost, and that follows from how sigreturn is written
everywhere rather than from chance.  Architectures have sys_rt_sigreturn()
return the restored return-value register precisely so that this writeback
stores the restored value -- arm returns regs-&amp;gt;ARM_r0, riscv and csky
regs-&amp;gt;a0, arc regs-&amp;gt;r0 -- and microblaze does the same through
*rval_p = regs-&amp;gt;r3 in restore_sigcontext().  But the entry macros treat r3
and r4 as a pair, so ret_from_trap writes back two registers while a C
function has only one return value; nothing carries the restored r4.&lt;/p&gt;
&lt;p&gt;Commit 791d0a169b91 (&amp;#34;microblaze: Fix sys_rt_sigreturn_wrapper&amp;#34;) introduced
this in v2.6.37.  The old wrapper saved r3/r4 before the call and reloaded
them from pt_regs afterwards; switching brlid to brid removed the only
point where they were reloaded, and the stores have been overwriting them
ever since.&lt;/p&gt;
&lt;p&gt;Fix it the way the sibling paths al…&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: don&amp;#39;t clobber r3/r4 restored by rt_sigreturn&lt;/p&gt;
&lt;p&gt;ret_from_trap begins by storing the system call return values r3 and r4
back into the saved user pt_regs.  That is right for an ordinary system
call, but sys_rt_sigreturn() returns through the same path and has to be
transparent: restore_sigcontext() has just filled pt_regs from the signal
frame, and every register must reach userspace exactly as saved.  The two
stores overwrite the restored r3/r4 with whatever the C function left in
those registers.&lt;/p&gt;
&lt;p&gt;Only r4 is actually lost, and that follows from how sigreturn is written
everywhere rather than from chance.  Architectures have sys_rt_sigreturn()
return the restored return-value register precisely so that this writeback
stores the restored value -- arm returns regs-&amp;gt;ARM_r0, riscv and csky
regs-&amp;gt;a0, arc regs-&amp;gt;r0 -- and microblaze does the same through
*rval_p = regs-&amp;gt;r3 in restore_sigcontext().  But the entry macros treat r3
and r4 as a pair, so ret_from_trap writes back two registers while a C
function has only one return value; nothing carries the restored r4.&lt;/p&gt;
&lt;p&gt;Commit 791d0a169b91 (&amp;#34;microblaze: Fix sys_rt_sigreturn_wrapper&amp;#34;) introduced
this in v2.6.37.  The old wrapper saved r3/r4 before the call and reloaded
them from pt_regs afterwards; switching brlid to brid removed the only
point where they were reloaded, and the stores have been overwriting them
ever since.&lt;/p&gt;
&lt;p&gt;Fix it the way the sibling paths al…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139060</guid>
    </item>
  </channel>
</rss>
