Cross-file overwrite via incorrect exchange-range size swaps
Published Oct 23, 2026 · Updated Oct 23, 2026
Data corruption in Linux XFS allows local users to overwrite another file's shared blocks via crafted exchange-range operations. XFS_IOC_EXCHANGE_RANGE with TO_EOF swaps whole file sizes despite nonzero offsets, leaving shared blocks beyond EOF; a subsequent exchange clears the reflink flag and permits writes without copy-on-write. Exploitation requires local file operations on an XFS filesystem with reflink and exchange-range enabled, and the demonstrated consequence is modification of another file's shared data.
Summary
What happened
Data corruption in Linux XFS allows local users to overwrite another file's shared blocks via crafted exchange-range operations. XFS_IOC_EXCHANGE_RANGE with TO_EOF swaps whole file sizes despite nonzero offsets, leaving shared blocks beyond EOF; a subsequent exchange clears the reflink flag and permits writes without copy-on-write. Exploitation requires local file operations on an XFS filesystem with reflink and exchange-range enabled, and the demonstrated consequence is modification of another file's shared data.
The record
- CVE
- CVE-2026-98974
- Published
- Oct 23, 2026
- Updated
- Oct 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1565.001
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 23, 2026CVE publishedPublication date reported by the CVE source.
- Oct 23, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.10
- Affected versionversion=966ceafc7a437105ecfe1cadb3747b2965a260ca <7dfb218c829c1acb626e0fe92c5fddb9a26a03e9
- Affected versionversion=966ceafc7a437105ecfe1cadb3747b2965a260ca <952b5c99a840c2bff1f6645fd5e06e1db6ec2623
- Affected versionversion=966ceafc7a437105ecfe1cadb3747b2965a260ca <b361d32b884f8ddcb9bad5d99b69eece648f8e43
- Affected versionversion=966ceafc7a437105ecfe1cadb3747b2965a260ca <cf32eb20dfacfd2e92ce86ba1fece9ae5f98a7d8
What conditions does exploitation require?
What is affected?
Published CVSS scores
No CVSS assessment is available in this record.
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Activity data is delayed. The latest report is Sep 28, 2026.
Weakness, pattern, technique
Public exploit references
- Upstream XFS cross-file overwrite reproduction sequenceproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Get started to see how Hinoki identifies affected software and validates exploitability in your environment.
Contact us