<?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://vulnerability.circl.lu</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, 02 Oct 2026 02:38:43 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-71109 — MIPS: ftrace: Fix memory corruption when kernel is located beyond 32 bits</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-71109</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;MIPS: ftrace: Fix memory corruption when kernel is located beyond 32 bits&lt;/p&gt;
&lt;p&gt;Since commit e424054000878 (&amp;#34;MIPS: Tracing: Reduce the overhead of
dynamic Function Tracer&amp;#34;), the macro UASM_i_LA_mostly has been used,
and this macro can generate more than 2 instructions. At the same
time, the code in ftrace assumes that no more than 2 instructions can
be generated, which is why it stores them in an int[2] array. However,
as previously noted, the macro UASM_i_LA_mostly (and now UASM_i_LA)
causes a buffer overflow when _mcount is beyond 32 bits. This leads to
corruption of the variables located in the __read_mostly section.&lt;/p&gt;
&lt;p&gt;This corruption was observed because the variable
__cpu_primary_thread_mask was corrupted, causing a hang very early
during boot.&lt;/p&gt;
&lt;p&gt;This fix prevents the corruption by avoiding the generation of
instructions if they could exceed 2 instructions in
length. Fortunately, insn_la_mcount is only used if the instrumented
code is located outside the kernel code section, so dynamic ftrace can
still be used, albeit in a more limited scope. This is still
preferable to corrupting memory and/or crashing the kernel.&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;MIPS: ftrace: Fix memory corruption when kernel is located beyond 32 bits&lt;/p&gt;
&lt;p&gt;Since commit e424054000878 (&amp;#34;MIPS: Tracing: Reduce the overhead of
dynamic Function Tracer&amp;#34;), the macro UASM_i_LA_mostly has been used,
and this macro can generate more than 2 instructions. At the same
time, the code in ftrace assumes that no more than 2 instructions can
be generated, which is why it stores them in an int[2] array. However,
as previously noted, the macro UASM_i_LA_mostly (and now UASM_i_LA)
causes a buffer overflow when _mcount is beyond 32 bits. This leads to
corruption of the variables located in the __read_mostly section.&lt;/p&gt;
&lt;p&gt;This corruption was observed because the variable
__cpu_primary_thread_mask was corrupted, causing a hang very early
during boot.&lt;/p&gt;
&lt;p&gt;This fix prevents the corruption by avoiding the generation of
instructions if they could exceed 2 instructions in
length. Fortunately, insn_la_mcount is only used if the instrumented
code is located outside the kernel code section, so dynamic ftrace can
still be used, albeit in a more limited scope. This is still
preferable to corrupting memory and/or crashing the kernel.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-71109</guid>
    </item>
  </channel>
</rss>
