<?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>Tue, 29 Sep 2026 22:36:57 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-71072 — shmem: fix recovery on rename failures</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-71072</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;shmem: fix recovery on rename failures&lt;/p&gt;
&lt;p&gt;maple_tree insertions can fail if we are seriously short on memory;
simple_offset_rename() does not recover well if it runs into that.
The same goes for simple_offset_rename_exchange().&lt;/p&gt;
&lt;p&gt;Moreover, shmem_whiteout() expects that if it succeeds, the caller will
progress to d_move(), i.e. that shmem_rename2() won&amp;#39;t fail past the
successful call of shmem_whiteout().&lt;/p&gt;
&lt;p&gt;Not hard to fix, fortunately - mtree_store() can&amp;#39;t fail if the index we
are trying to store into is already present in the tree as a singleton.&lt;/p&gt;
&lt;p&gt;For simple_offset_rename_exchange() that&amp;#39;s enough - we just need to be
careful about the order of operations.&lt;/p&gt;
&lt;p&gt;For simple_offset_rename() solution is to preinsert the target into the
tree for new_dir; the rest can be done without any potentially failing
operations.&lt;/p&gt;
&lt;p&gt;That preinsertion has to be done in shmem_rename2() rather than in
simple_offset_rename() itself - otherwise we&amp;#39;d need to deal with the
possibility of failure after successful shmem_whiteout().&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;shmem: fix recovery on rename failures&lt;/p&gt;
&lt;p&gt;maple_tree insertions can fail if we are seriously short on memory;
simple_offset_rename() does not recover well if it runs into that.
The same goes for simple_offset_rename_exchange().&lt;/p&gt;
&lt;p&gt;Moreover, shmem_whiteout() expects that if it succeeds, the caller will
progress to d_move(), i.e. that shmem_rename2() won&amp;#39;t fail past the
successful call of shmem_whiteout().&lt;/p&gt;
&lt;p&gt;Not hard to fix, fortunately - mtree_store() can&amp;#39;t fail if the index we
are trying to store into is already present in the tree as a singleton.&lt;/p&gt;
&lt;p&gt;For simple_offset_rename_exchange() that&amp;#39;s enough - we just need to be
careful about the order of operations.&lt;/p&gt;
&lt;p&gt;For simple_offset_rename() solution is to preinsert the target into the
tree for new_dir; the rest can be done without any potentially failing
operations.&lt;/p&gt;
&lt;p&gt;That preinsertion has to be done in shmem_rename2() rather than in
simple_offset_rename() itself - otherwise we&amp;#39;d need to deal with the
possibility of failure after successful shmem_whiteout().&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-71072</guid>
    </item>
  </channel>
</rss>
