# CVE-2023-53503: ext4: allow ext4\_get\_group\_info() to fail

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-10-01T11:45:54.052Z
- **Modified:** 2026-11-05T21:17:23.370Z

## Who should check

- Anyone running Linux \>= 2f2e09eb15849562aede80ed007658e4504ded26, \< 100c0ad6c04597fefeaaba2bb1827cc015d95067; \>= 2f2e09eb15849562aede80ed007658e4504ded26, \< 620a3c28221bb219b81bc0bffd065cc187494302; \>= 2f2e09eb15849562aede80ed007658e4504ded26, \< b4319e457d6e3fb33e443efeaf4634fc36e8a9ed; \>= 2f2e09eb15849562aede80ed007658e4504ded26, \< 31668cebf45adfb6283e465e641c4f5a21b07afa; \>= 2f2e09eb15849562aede80ed007658e4504ded26, \< 5354b2af34064a4579be8bc0e2f15a7b70f14b5f
- Anyone running Linux 3.11

## 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.

## Affected and fixed versions

- Linux: \>= 2f2e09eb15849562aede80ed007658e4504ded26, \< 100c0ad6c04597fefeaaba2bb1827cc015d95067; \>= 2f2e09eb15849562aede80ed007658e4504ded26, \< 620a3c28221bb219b81bc0bffd065cc187494302; \>= 2f2e09eb15849562aede80ed007658e4504ded26, \< b4319e457d6e3fb33e443efeaf4634fc36e8a9ed; \>= 2f2e09eb15849562aede80ed007658e4504ded26, \< 31668cebf45adfb6283e465e641c4f5a21b07afa; \>= 2f2e09eb15849562aede80ed007658e4504ded26, \< 5354b2af34064a4579be8bc0e2f15a7b70f14b5f (cvelist)
- Linux: 3.11 (cvelist)

## Mitigation

- Upgrade Linux to 5354b2af34064a4579be8bc0e2f15a7b70f14b5f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53503. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53503.md
Affected: Linux >= 2f2e09eb15849562aede80ed007658e4504ded26, < 100c0ad6c04597fefeaaba2bb1827cc015d95067; >= 2f2e09eb15849562aede80ed007658e4504ded26, < 620a3c28221bb219b81bc0bffd065cc187494302; >= 2f2e09eb15849562aede80ed007658e4504ded26, < b4319e457d6e3fb33e443efeaf4634fc36e8a9ed; >= 2f2e09eb15849562aede80e…
Fixed in: Linux 100c0ad6c04597fefeaaba2bb1827cc015d95067, Linux 620a3c28221bb219b81bc0bffd065cc187494302, Linux 31668cebf45adfb6283e465e641c4f5a21b07afa, Linux 5354b2af34064a4579be8bc0e2f15a7b70f14b5f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53503 being exploited?

There is no confirmed exploitation: CVE-2023-53503 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53503?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53503?

Linux \>= 2f2e09eb15849562aede80ed007658e4504ded26, \< 100c0ad6c04597fefeaaba2bb1827cc015d95067; \>= 2f2e09eb15849562aede80ed007658e4504ded26, \< 620a3c28221bb219b81bc0bffd065cc187494302; \>= 2f2e09eb15849562aede80ed007658e4504ded26, \< b4319e457d6e3fb33e443efeaf4634fc36e8a9ed; \>= 2f2e09eb15849562aede80ed007658e4504ded26, \< 31668cebf45adfb6283e465e641c4f5a21b07afa; \>= 2f2e09eb15849562aede80ed007658e4504ded26, \< 5354b2af34064a4579be8bc0e2f15a7b70f14b5f; Linux 3.11.

### Is there a fix for CVE-2023-53503?

Yes. Fixed in Linux 100c0ad6c04597fefeaaba2bb1827cc015d95067, Linux 620a3c28221bb219b81bc0bffd065cc187494302, Linux 31668cebf45adfb6283e465e641c4f5a21b07afa, Linux 5354b2af34064a4579be8bc0e2f15a7b70f14b5f. Upgrade Linux to 5354b2af34064a4579be8bc0e2f15a7b70f14b5f or later.

### How do I check if I'm affected by CVE-2023-53503?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/100c0ad6c04597fefeaaba2bb1827cc015d95067>
- patch: <https://git.kernel.org/stable/c/620a3c28221bb219b81bc0bffd065cc187494302>
- patch: <https://git.kernel.org/stable/c/b4319e457d6e3fb33e443efeaf4634fc36e8a9ed>
- patch: <https://git.kernel.org/stable/c/31668cebf45adfb6283e465e641c4f5a21b07afa>
- patch: <https://git.kernel.org/stable/c/5354b2af34064a4579be8bc0e2f15a7b70f14b5f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53503>

HTML: <https://flawdb.com/CVE-2023-53503> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53503>
