Filesystem metadata corruption via unchecked extent generation
Published Sep 15, 2025 · Updated Sep 15, 2025
Filesystem metadata corruption in btrfs in affected Linux kernel versions allows local users to persist invalid extent metadata. The btrfs_copy_root() path only issues WARN_ON() for an unexpected cloned extent-buffer generation, then continues and commits the transaction instead of returning an error. Exploitation requires local low-privilege access to a mounted btrfs volume through snapshot creation or relocation, and corrupted metadata can compromise filesystem integrity and availability.
Summary
What happened
Filesystem metadata corruption in btrfs in affected Linux kernel versions allows local users to persist invalid extent metadata. The btrfs_copy_root() path only issues WARN_ON() for an unexpected cloned extent-buffer generation, then continues and commits the transaction instead of returning an error. Exploitation requires local low-privilege access to a mounted btrfs volume through snapshot creation or relocation, and corrupted metadata can compromise filesystem integrity and availability.
The record
- CVE
- CVE-2025-39800
- Published
- Sep 15, 2025
- Updated
- Sep 15, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1565.001
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 15, 2025CVE publishedPublication date reported by the CVE source.
- Sep 15, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <33e8f24b52d2796b8cfb28c19a1a7dd6476323a8
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <4290e34fb87ae556b12c216efd0ae91583446b7a
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <4734255ef39b416864139dcda96a387fe5f33a6a
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <da2124719f386b6e5d4d4b1a2e67c440e4d5892f
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f4f5bd9251a4cbe55aaa05725c6c3c32ad1f74b3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo