<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-28T23:15:43.036266+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-93800</id>
    <title>CVE-2026-93800 — btrfs: fix use-after-free on reloc root after error in insert_dirty_subvol()</title>
    <updated>2026-09-28T23:15:43.637581+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>btrfs: fix use-after-free on reloc root after error in insert_dirty_subvol()</p>
<p>If during relocation we fail in insert_dirty_subvol() because
btrfs_update_reloc_root() returned an error, we will leave a root's
reloc_root field pointing to a reloc root that was freed instead of NULL,
resulting later in a use-after-free, or double free attempt during
unmount.</p>
<p>The sequence of steps is this:</p>
<p>1) During relocation the call to btrfs_update_reloc_root() in
   insert_dirty_subvol() fails, so insert_dirty_subvol() returns the
   error to merge_reloc_root() without adding the root to the list
   rc-&gt;dirty_subvol_roots;</p>
<p>2) Then merge_reloc_root() aborts the current transaction because
   insert_dirty_subvol() returned an error;</p>
<p>3) Up the call chain, merge_reloc_roots() gets the error, adds the
   reloc root for root X to the local reloc_roots list and jumps to the
   'out' label, where it calls free_reloc_roots() to free all the reloc
   roots in the local reloc_roots list. This frees the reloc root for
   root X;</p>
<p>4) We go up the call chain to relocate_block_group() which calls
   clean_dirty_subvols() to go over dirty roots and set their
   -&gt;reloc_root field to NULL, but root X is not in the dirty_subvol_roots
   list, so its -&gt;reloc_root still points to a reloc root;</p>
<p>5) Relocation finishes, with an error and a transaction abort, but the
   -&gt;reloc_root field for root X still points to the reloc root that was…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-93800"/>
  </entry>
</feed>
