Filesystem corruption via misaligned subpage bitmap advance
Published May 20, 2025 · Updated Aug 5, 2026
Filesystem corruption in Linux and Siemens SIMATIC CN 4100 before 5.0 allows local users to corrupt btrfs volumes through file writes. In submit_eb_subpage, a clean extent-buffer range advances bit_start by one sector rather than sectors_per_node, misaligning radix-tree lookups and skipping dirty metadata writeback. The flaw requires a mounted btrfs filesystem with nodesize below PAGE_SIZE and can leave the volume corrupt, read-only, or unmountable.
Summary
What happened
Filesystem corruption in Linux and Siemens SIMATIC CN 4100 before 5.0 allows local users to corrupt btrfs volumes through file writes. In submit_eb_subpage, a clean extent-buffer range advances bit_start by one sector rather than sectors_per_node, misaligning radix-tree lookups and skipping dirty metadata writeback. The flaw requires a mounted btrfs filesystem with nodesize below PAGE_SIZE and can leave the volume corrupt, read-only, or unmountable.
The record
- CVE
- CVE-2025-37931
- Published
- May 20, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-20, T1485
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 20, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record 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=5.13
- Affected versionversion=c4aec299fa8f73f0fd10bc556f936f0da50e3e83 <396f4002710030ea1cfd4c789ebaf0a6969ab34f
- Affected versionversion=c4aec299fa8f73f0fd10bc556f936f0da50e3e83 <5111b148360f50cac9abbae8fca44cc0ac4bf9bf
- Affected versionversion=c4aec299fa8f73f0fd10bc556f936f0da50e3e83 <977849e8acd2466ac3cb49e04a3ecc73837f6b90
- Affected versionversion=c4aec299fa8f73f0fd10bc556f936f0da50e3e83 <b80db09b614cb7edec5bada1bc7c7b0eb3b453ea
- Affected versionversion=c4aec299fa8f73f0fd10bc556f936f0da50e3e83 <e08e49d986f82c30f42ad0ed43ebbede1e1e3739
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.
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