Linux Kernel ext4 Group Info Handling Vulnerability Allows Denial-of-Service

Vulnerability

A denial-of-service vulnerability has been identified in the Linux kernel's ext4 file system. The issue arises in the function 'ext4_get_group_info()', which previously treated invalid group numbers as a critical error. However, if a malicious actor modifies the superblock while the file system is mounted, it can lead to an underflow, causing the group number calculation to overflow and generate a very large, invalid group number. This flaw allows the 'BUG_ON' check in 'ext4_get_group_info()' to trigger, creating a denial-of-service condition. The vulnerability can be exploited by users with root privileges or those with write access to the block device.

Impact

Exploitation of this vulnerability leads to a denial-of-service condition, where the system encounters a critical error and fails to function properly.

Reproduction

To reproduce this vulnerability, a user must have root access or write permissions on the block device. The vulnerability can be triggered by modifying the superblock of an ext4 file system while it is mounted, causing the 's_first_data_block' to be set to an excessively large value. This manipulation can be done using a fuzzer or a custom script that alters the superblock data. Once the superblock is modified, the 'ext4_get_group_info()' function will receive an invalid group number, causing the vulnerability to manifest by triggering a denial-of-service condition.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for upgrading the kernel can be found in the official Linux kernel documentation.

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

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.8
remediation
7.7
relevance
0.7
threat
4.8
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.