Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
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.
Exploitation of this vulnerability leads to a denial-of-service condition, where the system encounters a critical error and fails to function properly.
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.
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.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.