PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-80530 Linux CVE debrief

The Linux kernel has a vulnerability that has been resolved, related to the exchange-range reflink flag clearing issue with INO1_WRITTEN in the XFS filesystem. This issue arises when exchanging two full-file ranges and the XFS_EXCHMAPS_INO1_WRITTEN flag is set, leading to potential data corruption. The problem occurs because xfs_exchmaps_can_skip_mapping() can skip hole and unwritten mappings from file1, allowing an exchange to complete without moving every mapping that the earlier flag-swap decision accounted for. As a result, post-operation cleanup can clear the reflink flag from an inode that still owns shared written extents. Later writes then take the non-reflink write path and may update blocks that should still have been protected by CoW, showing up as data corruption between reflink-related files. The fix involves disabling the reflink flag exchange whenever XFS_EXCHMAPS_INO1_WRITTEN is requested. The conservative outcome is that both inodes keep the reflink flag. The regular reflink flag cleanup path can drop the extra flag later once the inode no longer has shared extents. To verify, defenders should review the XFS filesystem configurations, check for potential data corruption, and monitor for suspicious activity. This vulnerability has a high priority due to potential data corruption and requires immediate attention from Linux kernel developers, XFS filesystem administrators, and users of Linux-based systems.

Vendor
Linux
Product
Unknown
CVSS
HIGH 7.1
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-26
Original CVE updated
2026-09-03
Advisory published
2026-08-26
Advisory updated
2026-09-03

Who should care

Linux kernel developers, XFS filesystem administrators, and users of Linux-based systems should be aware of this vulnerability and take necessary actions to prevent potential data corruption. They should review the XFS filesystem configurations, check for potential data corruption, and monitor for suspicious activity. Additionally, they should apply the patch to fix the exchange-range reflink flag clearing issue and update XFS filesystem configurations to prevent similar issues.

Technical summary

The vulnerability is caused by the incorrect clearing of the reflink flag from an inode that still owns shared written extents, leading to potential data corruption. The issue arises when exchanging two full-file ranges and the XFS_EXCHMAPS_INO1_WRITTEN flag is set. This occurs because xfs_exchmaps_can_skip_mapping() can skip hole and unwritten mappings from file1, allowing an exchange to complete without moving every mapping that the earlier flag-swap decision accounted for. As a result, post-operation cleanup can clear the reflink flag from an inode that still owns shared written extents. Later writes then take the non-reflink write path and may update blocks that should still have been protected by CoW, showing up as data corruption between reflink-related files. The fix involves disabling the reflink flag exchange whenever XFS_EXCHMAPS_INO1_WRITTEN is requested.

Defensive priority

High priority due to potential data corruption

Recommended defensive actions

  • Apply the patch to fix the exchange-range reflink flag clearing issue
  • Review and update XFS filesystem configurations to prevent similar issues
  • Monitor for potential data corruption and perform regular filesystem checks
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The vulnerability is caused by the incorrect clearing of the reflink flag from an inode that still owns shared written extents, leading to potential data corruption. This issue arises when exchanging two full-file ranges and the XFS_EXCHMAPS_INO1_WRITTEN flag is set. The problem occurs because xfs_exchmaps_can_skip_mapping() can skip hole and unwritten mappings from file1, allowing an exchange to complete without moving every mapping that the earlier flag-swap decision accounted for. As a result, post-operation cleanup can clear the reflink flag from an inode that still owns shared written extents. Later writes then take the non-reflink write path and may update blocks that should still have been protected by CoW, showing up as data corruption between reflink-related files. To verify, defenders should review the XFS filesystem configurations, check for potential data corruption, and monitor for suspicious activity.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-80530 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-80530

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-80530 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-80530

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/03c9c9116e6da641424681f705698d7f5e2128e0

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/0f27b22343b63e10773e6781344640c2c753eec3

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/2efbd8890b53f4756fdc7b0ef346fa514ffb7d66

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/b2d5a81dae385333f9734910277fbf94c78bd17f

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.