<?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>Wed, 30 Sep 2026 03:07:17 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-71159 — btrfs: fix use-after-free warning in btrfs_get_or_create_delayed_node()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-71159</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;btrfs: fix use-after-free warning in btrfs_get_or_create_delayed_node()&lt;/p&gt;
&lt;p&gt;Previously, btrfs_get_or_create_delayed_node() set the delayed_node&amp;#39;s
refcount before acquiring the root-&amp;gt;delayed_nodes lock.
Commit e8513c012de7 (&amp;#34;btrfs: implement ref_tracker for delayed_nodes&amp;#34;)
moved refcount_set inside the critical section, which means there is
no longer a memory barrier between setting the refcount and setting
btrfs_inode-&amp;gt;delayed_node.&lt;/p&gt;
&lt;p&gt;Without that barrier, the stores to node-&amp;gt;refs and
btrfs_inode-&amp;gt;delayed_node may become visible out of order. Another
thread can then read btrfs_inode-&amp;gt;delayed_node and attempt to
increment a refcount that hasn&amp;#39;t been set yet, leading to a
refcounting bug and a use-after-free warning.&lt;/p&gt;
&lt;p&gt;The fix is to move refcount_set back to where it was to take
advantage of the implicit memory barrier provided by lock
acquisition.&lt;/p&gt;
&lt;p&gt;Because the allocations now happen outside of the lock&amp;#39;s critical
section, they can use GFP_NOFS instead of GFP_ATOMIC.&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;btrfs: fix use-after-free warning in btrfs_get_or_create_delayed_node()&lt;/p&gt;
&lt;p&gt;Previously, btrfs_get_or_create_delayed_node() set the delayed_node&amp;#39;s
refcount before acquiring the root-&amp;gt;delayed_nodes lock.
Commit e8513c012de7 (&amp;#34;btrfs: implement ref_tracker for delayed_nodes&amp;#34;)
moved refcount_set inside the critical section, which means there is
no longer a memory barrier between setting the refcount and setting
btrfs_inode-&amp;gt;delayed_node.&lt;/p&gt;
&lt;p&gt;Without that barrier, the stores to node-&amp;gt;refs and
btrfs_inode-&amp;gt;delayed_node may become visible out of order. Another
thread can then read btrfs_inode-&amp;gt;delayed_node and attempt to
increment a refcount that hasn&amp;#39;t been set yet, leading to a
refcounting bug and a use-after-free warning.&lt;/p&gt;
&lt;p&gt;The fix is to move refcount_set back to where it was to take
advantage of the implicit memory barrier provided by lock
acquisition.&lt;/p&gt;
&lt;p&gt;Because the allocations now happen outside of the lock&amp;#39;s critical
section, they can use GFP_NOFS instead of GFP_ATOMIC.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-71159</guid>
    </item>
  </channel>
</rss>
