CVE-2023-53503 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: allow ext4_get_group_info() to fail Previously, ext4_get_group_info() would treat an invalid group number as BUG(), since in theory it should never happen. However, if a malicious attaker (or fuzzer) modifies the superblock via the block device while it is the file system is mounted, it is possible for s_first_data_block to get set to a very large number. In that case, when calculating the block group of some block number (such as the starting block of a preallocation region), could result in an underflow and very large block group number. Then the BUG_ON check in ext4_get_group_info() would fire, resutling in a denial of service attack that can be triggered by root or someone with write access to the block device. For a quality of implementation perspective, it's best that even if the system administrator does something that they shouldn't, that it will not trigger a BUG. So instead of BUG'ing, ext4_get_group_info() will call ext4_error and return NULL. We also add fallback code in all of the callers of ext4_get_group_info() that it might NULL. Also, since ext4_get_group_info() was already borderline to be an inline function, un-inline it. The results in a next reduction of the compiled text size of ext4 by roughly 2k.
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.
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/100c0ad6c04597fefeaaba2bb1827cc015d95067 | kernel.org | Patch |
| https://git.kernel.org/stable/c/31668cebf45adfb6283e465e641c4f5a21b07afa | kernel.org | Patch |
| https://git.kernel.org/stable/c/5354b2af34064a4579be8bc0e2f15a7b70f14b5f | kernel.org | Patch |
| https://git.kernel.org/stable/c/620a3c28221bb219b81bc0bffd065cc187494302 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b4319e457d6e3fb33e443efeaf4634fc36e8a9ed | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.11, < 5.10.181 >= 5.11, < 5.15.113 >= 5.16, < 6.1.30 >= 6.2, < 6.3.4 6.4 rc1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Apr 6, 2026 | Modified Analysis | [email protected] |
| Jan 26, 2026 | Initial Analysis | [email protected] |
| Oct 1, 2025 | New CVE Received | kernel.org |