<?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:48:00 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-80537 — xfs: fix off-by-one in rtrefcount btree root level validation</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-80537</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;xfs: fix off-by-one in rtrefcount btree root level validation&lt;/p&gt;
&lt;p&gt;xfs_rtrefcountbt_compute_maxlevels() sets&lt;/p&gt;
&lt;p&gt;mp-&amp;gt;m_rtrefc_maxlevels = min(d_maxlevels, r_maxlevels) + 1;&lt;/p&gt;
&lt;p&gt;where the trailing &amp;#34;+ 1&amp;#34; already accounts for the inode-root level, so the
deepest valid on-disk root level is m_rtrefc_maxlevels - 1 and a cursor must
satisfy bc_nlevels &amp;lt;= bc_maxlevels (= m_rtrefc_maxlevels).&lt;/p&gt;
&lt;p&gt;The two on-disk validation paths, xfs_rtrefcountbt_verify() and
xfs_iformat_rtrefcount(), check the root level with &amp;#34;&amp;gt;&amp;#34; instead of &amp;#34;&amp;gt;=&amp;#34;, so a
crafted rtreflink (metadir + realtime + reflink) image whose
/rtgroups/N.refcount inode has bb_level == m_rtrefc_maxlevels is accepted on
mount. xfs_rtrefcountbt_init_cursor() then sets bc_nlevels = bb_level + 1,
exceeding bc_maxlevels by one. Since the xfs_rtrefcountbt_cur slab object is
sized for exactly bc_maxlevels entries, the first btree op on such a cursor
indexes bc_levels[m_rtrefc_maxlevels] past the end of the object. This is
reached by the first rtrefcount cursor built after mount, via log/CoW
recovery (xfs_reflink_recover_cow() during xfs_mountfs()) or an
FS_IOC_GETFSMAP over the realtime device.&lt;/p&gt;
&lt;p&gt;Reject a root level equal to m_rtrefc_maxlevels, matching the &amp;#34;&amp;gt;=&amp;#34; form
already used by the sibling data-device refcount/rmap verifiers and the
in-memory rtrmap verifier.&lt;/p&gt;
&lt;p&gt;BUG: KASAN: slab-out-of-bounds in xfs_btree_lookup (fs/xfs/libxfs/xfs_btree.c:2101)
  Write of size 2 at addr ffff888…&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;xfs: fix off-by-one in rtrefcount btree root level validation&lt;/p&gt;
&lt;p&gt;xfs_rtrefcountbt_compute_maxlevels() sets&lt;/p&gt;
&lt;p&gt;mp-&amp;gt;m_rtrefc_maxlevels = min(d_maxlevels, r_maxlevels) + 1;&lt;/p&gt;
&lt;p&gt;where the trailing &amp;#34;+ 1&amp;#34; already accounts for the inode-root level, so the
deepest valid on-disk root level is m_rtrefc_maxlevels - 1 and a cursor must
satisfy bc_nlevels &amp;lt;= bc_maxlevels (= m_rtrefc_maxlevels).&lt;/p&gt;
&lt;p&gt;The two on-disk validation paths, xfs_rtrefcountbt_verify() and
xfs_iformat_rtrefcount(), check the root level with &amp;#34;&amp;gt;&amp;#34; instead of &amp;#34;&amp;gt;=&amp;#34;, so a
crafted rtreflink (metadir + realtime + reflink) image whose
/rtgroups/N.refcount inode has bb_level == m_rtrefc_maxlevels is accepted on
mount. xfs_rtrefcountbt_init_cursor() then sets bc_nlevels = bb_level + 1,
exceeding bc_maxlevels by one. Since the xfs_rtrefcountbt_cur slab object is
sized for exactly bc_maxlevels entries, the first btree op on such a cursor
indexes bc_levels[m_rtrefc_maxlevels] past the end of the object. This is
reached by the first rtrefcount cursor built after mount, via log/CoW
recovery (xfs_reflink_recover_cow() during xfs_mountfs()) or an
FS_IOC_GETFSMAP over the realtime device.&lt;/p&gt;
&lt;p&gt;Reject a root level equal to m_rtrefc_maxlevels, matching the &amp;#34;&amp;gt;=&amp;#34; form
already used by the sibling data-device refcount/rmap verifiers and the
in-memory rtrmap verifier.&lt;/p&gt;
&lt;p&gt;BUG: KASAN: slab-out-of-bounds in xfs_btree_lookup (fs/xfs/libxfs/xfs_btree.c:2101)
  Write of size 2 at addr ffff888…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-80537</guid>
    </item>
  </channel>
</rss>
