{"id":28979,"date":"2026-09-25T20:31:38","date_gmt":"2026-09-25T12:31:38","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97547"},"modified":"2026-09-25T20:31:38","modified_gmt":"2026-09-25T12:31:38","slug":"cve-2026-97547","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97547","title":{"rendered":"CVE-2026-97547 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix exchange-ran"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>xfs: fix exchange-range reflink flag clearing issue with INO1_WRITTEN<\/p>\n<p>When exchanging two full-file ranges, xmi_can_exchange_reflink_flags()<br \/>\ncan move the reflink inode flag from the file that currently has it to<br \/>\nthe other file, as long as exactly one side is marked.  This assumes<br \/>\nthat the file contents, and therefore all shared extents, are exchanged.<\/p>\n<p>That assumption is not true when XFS_EXCHMAPS_INO1_WRITTEN is set.<br \/>\nxfs_exchmaps_can_skip_mapping() can skip hole and unwritten mappings<br \/>\nfrom file1, so an exchange can complete without moving every mapping<br \/>\nthat the earlier flag-swap decision accounted for.  In that case the<br \/>\npost-operation cleanup can clear the reflink flag from an inode that<br \/>\nstill owns shared written extents.  Later writes then take the<br \/>\nnon-reflink write path and may update blocks that should still have<br \/>\nbeen protected by CoW, which shows up as data corruption between<br \/>\nreflink-related files.<\/p>\n<p>Fix this by disabling the reflink flag exchange whenever<br \/>\nXFS_EXCHMAPS_INO1_WRITTEN is requested.  The contents exchange can still<br \/>\nproceed; the conservative outcome is that both inodes keep the reflink<br \/>\nflag.  The regular reflink flag cleanup path can drop the extra flag<br \/>\nlater once the inode no longer has shared extents.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>xfs: fix exchange-range reflink flag clearing issue with INO1_WRITTEN<\/p>\n<p>When exchanging two full-file ranges, xmi_can_exchange_refli<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-28979","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/28979","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=28979"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28979"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}