CVE-2023-54021

ext4: set goal start correctly in ext4_mb_normalize_request

No CVSS score yet EPSS 0.21%

Published 24 Dec 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-54021

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-54021 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: set goal start correctly in ext4_mb_normalize_request

We need to set ac_g_ex to notify the goal start used in ext4_mb_find_by_goal. Set ac_g_ex instead of ac_f_ex in ext4_mb_normalize_request. Besides we should assure goal start is in range [first_data_block, blocks_count) as ext4_mb_initialize_context does.

[ Added a check to make sure size is less than ar->pright; otherwise we could end up passing an underflowed value of ar->pright - size to ext4_get_group_no_and_offset(), which will trigger a BUG_ON later on. - TYT ]

Exploitation

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

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from c9de560ded61faa5b754137b7753da252391c55a, before 2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530
affected from c9de560ded61faa5b754137b7753da252391c55a, before 390eee955d4de4662db5e3e9e9a9eae020432cb7
affected from c9de560ded61faa5b754137b7753da252391c55a, before cee78217a7ae72d11c2e21e1a5263b8044489823
affected from c9de560ded61faa5b754137b7753da252391c55a, before 3ca3005b502ca8ea87d6a344323b179b48c4e4a3
affected from c9de560ded61faa5b754137b7753da252391c55a, before bc4a3e1d07a86ae5845321d371190244acacb2f2
affected from c9de560ded61faa5b754137b7753da252391c55a, before c6bee8970075b256fc1b07bf4873049219380818
affected from c9de560ded61faa5b754137b7753da252391c55a, before abb330ffaa3a0ae7ce632e28c9260b461c01f19f
affected from c9de560ded61faa5b754137b7753da252391c55a, before b07ffe6927c75d99af534d685282ea188d9f71a6
Other versions: unaffected
Linux
affected 2.6.25
unaffected before 2.6.25
unaffected from 4.14.316 up to and including 4.14.*
unaffected from 4.19.284 up to and including 4.19.*
unaffected from 5.4.244 up to and including 5.4.*
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-54021 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54021

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-54021
trivy image --scanners vuln IMAGE | grep CVE-2023-54021

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-54021 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.