{
  "id": "CVE-2025-39800",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-39800",
  "published_at": "2025-09-15T12:36:43.043Z",
  "title": "btrfs: abort transaction on unexpected eb generation at btrfs_copy_root()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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: abort transaction on unexpected eb generation at btrfs_copy_root()\n\nIf we find an unexpected generation for the extent buffer we are cloning\nat btrfs_copy_root(), we just WARN_ON() and don't error out and abort the\ntransaction, meaning we allow to persist metadata with an unexpected\ngeneration. Instead of warning only, abort the transaction and return\n-EUCLEAN.",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= be20aa9dbadc8c06283784ee12bbc0d97dea3418, \u003c 4290e34fb87ae556b12c216efd0ae91583446b7a",
          "\u003e= be20aa9dbadc8c06283784ee12bbc0d97dea3418, \u003c 4734255ef39b416864139dcda96a387fe5f33a6a",
          "\u003e= be20aa9dbadc8c06283784ee12bbc0d97dea3418, \u003c da2124719f386b6e5d4d4b1a2e67c440e4d5892f",
          "\u003e= be20aa9dbadc8c06283784ee12bbc0d97dea3418, \u003c f4f5bd9251a4cbe55aaa05725c6c3c32ad1f74b3",
          "\u003e= be20aa9dbadc8c06283784ee12bbc0d97dea3418, \u003c 33e8f24b52d2796b8cfb28c19a1a7dd6476323a8"
        ],
        "fixed_in": [
          "4290e34fb87ae556b12c216efd0ae91583446b7a",
          "4734255ef39b416864139dcda96a387fe5f33a6a",
          "da2124719f386b6e5d4d4b1a2e67c440e4d5892f",
          "f4f5bd9251a4cbe55aaa05725c6c3c32ad1f74b3",
          "33e8f24b52d2796b8cfb28c19a1a7dd6476323a8"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.29"
        ],
        "fixed_in": [
          "0",
          "6.1.149",
          "6.6.103",
          "6.12.44",
          "6.16.4",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 4290e34fb87ae556b12c216efd0ae91583446b7a or 4734255ef39b416864139dcda96a387fe5f33a6a or da2124719f386b6e5d4d4b1a2e67c440e4d5892f or f4f5bd9251a4cbe55aaa05725c6c3c32ad1f74b3 or 33e8f24b52d2796b8cfb28c19a1a7dd6476323a8 or later.",
      "Upgrade Linux to 0 or 6.1.149 or 6.6.103 or 6.12.44 or 6.16.4 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
