{
  "id": "CVE-2025-71269",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-71269",
  "published_at": "2026-03-18T17:40:58.949Z",
  "title": "btrfs: do not free data reservation in fallback from inline due to -ENOSPC",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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).",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 94ed938aba557aa798acf496f09afb289b619fcd, \u003c 3edd1f6c7c520536b62b2904807033597554dbac",
          "\u003e= 94ed938aba557aa798acf496f09afb289b619fcd, \u003c 3a9fd45afadec1fbfec72057b9473d509fa8b68c",
          "\u003e= 94ed938aba557aa798acf496f09afb289b619fcd, \u003c 0a1fbbd780f04d1b6cf48dd327c866ba937de1c4",
          "\u003e= 94ed938aba557aa798acf496f09afb289b619fcd, \u003c 6de3a371a8b9fd095198b1aa68c22cc10a4c6961",
          "\u003e= 94ed938aba557aa798acf496f09afb289b619fcd, \u003c f8da41de0bff9eb1d774a7253da0c9f637c4470a"
        ],
        "fixed_in": [
          "3edd1f6c7c520536b62b2904807033597554dbac",
          "3a9fd45afadec1fbfec72057b9473d509fa8b68c",
          "0a1fbbd780f04d1b6cf48dd327c866ba937de1c4",
          "6de3a371a8b9fd095198b1aa68c22cc10a4c6961",
          "f8da41de0bff9eb1d774a7253da0c9f637c4470a"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.4"
        ],
        "fixed_in": [
          "0",
          "6.1.168",
          "6.6.134",
          "6.12.81",
          "6.18.10",
          "6.19"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 3edd1f6c7c520536b62b2904807033597554dbac or 3a9fd45afadec1fbfec72057b9473d509fa8b68c or 0a1fbbd780f04d1b6cf48dd327c866ba937de1c4 or 6de3a371a8b9fd095198b1aa68c22cc10a4c6961 or f8da41de0bff9eb1d774a7253da0c9f637c4470a or later.",
      "Upgrade Linux to 0 or 6.1.168 or 6.6.134 or 6.12.81 or 6.18.10 or 6.19 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
