Skip to content
Heist/ feed
High

btrfs: do not free data reservation in fallback from inline due to -ENOSPC

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: btrfs: do not free data reservation in fallback from inline due to -ENOSPC If we fail to create an inline extent due to -ENOSPC, we will attempt to go through the normal COW path, reserve an extent, create an ordered extent, etc. However we were always freeing the reserved qgroup data, which is wrong since we will use data. Fix this by freeing the reserved qgroup data in __cow_file_range_inline() only if we are not doing the fallback (ret is <= 0).

Announced Group revision 1
Original source ↗

CVE-2025-71269

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-2025-71269

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": "94ed938aba557aa798acf496f09afb289b619fcd",
        "lessThan": "3edd1f6c7c520536b62b2904807033597554dbac",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "94ed938aba557aa798acf496f09afb289b619fcd",
        "lessThan": "3a9fd45afadec1fbfec72057b9473d509fa8b68c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "94ed938aba557aa798acf496f09afb289b619fcd",
        "lessThan": "0a1fbbd780f04d1b6cf48dd327c866ba937de1c4",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "94ed938aba557aa798acf496f09afb289b619fcd",
        "lessThan": "6de3a371a8b9fd095198b1aa68c22cc10a4c6961",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "94ed938aba557aa798acf496f09afb289b619fcd",
        "lessThan": "f8da41de0bff9eb1d774a7253da0c9f637c4470a",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/btrfs/inode.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.4"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.4",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.1.168",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.134",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.81",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.10",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "6.19",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/btrfs/inode.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-71269

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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