Critical Vulnerability in Linux Kernel: btrfs Transaction Handling Flaw

linux Updated 02 Oct 2025

Summary

15/09/2025
N/A
No i
Unrated
Not published

CVE-2025-39800: 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 bt... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of many operating systems, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system. The btrfs (B-tree file system) is a modern file system for Linux that offers advanced features like snapshots, dynamic inode allocation, and built-in RAID functionality. However, it is susceptible to vulnerabilities that can compromise data integrity and system stability.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the btrfs file system related to transaction handling. Specifically, when cloning an extent buffer at the btrfs_copy_root() function, if an unexpected generation is detected, the system only issues a warning (WARN_ON()) instead of aborting the transaction. This oversight allows the persistence of metadata with an unexpected generation, potentially leading to data corruption and system instability. The vulnerability is classified as CVE-2025-39800 and poses significant risks to systems utilizing the btrfs file system.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can avoid using the btrfs file system until the vulnerability is patched. Additionally, regular backups of critical data are recommended to prevent data loss in case of corruption.

Conclusion

The CVE-2025-39800 vulnerability in the Linux kernel's btrfs file system poses significant risks to data integrity and system stability. Users are urged to update their systems promptly to mitigate these risks and consider using alternative file systems until the issue is resolved. Regular monitoring for vulnerabilities using tools like Vulert can help maintain system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-39800 is a vulnerability in the Linux kernel's btrfs file system that allows metadata with unexpected generation to persist, potentially leading to data corruption.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities. By uploading your manifest file like package-lock.json, you can check if your application is affected by CVE-2025-39800.

The primary risks include data corruption and system instability, which can lead to loss of data and operational disruptions.

Yes, users are advised to update their Linux package to the latest version that includes the fix for CVE-2025-39800.

If immediate updates are not possible, consider using a different file system temporarily and ensure regular backups of your data.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback