CVE-2025-39800

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

State
Published
Severity
7.8 High
Published
Sep 15, 2025
Updated
Aug 5, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • be20aa9dbadc8c06283784ee12bbc0d97dea3418 to before 4290e34fb87ae556b12c216efd0ae91583446b7aAffected
  • be20aa9dbadc8c06283784ee12bbc0d97dea3418 to before 4734255ef39b416864139dcda96a387fe5f33a6aAffected
  • be20aa9dbadc8c06283784ee12bbc0d97dea3418 to before da2124719f386b6e5d4d4b1a2e67c440e4d5892fAffected
  • be20aa9dbadc8c06283784ee12bbc0d97dea3418 to before f4f5bd9251a4cbe55aaa05725c6c3c32ad1f74b3Affected
  • be20aa9dbadc8c06283784ee12bbc0d97dea3418 to before 33e8f24b52d2796b8cfb28c19a1a7dd6476323a8Affected
LinuxLinux
  • 2.6.29Affected
  • before 2.6.29Not affected
  • 6.1.149 through 6.1.*Not affected
  • 6.6.103 through 6.6.*Not affected
  • 6.12.44 through 6.12.*Not affected
  • 6.16.4 through 6.16.*Not affected
  • 6.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.