# CVE-2025-39800: btrfs: abort transaction on unexpected eb generation at btrfs_copy_root()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-09-15T12:36:43.043Z
- Modified: 2026-10-19T21:10:00.160Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

btrfs: abort transaction on unexpected eb generation at btrfs_copy_root()

If we find an unexpected generation for the extent buffer we are cloning
at btrfs_copy_root(), we just WARN_ON() and don't error out and abort the
transaction, meaning we allow to persist metadata with an unexpected
generation. Instead of warning only, abort the transaction and return
-EUCLEAN.

(As written by CVE List.)

## Affected

- Linux Linux: from be20aa9dbadc8c06283784ee12bbc0d97dea3418 before 4290e34fb87ae556b12c216efd0ae91583446b7a; from be20aa9dbadc8c06283784ee12bbc0d97dea3418 before 4734255ef39b416864139dcda96a387fe5f33a6a; from be20aa9dbadc8c06283784ee12bbc0d97dea3418 before da2124719f386b6e5d4d4b1a2e67c440e4d5892f; from be20aa9dbadc8c06283784ee12bbc0d97dea3418 before f4f5bd9251a4cbe55aaa05725c6c3c32ad1f74b3; from be20aa9dbadc8c06283784ee12bbc0d97dea3418 before 33e8f24b52d2796b8cfb28c19a1a7dd6476323a8; 2.6.29 (not affected: before 2.6.29; from 6.1.149 up to 6.1.*; from 6.6.103 up to 6.6.*; from 6.12.44 up to 6.12.*; from 6.16.4 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 2.6.29 before 6.1.149; from 6.2 before 6.6.103; from 6.7 before 6.12.44; from 6.13 before 6.16.4
- debian debian_linux: 11.0

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/4290e34fb87ae556b12c216efd0ae91583446b7a> (patch)
- <https://git.kernel.org/stable/c/4734255ef39b416864139dcda96a387fe5f33a6a> (patch)
- <https://git.kernel.org/stable/c/da2124719f386b6e5d4d4b1a2e67c440e4d5892f> (patch)
- <https://git.kernel.org/stable/c/f4f5bd9251a4cbe55aaa05725c6c3c32ad1f74b3> (patch)
- <https://git.kernel.org/stable/c/33e8f24b52d2796b8cfb28c19a1a7dd6476323a8> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>

## Sources

- CVE List: [CVE-2025-39800](https://www.cve.org/CVERecord?id=CVE-2025-39800), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-39800](https://nvd.nist.gov/vuln/detail/CVE-2025-39800), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-39800 · Whole record: https://cve.day/CVE-2025-39800.json · Rebuilt by cve.day 2026-11-25T22:59:04.652Z
