Description
In the Linux kernel, the following vulnerability has been resolved:

xfs: resample the data fork mapping after cycling ILOCK

xfs_reflink_fill_{cow_hole,delalloc} are both presented with an inode,
a data fork mapping, and a cow fork mapping. Unfortunately, these two
helpers cycle the ILOCK to grab a transaction, which means that the
mappings are stale as soon as we reacquire the ILOCK. Currently we
refresh the cow fork mapping by re-calling xfs_find_trim_cow_extent, but
we don't refresh the data fork mapping beforehand, which means that the
xfs_bmap_trim_cow in that function queries the refcount btree about the
wrong physical blocks and returns an inaccurate value in *shared.

If *shared is now false, the directio write proceeds with a stale data
fork mapping. Fix this by querying the data fork mapping if the
sequence counter changes across the ILOCK cycle.
Published: 2026-07-23
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability originates from the XFS file system code that cycles the ILOCK to obtain a transaction in the helpers xfs_reflink_fill_cow_hole and xfs_reflink_fill_delalloc. The cycle invalidates the data fork mapping before the helpers refresh it, while only the COW fork mapping is refreshed. Consequently, a stale mapping is used during a direct I/O write, which may cause the filesystem to refer to wrong physical blocks and corrupt data. This is a race condition (CWE-362) affecting data integrity.

Affected Systems

The flaw resides in the Linux kernel’s XFS implementation, impacting all distributions that ship the affected kernel. RedHat Enterprise Linux 8, 9, 10 (including all EUS, E4S, TU, AUS variants) are listed as affected by the CPEs provided. Any system using these kernels and XFS file systems is potentially vulnerable.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity flaw. The EPSS score of < 1 % indicates a very low probability of exploitation in the wild at the time of this analysis. It is not presently listed in CISA’s KEV catalog. The most likely attack vector is inferred to be local or privileged because the code path requires direct I/O operations that typically run with elevated privileges. If an attacker can trigger the faulty code, the risk is data corruption and possible loss of file integrity. As the flaw is not yet a known exploit used in the field, the immediate threat remains moderate to high until patches are in place.

Generated by OpenCVE AI on August 3, 2026 at 22:57 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the XFS refactor fix; RHEL users should apply the latest update for their release series.
  • If an immediate kernel upgrade is not feasible, constrain the use of direct I/O operations on XFS partitions that handle reflink or COW features, or use alternative storage classes that avoid the vulnerable code paths.
  • Monitor filesystem integrity and review kernel logs for XFS-related errors; consider running file system checks on affected volumes after a patch or at scheduled intervals.

Generated by OpenCVE AI on August 3, 2026 at 22:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
History

Fri, 24 Jul 2026 18:30:00 +0000


Fri, 24 Jul 2026 06:45:00 +0000

Type Values Removed Values Added
References

Thu, 23 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
Redhat enterprise Linux Eus
Redhat rhel Aus
Redhat rhel E4s
Redhat rhel Eus
Redhat rhel Eus Long Life
Redhat rhel Tus
Weaknesses CWE-362
CPEs cpe:/a:redhat:enterprise_linux:8::nfv
cpe:/a:redhat:enterprise_linux:9
cpe:/a:redhat:rhel_e4s:9.2
cpe:/a:redhat:rhel_e4s:9.4
cpe:/a:redhat:rhel_eus:9.6
cpe:/o:redhat:enterprise_linux:10.2
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux_eus:10.0
cpe:/o:redhat:rhel_aus:8.4
cpe:/o:redhat:rhel_aus:8.6
cpe:/o:redhat:rhel_e4s:8.8
cpe:/o:redhat:rhel_eus_long_life:8.4
cpe:/o:redhat:rhel_eus_long_life:8.6
cpe:/o:redhat:rhel_tus:8.8
Vendors & Products Redhat
Redhat enterprise Linux
Redhat enterprise Linux Eus
Redhat rhel Aus
Redhat rhel E4s
Redhat rhel Eus
Redhat rhel Eus Long Life
Redhat rhel Tus
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important


Thu, 23 Jul 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: xfs: resample the data fork mapping after cycling ILOCK xfs_reflink_fill_{cow_hole,delalloc} are both presented with an inode, a data fork mapping, and a cow fork mapping. Unfortunately, these two helpers cycle the ILOCK to grab a transaction, which means that the mappings are stale as soon as we reacquire the ILOCK. Currently we refresh the cow fork mapping by re-calling xfs_find_trim_cow_extent, but we don't refresh the data fork mapping beforehand, which means that the xfs_bmap_trim_cow in that function queries the refcount btree about the wrong physical blocks and returns an inaccurate value in *shared. If *shared is now false, the directio write proceeds with a stale data fork mapping. Fix this by querying the data fork mapping if the sequence counter changes across the ILOCK cycle.
Title xfs: resample the data fork mapping after cycling ILOCK
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
Redhat Enterprise Linux Enterprise Linux Eus Rhel Aus Rhel E4s Rhel Eus Rhel Eus Long Life Rhel Tus
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:43:07.137Z

Reserved: 2026-07-19T15:36:31.799Z

Link: CVE-2026-64600

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-23T06:16:50.493

Modified: 2026-08-03T21:16:41.060

Link: CVE-2026-64600

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-14T00:00:00Z

Links: CVE-2026-64600 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T23:00:04Z

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')