<?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>Sat, 03 Oct 2026 23:01:46 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-23181 — btrfs: sync read disk super and set block size</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-23181</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: sync read disk super and set block size&lt;/p&gt;
&lt;p&gt;When the user performs a btrfs mount, the block device is not set
correctly. The user sets the block size of the block device to 0x4000
by executing the BLKBSZSET command.
Since the block size change also changes the mapping-&amp;gt;flags value, this
further affects the result of the mapping_min_folio_order() calculation.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s analyze the following two scenarios:&lt;/p&gt;
&lt;p&gt;Scenario 1: Without executing the BLKBSZSET command, the block size is
0x1000, and mapping_min_folio_order() returns 0;&lt;/p&gt;
&lt;p&gt;Scenario 2: After executing the BLKBSZSET command, the block size is
0x4000, and mapping_min_folio_order() returns 2.&lt;/p&gt;
&lt;p&gt;do_read_cache_folio() allocates a folio before the BLKBSZSET command
is executed. This results in the allocated folio having an order value
of 0. Later, after BLKBSZSET is executed, the block size increases to
0x4000, and the mapping_min_folio_order() calculation result becomes 2.&lt;/p&gt;
&lt;p&gt;This leads to two undesirable consequences:&lt;/p&gt;
&lt;p&gt;1. filemap_add_folio() triggers a VM_BUG_ON_FOLIO(folio_order(folio) &amp;lt;
mapping_min_folio_order(mapping)) assertion.&lt;/p&gt;
&lt;p&gt;2. The syzbot report [1] shows a null pointer dereference in
create_empty_buffers() due to a buffer head allocation failure.&lt;/p&gt;
&lt;p&gt;Synchronization should be established based on the inode between the
BLKBSZSET command and read cache page to prevent inconsistencies in
block size or mapping flags before and after folio allocation.&lt;/p&gt;
&lt;p&gt;[1]
KASA…&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: sync read disk super and set block size&lt;/p&gt;
&lt;p&gt;When the user performs a btrfs mount, the block device is not set
correctly. The user sets the block size of the block device to 0x4000
by executing the BLKBSZSET command.
Since the block size change also changes the mapping-&amp;gt;flags value, this
further affects the result of the mapping_min_folio_order() calculation.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s analyze the following two scenarios:&lt;/p&gt;
&lt;p&gt;Scenario 1: Without executing the BLKBSZSET command, the block size is
0x1000, and mapping_min_folio_order() returns 0;&lt;/p&gt;
&lt;p&gt;Scenario 2: After executing the BLKBSZSET command, the block size is
0x4000, and mapping_min_folio_order() returns 2.&lt;/p&gt;
&lt;p&gt;do_read_cache_folio() allocates a folio before the BLKBSZSET command
is executed. This results in the allocated folio having an order value
of 0. Later, after BLKBSZSET is executed, the block size increases to
0x4000, and the mapping_min_folio_order() calculation result becomes 2.&lt;/p&gt;
&lt;p&gt;This leads to two undesirable consequences:&lt;/p&gt;
&lt;p&gt;1. filemap_add_folio() triggers a VM_BUG_ON_FOLIO(folio_order(folio) &amp;lt;
mapping_min_folio_order(mapping)) assertion.&lt;/p&gt;
&lt;p&gt;2. The syzbot report [1] shows a null pointer dereference in
create_empty_buffers() due to a buffer head allocation failure.&lt;/p&gt;
&lt;p&gt;Synchronization should be established based on the inode between the
BLKBSZSET command and read cache page to prevent inconsistencies in
block size or mapping flags before and after folio allocation.&lt;/p&gt;
&lt;p&gt;[1]
KASA…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-23181</guid>
    </item>
  </channel>
</rss>
