<?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://db.gcve.eu</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>Sat, 05 Dec 2026 12:22:11 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-143241 — btrfs: zoned: don't wait for ordered extents in do_zone_finish()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-143241</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: zoned: don&amp;#39;t wait for ordered extents in do_zone_finish()&lt;/p&gt;
&lt;p&gt;do_zone_finish() calls btrfs_wait_ordered_roots(), which holds
fs_info-&amp;gt;ordered_operations_mutex while waiting for writeback. It can be
reached from writeback itself:&lt;/p&gt;
&lt;p&gt;cow_file_range()
  `-&amp;gt; btrfs_reserve_extent()
    `-&amp;gt; find_free_extent()
      `-&amp;gt; btrfs_zone_finish_one_bg()
        `-&amp;gt; do_zone_finish()&lt;/p&gt;
&lt;p&gt;If another task holds the mutex and waits for that writeback, this
deadlocks.&lt;/p&gt;
&lt;p&gt;In general, we want to ensure all writes in the block group to
complete before finishing the zone, as relocation does. However, the
current callers do not need the wait (or cannot wait) in do_zone_finish():&lt;/p&gt;
&lt;p&gt;- Relocation already waits for reservations and ordered extents itself
  before calling btrfs_zone_finish().
- btrfs_delete_unused_bgs() checks that -&amp;gt;reserved is zero and sets the
  block group read-only while holding groups_sem, so there can be no
  in-flight data write.
- btrfs_zone_finish_one_bg() is called from the allocation path and
  cannot wait.&lt;/p&gt;
&lt;p&gt;Dropping the wait is still safe. Once the block group is read-only,
-&amp;gt;reserved can only drop, and for data it only drops after the ordered
extent&amp;#39;s I/O has completed. So if -&amp;gt;reserved is zero, no data write is
left in flight. If it is non-zero, do_zone_finish() returns -EAGAIN,
which all callers handle.&lt;/p&gt;
&lt;p&gt;This makes btrfs_zone_finish_one_bg() fail with -EAGAIN when it races
with an allocation in the selecte…&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: zoned: don&amp;#39;t wait for ordered extents in do_zone_finish()&lt;/p&gt;
&lt;p&gt;do_zone_finish() calls btrfs_wait_ordered_roots(), which holds
fs_info-&amp;gt;ordered_operations_mutex while waiting for writeback. It can be
reached from writeback itself:&lt;/p&gt;
&lt;p&gt;cow_file_range()
  `-&amp;gt; btrfs_reserve_extent()
    `-&amp;gt; find_free_extent()
      `-&amp;gt; btrfs_zone_finish_one_bg()
        `-&amp;gt; do_zone_finish()&lt;/p&gt;
&lt;p&gt;If another task holds the mutex and waits for that writeback, this
deadlocks.&lt;/p&gt;
&lt;p&gt;In general, we want to ensure all writes in the block group to
complete before finishing the zone, as relocation does. However, the
current callers do not need the wait (or cannot wait) in do_zone_finish():&lt;/p&gt;
&lt;p&gt;- Relocation already waits for reservations and ordered extents itself
  before calling btrfs_zone_finish().
- btrfs_delete_unused_bgs() checks that -&amp;gt;reserved is zero and sets the
  block group read-only while holding groups_sem, so there can be no
  in-flight data write.
- btrfs_zone_finish_one_bg() is called from the allocation path and
  cannot wait.&lt;/p&gt;
&lt;p&gt;Dropping the wait is still safe. Once the block group is read-only,
-&amp;gt;reserved can only drop, and for data it only drops after the ordered
extent&amp;#39;s I/O has completed. So if -&amp;gt;reserved is zero, no data write is
left in flight. If it is non-zero, do_zone_finish() returns -EAGAIN,
which all callers handle.&lt;/p&gt;
&lt;p&gt;This makes btrfs_zone_finish_one_bg() fail with -EAGAIN when it races
with an allocation in the selecte…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-143241</guid>
    </item>
  </channel>
</rss>
