Linux Kernel Btrfs Subpage Bit Management Vulnerability Leading to Metadata Corruption

Vulnerability

A vulnerability in the Linux kernel's Btrfs file system has been identified, related to improper management of subpage bitmaps, which can lead to tree log corruption. This issue arises in environments with a 64k page size and a 16k node size, where certain dirty blocks are not correctly written out. The vulnerability affects all metadata writes by misaligning the subpage bitmap with the actual data structure, causing the file system to skip writing dirty extent buffers. As a result, this flaw can lead to file system corruption.

Impact

The vulnerability can cause file system corruption by allowing the Btrfs file system to skip writing out dirty extent buffers, which can lead to inconsistencies in the file system's metadata management.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.0
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.