<?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 01:01:50 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-31519 — btrfs: set BTRFS_ROOT_ORPHAN_CLEANUP during subvol create</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-31519</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: set BTRFS_ROOT_ORPHAN_CLEANUP during subvol create&lt;/p&gt;
&lt;p&gt;We have recently observed a number of subvolumes with broken dentries.
ls-ing the parent dir looks like:&lt;/p&gt;
&lt;p&gt;drwxrwxrwt 1 root root 16 Jan 23 16:49 .
drwxr-xr-x 1 root root 24 Jan 23 16:48 ..
d????????? ? ?    ?     ?            ? broken_subvol&lt;/p&gt;
&lt;p&gt;and similarly stat-ing the file fails.&lt;/p&gt;
&lt;p&gt;In this state, deleting the subvol fails with ENOENT, but attempting to
create a new file or subvol over it errors out with EEXIST and even
aborts the fs. Which leaves us a bit stuck.&lt;/p&gt;
&lt;p&gt;dmesg contains a single notable error message reading:
&amp;#34;could not do orphan cleanup -2&amp;#34;&lt;/p&gt;
&lt;p&gt;2 is ENOENT and the error comes from the failure handling path of
btrfs_orphan_cleanup(), with the stack leading back up to
btrfs_lookup().&lt;/p&gt;
&lt;p&gt;btrfs_lookup
btrfs_lookup_dentry
btrfs_orphan_cleanup // prints that message and returns -ENOENT&lt;/p&gt;
&lt;p&gt;After some detailed inspection of the internal state, it became clear
that:
- there are no orphan items for the subvol
- the subvol is otherwise healthy looking, it is not half-deleted or
  anything, there is no drop progress, etc.
- the subvol was created a while ago and does the meaningful first
  btrfs_orphan_cleanup() call that sets BTRFS_ROOT_ORPHAN_CLEANUP much
  later.
- after btrfs_orphan_cleanup() fails, btrfs_lookup_dentry() returns -ENOENT,
  which results in a negative dentry for the subvolume via
  d_splice_alias(NULL, dentry), leading to the observed beha…&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: set BTRFS_ROOT_ORPHAN_CLEANUP during subvol create&lt;/p&gt;
&lt;p&gt;We have recently observed a number of subvolumes with broken dentries.
ls-ing the parent dir looks like:&lt;/p&gt;
&lt;p&gt;drwxrwxrwt 1 root root 16 Jan 23 16:49 .
drwxr-xr-x 1 root root 24 Jan 23 16:48 ..
d????????? ? ?    ?     ?            ? broken_subvol&lt;/p&gt;
&lt;p&gt;and similarly stat-ing the file fails.&lt;/p&gt;
&lt;p&gt;In this state, deleting the subvol fails with ENOENT, but attempting to
create a new file or subvol over it errors out with EEXIST and even
aborts the fs. Which leaves us a bit stuck.&lt;/p&gt;
&lt;p&gt;dmesg contains a single notable error message reading:
&amp;#34;could not do orphan cleanup -2&amp;#34;&lt;/p&gt;
&lt;p&gt;2 is ENOENT and the error comes from the failure handling path of
btrfs_orphan_cleanup(), with the stack leading back up to
btrfs_lookup().&lt;/p&gt;
&lt;p&gt;btrfs_lookup
btrfs_lookup_dentry
btrfs_orphan_cleanup // prints that message and returns -ENOENT&lt;/p&gt;
&lt;p&gt;After some detailed inspection of the internal state, it became clear
that:
- there are no orphan items for the subvol
- the subvol is otherwise healthy looking, it is not half-deleted or
  anything, there is no drop progress, etc.
- the subvol was created a while ago and does the meaningful first
  btrfs_orphan_cleanup() call that sets BTRFS_ROOT_ORPHAN_CLEANUP much
  later.
- after btrfs_orphan_cleanup() fails, btrfs_lookup_dentry() returns -ENOENT,
  which results in a negative dentry for the subvolume via
  d_splice_alias(NULL, dentry), leading to the observed beha…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-31519</guid>
    </item>
  </channel>
</rss>
