CVE-2026-98974: Linux kernel · xfs: fix exchange-range-to-eof file size exchange
Source GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in cf32eb20dfacfd2e92ce86ba1fece9ae5f98a7d8 : patch Linux kernel soon.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in cf32eb20dfacfd2e92ce86ba1fece9ae5f98a7d8, b361d32b884f8ddcb9bad5d99b69eece648f8e43, 952b5c99a840c2bff1f6645fd5e06e1db6ec2623 +1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 23 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade Linux kernel to cf32eb20dfacfd2e92ce86ba1fece9ae5f98a7d8, b361d32b884f8ddcb9bad5d99b69eece648f8e43, 952b5c99a840c2bff1f6645fd5e06e1db6ec2623 or 7dfb218c829c1acb626e0fe92c5fddb9a26a03e9.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
AI-suggested
A patch has been released to fix the incorrect file size handling in the XFS_IOC_EXCHANGE_RANGE ioctl with the TO_EOF flag. Users should apply the official Linux kernel update that includes this fix. No other mitigations are indicated or necessary once the patch is applied.
Description
A vulnerability in the Linux kernel's XFS filesystem was resolved involving the XFS_IOC_EXCHANGE_RANGE ioctl with the TO_EOF flag. The flaw allowed file size inconsistencies where files could end up with shared blocks beyond EOF, which is invalid. This incorrect file size handling could lead to improper clearing of reflink flags and potential data corruption during writes. The issue was fixed by correcting how file sizes are exchanged and managed during the operation.
References
- nvd.nist.gov/vuln/detail/CVE-2026-98974 (opens in a new tab)
- git.kernel.org/stable/c/7dfb218c829c1acb626e0fe92c5fddb9a26a03e9 (opens in a new tab)
- git.kernel.org/stable/c/952b5c99a840c2bff1f6645fd5e06e1db6ec2623 (opens in a new tab)
- git.kernel.org/stable/c/b361d32b884f8ddcb9bad5d99b69eece648f8e43 (opens in a new tab)
- git.kernel.org/stable/c/cf32eb20dfacfd2e92ce86ba1fece9ae5f98a7d8 (opens in a new tab)