Skip to content
Heist/ feed
High

xfs: resample the data fork mapping after cycling ILOCK

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-64600

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-64600

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "3c68d44a2b49a0ac9165faa9c191e1e618c8a8d5",
        "lessThan": "dc11be133efca5fe3a2fb02b016dee825cc12f18",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "3c68d44a2b49a0ac9165faa9c191e1e618c8a8d5",
        "lessThan": "b8c9aa832b52680ee40d6cab0efb081f9a69df05",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "3c68d44a2b49a0ac9165faa9c191e1e618c8a8d5",
        "lessThan": "50f0012da1040f69a4e788cd9aed587c9a04983f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "3c68d44a2b49a0ac9165faa9c191e1e618c8a8d5",
        "lessThan": "e705d81a7193dd19e69b8e2bad4696d78a4ea075",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "3c68d44a2b49a0ac9165faa9c191e1e618c8a8d5",
        "lessThan": "206c09b04dc5469c7ff14d8aceff2d47c88078d9",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "3c68d44a2b49a0ac9165faa9c191e1e618c8a8d5",
        "lessThan": "44f891bc088958399eec27f7604928694aa35581",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "3c68d44a2b49a0ac9165faa9c191e1e618c8a8d5",
        "lessThan": "2f4acd0fcd862e22eab45690ec2c08c80b6ef2e7",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/xfs/xfs_reflink.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.11"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.11",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.15.212",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.178",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.145",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.96",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.39",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.4",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/xfs/xfs_reflink.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-64600

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#41103 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement