<?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 23:04:33 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-50225 — btrfs: fix error propagation of split bios</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-50225</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 error propagation of split bios&lt;/p&gt;
&lt;p&gt;The purpose of btrfs_bbio_propagate_error() shall be propagating an error
of split bio to its original btrfs_bio, and tell the error to the upper
layer. However, it&amp;#39;s not working well on some cases.&lt;/p&gt;
&lt;p&gt;* Case 1. Immediate (or quick) end_bio with an error&lt;/p&gt;
&lt;p&gt;When btrfs sends btrfs_bio to mirrored devices, btrfs calls
btrfs_bio_end_io() when all the mirroring bios are completed. If that
btrfs_bio was split, it is from btrfs_clone_bioset and its end_io function
is btrfs_orig_write_end_io. For this case, btrfs_bbio_propagate_error()
accesses the orig_bbio&amp;#39;s bio context to increase the error count.&lt;/p&gt;
&lt;p&gt;That works well in most cases. However, if the end_io is called enough
fast, orig_bbio&amp;#39;s (remaining part after split) bio context may not be
properly set at that time. Since the bio context is set when the orig_bbio
(the last btrfs_bio) is sent to devices, that might be too late for earlier
split btrfs_bio&amp;#39;s completion.  That will result in NULL pointer
dereference.&lt;/p&gt;
&lt;p&gt;That bug is easily reproducible by running btrfs/146 on zoned devices [1]
and it shows the following trace.&lt;/p&gt;
&lt;p&gt;[1] You need raid-stripe-tree feature as it create &amp;#34;-d raid0 -m raid1&amp;#34; FS.&lt;/p&gt;
&lt;p&gt;BUG: kernel NULL pointer dereference, address: 0000000000000020
  #PF: supervisor read access in kernel mode
  #PF: error_code(0x0000) - not-present page
  PGD 0 P4D 0
  Oops: Oops: 0000 [#1] PREEMPT SMP PTI
  CPU: 1 UID: 0 PID: 13…&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 error propagation of split bios&lt;/p&gt;
&lt;p&gt;The purpose of btrfs_bbio_propagate_error() shall be propagating an error
of split bio to its original btrfs_bio, and tell the error to the upper
layer. However, it&amp;#39;s not working well on some cases.&lt;/p&gt;
&lt;p&gt;* Case 1. Immediate (or quick) end_bio with an error&lt;/p&gt;
&lt;p&gt;When btrfs sends btrfs_bio to mirrored devices, btrfs calls
btrfs_bio_end_io() when all the mirroring bios are completed. If that
btrfs_bio was split, it is from btrfs_clone_bioset and its end_io function
is btrfs_orig_write_end_io. For this case, btrfs_bbio_propagate_error()
accesses the orig_bbio&amp;#39;s bio context to increase the error count.&lt;/p&gt;
&lt;p&gt;That works well in most cases. However, if the end_io is called enough
fast, orig_bbio&amp;#39;s (remaining part after split) bio context may not be
properly set at that time. Since the bio context is set when the orig_bbio
(the last btrfs_bio) is sent to devices, that might be too late for earlier
split btrfs_bio&amp;#39;s completion.  That will result in NULL pointer
dereference.&lt;/p&gt;
&lt;p&gt;That bug is easily reproducible by running btrfs/146 on zoned devices [1]
and it shows the following trace.&lt;/p&gt;
&lt;p&gt;[1] You need raid-stripe-tree feature as it create &amp;#34;-d raid0 -m raid1&amp;#34; FS.&lt;/p&gt;
&lt;p&gt;BUG: kernel NULL pointer dereference, address: 0000000000000020
  #PF: supervisor read access in kernel mode
  #PF: error_code(0x0000) - not-present page
  PGD 0 P4D 0
  Oops: Oops: 0000 [#1] PREEMPT SMP PTI
  CPU: 1 UID: 0 PID: 13…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-50225</guid>
    </item>
  </channel>
</rss>
