Skip to main content
VulnerabilityPublished Updated

CVE-2026-98974: Linux kernel · xfs: fix exchange-range-to-eof file size exchange

Affects Linux kernelSource GCVE Database

0
Authoritative record:CVE-2026-98974· High 7.8

Not known to be exploited · CVSS 7.8 High.

Data as of 28 Oct 2026, 02:00 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

Affected software

ProductAffectedFixed in
Ubuntu 26.10linuxpkg:deb/ubuntu/linux?arch=source&distro=stonkingOther threatsAffected
  • 7.0.0-14.14 – 7.3.0-9.9
6 affected builds
Fixed in–
Ubuntu 26.10linux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=stonkingOther threatsAffected
  • 7.0.0-1004.4 – 7.3.0-1003.3
5 affected builds
Fixed in–
Ubuntu 26.10linux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=stonkingOther threatsAffected
  • 7.0.0-1004.4 – 7.3.0-1003.3
5 affected builds
Fixed in–
Ubuntu 26.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=stonkingOther threatsAffected
  • =7.0.0-1004.4
  • =7.3.0-1002.3
  • =7.3.0-1003.4
Fixed in–
Ubuntu 26.10linux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=stonkingOther threatsAffected
  • 7.0.0-1003.3 – 7.3.0-1003.3
5 affected builds
Fixed in–
Ubuntu 26.10linux-oraclepkg:deb/ubuntu/linux-oracle?arch=source&distro=stonkingOther threatsAffected
  • 7.0.0-1003.3 – 7.3.0-1003.3
5 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

No explicit patch links or vendor advisories are provided in the input data. Until a fix is applied, avoid using the XFS_IOC_EXCHANGE_RANGE ioctl with the TO_EOF flag on affected kernel versions. Monitor vendor channels for official patches and apply updates promptly once available.

Description

CVE-2026-98974 is a vulnerability in the Linux kernel's XFS filesystem related to the XFS_IOC_EXCHANGE_RANGE ioctl with the TO_EOF flag. The flaw causes incorrect file size handling during range exchanges, allowing files to have shared blocks beyond their end-of-file (EOF), which is invalid. This leads to incorrect clearing of reflink flags and enables writes that overwrite shared blocks past EOF, potentially causing data corruption. The issue arises from swapping on-disk and in-core file sizes incorrectly when nonzero offsets are used. The vulnerability affects multiple Linux kernel versions and has a CVSS score of 7.8 (high severity).

References

Community reviews

Loading reviews…