Linux Kernel ext4 Off-by-One Vulnerability in Fast-Commit Block Filling

Vulnerability

An off-by-one vulnerability has been identified in the Linux kernel's ext4 file system, specifically in how fast-commit blocks are populated with TLV (Type-Length-Value) entries. This issue arises from several off-by-one errors or a design change that was not properly implemented in the merged code. As a result, there are unusual constraints on filling fast-commit blocks: TLVs must start at least 10 bytes from the block's end, despite a minimum TLV length of 8 bytes, or the replay code will disregard them. Additionally, TLVs must finish at least 1 byte before the block's end, as the replay code will consider them invalid, leading to a previous bug where uninitialized memory was inadvertently written to disk.

Added: Oct 1, 2025, 1:09 PM
Updated: Oct 1, 2025, 1:09 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.0
remediation
7.7
relevance
0.6
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.