VDB

CVE-2026-97547

CVE-2026-97547 PUBLISHED

xfs: fix exchange-range reflink flag clearing issue with INO1_WRITTEN

Reported by linux · Published September 25, 2026

In the Linux kernel, the following vulnerability has been resolved: xfs: fix exchange-range reflink flag clearing issue with INO1_WRITTEN When exchanging two full-file ranges, xmi_can_exchange_reflink_flags() can move the reflink inode flag from the file that currently has it to the other file, as long as exactly one side is marked. This assumes that the file contents, and therefore all shared extents, are exchanged. That assumption is not true when XFS_EXCHMAPS_INO1_WRITTEN is set. xfs_exchmaps_can_skip_mapping() can skip hole and unwritten mappings from file1, so an exchange can complete without moving every mapping that the earlier flag-swap decision accounted for. In that case the 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, which shows up as data corruption between reflink-related files. Fix this by disabling the reflink flag exchange whenever XFS_EXCHMAPS_INO1_WRITTEN is requested. The contents exchange can still proceed; 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.

EPSS 0.20% · 9.9th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-modules-extra-commonAmazon Linux1:6.12.110-135.201.amzn2023
perf6.18Amazon Linux1:6.18.48-107.148.amzn2023
kernel6.12-develAmazon Linux1:6.12.110-135.201.amzn2023
python3-perf6.12Amazon Linux1:6.12.110-135.201.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.110-135.201.amzn2023
python3-perf6.18Amazon Linux1:6.18.48-107.148.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.48-107.148.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.110-135.201.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.48-107.148.amzn2023
kernel6.18-develAmazon Linux1:6.18.48-107.148.amzn2023
kernel-livepatch-6.18.48-107.148Amazon Linux1:1.0-0.amzn2023
LinuxLinuxfac32b9950a2aab3f8659d23b2947b8fb305c3fe, a23eca88448e52eb1a81549862df7adce794fafb, 8ae30b9a8c207f9bd03a98eda7b5d641daa79bdb, 56f87ac2b9543be2be529b831666682e6df4bc40

Risk scores

EPSS Score
0.20%
9.9th percentile

Affected products

VendorProductVersions
LinuxLinux966ceafc7a437105ecfe1cadb3747b2965a260ca, 966ceafc7a437105ecfe1cadb3747b2965a260ca, 966ceafc7a437105ecfe1cadb3747b2965a260ca
LinuxLinux6.10, 0, 6.12.111
amazon:2023kernel6.12-modules-extra-common0
amazon:2023perf6.180
amazon:2023kernel6.12-devel0
amazon:2023python3-perf6.120
amazon:2023kernel6.12-tools0
amazon:2023python3-perf6.180
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-devel0
amazon:2023kernel-livepatch-6.18.48-107.1480
LinuxLinux6.10, 7.3, 7.2.7
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.180
amazon:2023bpftool6.180
linuxlinux_kernel6.10, 6.10, 6.10

…and 7 more

Timeline

  • Sep 25, 2026 Coalition ESS Score
  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (8 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-97547
vulnetix vdb fixes CVE-2026-97547

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97547/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›