CVE Database›Document archive›CVE-2026-80530

CVE-2026-80530

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

Loading…

Severity

Important

Red Hat Product Security

7.1

CVSS 3.1

Review impact separately from score.

Published · August 26, 2026

Updated · October 23, 2026

Description

A flaw was found in the Linux kernel's XFS filesystem. When performing file range exchanges with the XFS_EXCHMAPS_INO1_WRITTEN flag set, the reflink flag can be prematurely cleared from an inode that still manages shared written data. This can lead to data corruption between files that share data through the reflink mechanism, as subsequent writes may bypass Copy-on-Write (CoW) protection.

Statement

XFS exchange-range handling can incorrectly clear the reflink inode flag when XFS_EXCHMAPS_INO1_WRITTEN is used and hole or unwritten mappings from file1 are skipped. As a result, an inode may retain shared written extents while no longer being marked as reflinked. Subsequent writes to that inode can bypass the CoW path and modify the underlying shared blocks in place, thereby altering data visible through other reflink-related files. This is a filesystem integrity and access-control violation, not a kernel memory-corruption primitive.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To mitigate this issue, prevent module xfs from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.

CVSS / CWE

CVSS 3.1 · 7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

CWE-911 · Improper Update of Reference Count