CVE-2025-71269 (GCVE-0-2025-71269)

Vulnerability from cvelistv5 – Published: 2026-03-18 17:40 – Updated: 2026-04-11 12:45
VLAI?
Title
btrfs: do not free data reservation in fallback from inline due to -ENOSPC
Summary
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).
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 94ed938aba557aa798acf496f09afb289b619fcd , < 3edd1f6c7c520536b62b2904807033597554dbac (git)
Affected: 94ed938aba557aa798acf496f09afb289b619fcd , < 3a9fd45afadec1fbfec72057b9473d509fa8b68c (git)
Affected: 94ed938aba557aa798acf496f09afb289b619fcd , < 0a1fbbd780f04d1b6cf48dd327c866ba937de1c4 (git)
Affected: 94ed938aba557aa798acf496f09afb289b619fcd , < 6de3a371a8b9fd095198b1aa68c22cc10a4c6961 (git)
Affected: 94ed938aba557aa798acf496f09afb289b619fcd , < f8da41de0bff9eb1d774a7253da0c9f637c4470a (git)
Create a notification for this product.
    Linux Linux Affected: 4.4
Unaffected: 0 , < 4.4 (semver)
Unaffected: 6.1.168 , ≤ 6.1.* (semver)
Unaffected: 6.6.134 , ≤ 6.6.* (semver)
Unaffected: 6.12.81 , ≤ 6.12.* (semver)
Unaffected: 6.18.10 , ≤ 6.18.* (semver)
Unaffected: 6.19 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/btrfs/inode.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3edd1f6c7c520536b62b2904807033597554dbac",
              "status": "affected",
              "version": "94ed938aba557aa798acf496f09afb289b619fcd",
              "versionType": "git"
            },
            {
              "lessThan": "3a9fd45afadec1fbfec72057b9473d509fa8b68c",
              "status": "affected",
              "version": "94ed938aba557aa798acf496f09afb289b619fcd",
              "versionType": "git"
            },
            {
              "lessThan": "0a1fbbd780f04d1b6cf48dd327c866ba937de1c4",
              "status": "affected",
              "version": "94ed938aba557aa798acf496f09afb289b619fcd",
              "versionType": "git"
            },
            {
              "lessThan": "6de3a371a8b9fd095198b1aa68c22cc10a4c6961",
              "status": "affected",
              "version": "94ed938aba557aa798acf496f09afb289b619fcd",
              "versionType": "git"
            },
            {
              "lessThan": "f8da41de0bff9eb1d774a7253da0c9f637c4470a",
              "status": "affected",
              "version": "94ed938aba557aa798acf496f09afb289b619fcd",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/btrfs/inode.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.4"
            },
            {
              "lessThan": "4.4",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.168",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.134",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.81",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.168",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.134",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.81",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.10",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19",
                  "versionStartIncluding": "4.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: do not free data reservation in fallback from inline due to -ENOSPC\n\nIf we fail to create an inline extent due to -ENOSPC, we will attempt to\ngo through the normal COW path, reserve an extent, create an ordered\nextent, etc. However we were always freeing the reserved qgroup data,\nwhich is wrong since we will use data. Fix this by freeing the reserved\nqgroup data in __cow_file_range_inline() only if we are not doing the\nfallback (ret is \u003c= 0)."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-04-11T12:45:43.200Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3edd1f6c7c520536b62b2904807033597554dbac"
        },
        {
          "url": "https://git.kernel.org/stable/c/3a9fd45afadec1fbfec72057b9473d509fa8b68c"
        },
        {
          "url": "https://git.kernel.org/stable/c/0a1fbbd780f04d1b6cf48dd327c866ba937de1c4"
        },
        {
          "url": "https://git.kernel.org/stable/c/6de3a371a8b9fd095198b1aa68c22cc10a4c6961"
        },
        {
          "url": "https://git.kernel.org/stable/c/f8da41de0bff9eb1d774a7253da0c9f637c4470a"
        }
      ],
      "title": "btrfs: do not free data reservation in fallback from inline due to -ENOSPC",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-71269",
    "datePublished": "2026-03-18T17:40:58.949Z",
    "dateReserved": "2026-03-17T09:08:18.457Z",
    "dateUpdated": "2026-04-11T12:45:43.200Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-71269\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-03-18T18:16:22.110\",\"lastModified\":\"2026-04-11T13:16:36.240\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbtrfs: do not free data reservation in fallback from inline due to -ENOSPC\\n\\nIf we fail to create an inline extent due to -ENOSPC, we will attempt to\\ngo through the normal COW path, reserve an extent, create an ordered\\nextent, etc. However we were always freeing the reserved qgroup data,\\nwhich is wrong since we will use data. Fix this by freeing the reserved\\nqgroup data in __cow_file_range_inline() only if we are not doing the\\nfallback (ret is \u003c= 0).\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\\n\\nbtrfs: no liberar la reserva de datos en la alternativa de inline debido a -ENOSPC\\n\\nSi fallamos al crear una extensi\u00f3n inline debido a -ENOSPC, intentaremos seguir la ruta COW normal, reservar una extensi\u00f3n, crear una extensi\u00f3n ordenada, etc. Sin embargo, siempre est\u00e1bamos liberando los datos qgroup reservados, lo cual es incorrecto ya que usaremos los datos. Corregir esto liberando los datos qgroup reservados en __cow_file_range_inline() solo si no estamos realizando la alternativa (ret es \u0026lt;= 0).\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0a1fbbd780f04d1b6cf48dd327c866ba937de1c4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3a9fd45afadec1fbfec72057b9473d509fa8b68c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3edd1f6c7c520536b62b2904807033597554dbac\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6de3a371a8b9fd095198b1aa68c22cc10a4c6961\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f8da41de0bff9eb1d774a7253da0c9f637c4470a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…