{"id":11945,"date":"2026-09-04T18:53:58","date_gmt":"2026-09-04T10:53:58","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80537"},"modified":"2026-09-04T18:53:58","modified_gmt":"2026-09-04T10:53:58","slug":"cve-2026-80537","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80537","title":{"rendered":"CVE-2026-80537 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix off-by-one i"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>xfs: fix off-by-one in rtrefcount btree root level validation<\/p>\n<p>xfs_rtrefcountbt_compute_maxlevels() sets<\/p>\n<p>\tmp-&gt;m_rtrefc_maxlevels = min(d_maxlevels, r_maxlevels) + 1;<\/p>\n<p>where the trailing &#8220;+ 1&#8243; already accounts for the inode-root level, so the<br \/>\ndeepest valid on-disk root level is m_rtrefc_maxlevels &#8211; 1 and a cursor must<br \/>\nsatisfy bc_nlevels &#8221; instead of &#8220;&gt;=&#8221;, so a<br \/>\ncrafted rtreflink (metadir + realtime + reflink) image whose<br \/>\n\/rtgroups\/N.refcount inode has bb_level == m_rtrefc_maxlevels is accepted on<br \/>\nmount. xfs_rtrefcountbt_init_cursor() then sets bc_nlevels = bb_level + 1,<br \/>\nexceeding bc_maxlevels by one. Since the xfs_rtrefcountbt_cur slab object is<br \/>\nsized for exactly bc_maxlevels entries, the first btree op on such a cursor<br \/>\nindexes bc_levels[m_rtrefc_maxlevels] past the end of the object. This is<br \/>\nreached by the first rtrefcount cursor built after mount, via log\/CoW<br \/>\nrecovery (xfs_reflink_recover_cow() during xfs_mountfs()) or an<br \/>\nFS_IOC_GETFSMAP over the realtime device.<\/p>\n<p>Reject a root level equal to m_rtrefc_maxlevels, matching the &#8220;&gt;=&#8221; form<br \/>\nalready used by the sibling data-device refcount\/rmap verifiers and the<br \/>\nin-memory rtrmap verifier.<\/p>\n<p>  BUG: KASAN: slab-out-of-bounds in xfs_btree_lookup (fs\/xfs\/libxfs\/xfs_btree.c:2101)<br \/>\n  Write of size 2 at addr ffff888018391658 by task exploit\/144<br \/>\n   xfs_btree_lookup (fs\/xfs\/libxfs\/xfs_btree.c:2101)<br \/>\n   xfs_btree_query_range (fs\/xfs\/libxfs\/xfs_btree.c:5308)<br \/>\n   xfs_refcount_recover_cow_leftovers (fs\/xfs\/libxfs\/xfs_refcount.c:2113)<br \/>\n   xfs_reflink_recover_cow (fs\/xfs\/xfs_reflink.c:1085)<br \/>\n   xlog_recover_finish (fs\/xfs\/xfs_log_recover.c:3551)<br \/>\n   xfs_mountfs (fs\/xfs\/xfs_mount.c:1158)<br \/>\n   xfs_fs_fill_super (fs\/xfs\/xfs_super.c:1940)<br \/>\n   get_tree_bdev_flags (fs\/super.c:1634)<br \/>\n   vfs_get_tree (fs\/super.c:1694)<br \/>\n   path_mount (fs\/namespace.c:4161)<br \/>\n   __x64_sys_mount (fs\/namespace.c:4367)<br \/>\n   entry_SYSCALL_64_after_hwframe (arch\/x86\/entry\/entry_64.S:121)<br \/>\n  The buggy address belongs to the cache xfs_rtrefcountbt_cur of size 216<br \/>\n  The buggy address is located 8 bytes to the right of<br \/>\n   allocated 216-byte region [ffff888018391578, ffff888018391650)<br \/>\n  Kernel panic &#8211; not syncing: Fatal exception<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>xfs: fix off-by-one in rtrefcount btree root level validation<\/p>\n<p>xfs_rtrefcountbt_compute_maxlevels() sets<\/p>\n<p>\tmp-&gt;m_rtrefc_maxlevels =<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-11945","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/11945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}