LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2025-39800 is a Linux Btrfs flaw that can allow filesystem metadata with an unexpected generation value to be committed instead of safely rejecting it. The supplied CVSS score is 7.8, reflecting potentially serious confidentiality, integrity, and availability consequences. Exploitation requires local access with low privileges; the available evidence does not establish practical exploitability.

Executive priority

Treat this as a high-priority kernel maintenance issue on Btrfs systems, especially multi-user hosts or products permitting local untrusted access. It is not supported as an emergency internet-wide threat because the vector is local and no active exploitation is documented. Expedite normal patching after confirming vendor applicability and test filesystem-dependent workloads before broad rollout.

Technical view

During btrfs_copy_root(), an unexpected extent-buffer generation previously caused only WARN_ON(), allowing suspect metadata to persist. The correction aborts the transaction and returns -EUCLEAN. The supplied CVSS vector is local, low complexity, low privileges, no user interaction, unchanged scope, with high confidentiality, integrity, and availability impacts.

Likely exposure

Exposure is limited to systems running affected Linux kernels where Btrfs is present and the vulnerable btrfs_copy_root() path can be reached. The bundle lists affected releases beginning with 2.6.29 and several later kernel lines, but does not provide complete distribution package mappings. Confirm status through the applicable Linux distributor or product vendor.

Exploitation context

CISA KEV status is false, and the supplied sources do not report active exploitation or a public exploit. The CVSS vector indicates a local attacker with low privileges, not a remote unauthenticated attacker. The evidence does not explain how an attacker could reliably create the unexpected generation condition, so real-world exploitability remains uncertain.

Researcher notes

No CWE is supplied. The documented unsafe behavior is persistence of metadata carrying an unexpected extent-buffer generation; the fix converts a warning into transaction abortion with -EUCLEAN. The bundle provides several stable-kernel commits but no complete vulnerable-range derivation, trigger details, proof of concept, forensic signature, or evidence connecting the condition to demonstrated confidentiality, integrity, and availability compromise.

Mitigation direction

  • Install a vendor-supported kernel update containing the applicable stable fix.
  • Follow distribution or appliance vendor guidance for exact fixed package versions.
  • Prioritize Btrfs systems accessible to untrusted or low-privileged local users.
  • Restrict unnecessary local access until affected systems are updated.

Validation and detection

  • Inventory kernel versions and identify systems actively using Btrfs filesystems.
  • Compare installed kernel packages with current distributor or product-vendor advisories.
  • Confirm the deployed kernel includes the applicable referenced stable fix.
  • Review kernel logs for relevant Btrfs warnings, without treating their absence as proof of safety.
  • Recheck kernel and Btrfs status after rebooting into the updated kernel.
Prepared
Confidence
medium
Sources
9

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2025-39800 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
8Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Linux

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2025-39800Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CVECVE Program Container
siemens-SADPADP container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxbe20aa9dbadc8c06283784ee12bbc0d97dea3418, be20aa9dbadc8c06283784ee12bbc0d97dea3418, be20aa9dbadc8c06283784ee12bbc0d97dea3418, be20aa9dbadc8c06283784ee12bbc0d97dea3418, be20aa9dbadc8c06283784ee12bbc0d97dea3418unaffected
LinuxLinux2.6.29, 0, 6.1.149, 6.6.103, 6.12.44, 6.16.4, 6.17affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.