CVE-2023-53503

ext4: allow ext4_get_group_info() to fail

No CVSS score yet EPSS 0.17%

Published 1 Oct 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2023-53503

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53503 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.12% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 2f2e09eb15849562aede80ed007658e4504ded26, before 100c0ad6c04597fefeaaba2bb1827cc015d95067
affected from 2f2e09eb15849562aede80ed007658e4504ded26, before 620a3c28221bb219b81bc0bffd065cc187494302
affected from 2f2e09eb15849562aede80ed007658e4504ded26, before b4319e457d6e3fb33e443efeaf4634fc36e8a9ed
affected from 2f2e09eb15849562aede80ed007658e4504ded26, before 31668cebf45adfb6283e465e641c4f5a21b07afa
affected from 2f2e09eb15849562aede80ed007658e4504ded26, before 5354b2af34064a4579be8bc0e2f15a7b70f14b5f
Other versions: unaffected
Linux
affected 3.11
unaffected before 3.11
unaffected from 5.10.181 up to and including 5.10.*
unaffected from 5.15.113 up to and including 5.15.*
unaffected from 6.1.30 up to and including 6.1.*
unaffected from 6.3.4 up to and including 6.3.*
unaffected 6.4 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53503 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53503

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-53503
trivy image --scanners vuln IMAGE | grep CVE-2023-53503

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-53503 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.