# CVE-2023-54021: ext4: set goal start correctly in ext4\_mb\_normalize\_request

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-24T10:55:51.373Z
- **Modified:** 2026-06-17T06:46:33.200Z

## Who should check

- Anyone running Linux \>= c9de560ded61faa5b754137b7753da252391c55a, \< 2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530; \>= c9de560ded61faa5b754137b7753da252391c55a, \< 390eee955d4de4662db5e3e9e9a9eae020432cb7; \>= c9de560ded61faa5b754137b7753da252391c55a, \< cee78217a7ae72d11c2e21e1a5263b8044489823; \>= c9de560ded61faa5b754137b7753da252391c55a, \< 3ca3005b502ca8ea87d6a344323b179b48c4e4a3; \>= c9de560ded61faa5b754137b7753da252391c55a, \< bc4a3e1d07a86ae5845321d371190244acacb2f2; \>= c9de560ded61faa5b754137b7753da252391c55a, \< c6bee8970075b256fc1b07bf4873049219380818; \>= c9de560ded61faa5b754137b7753da252391c55a, \< abb330ffaa3a0ae7ce632e28c9260b461c01f19f; \>= c9de560ded61faa5b754137b7753da252391c55a, \< b07ffe6927c75d99af534d685282ea188d9f71a6
- Anyone running Linux 2.6.25

## 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 \]

## Affected and fixed versions

- Linux: \>= c9de560ded61faa5b754137b7753da252391c55a, \< 2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530; \>= c9de560ded61faa5b754137b7753da252391c55a, \< 390eee955d4de4662db5e3e9e9a9eae020432cb7; \>= c9de560ded61faa5b754137b7753da252391c55a, \< cee78217a7ae72d11c2e21e1a5263b8044489823; \>= c9de560ded61faa5b754137b7753da252391c55a, \< 3ca3005b502ca8ea87d6a344323b179b48c4e4a3; \>= c9de560ded61faa5b754137b7753da252391c55a, \< bc4a3e1d07a86ae5845321d371190244acacb2f2; \>= c9de560ded61faa5b754137b7753da252391c55a, \< c6bee8970075b256fc1b07bf4873049219380818; \>= c9de560ded61faa5b754137b7753da252391c55a, \< abb330ffaa3a0ae7ce632e28c9260b461c01f19f; \>= c9de560ded61faa5b754137b7753da252391c55a, \< b07ffe6927c75d99af534d685282ea188d9f71a6 (cvelist)
- Linux: 2.6.25 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-54021.md
Affected: Linux >= c9de560ded61faa5b754137b7753da252391c55a, < 2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530; >= c9de560ded61faa5b754137b7753da252391c55a, < 390eee955d4de4662db5e3e9e9a9eae020432cb7; >= c9de560ded61faa5b754137b7753da252391c55a, < cee78217a7ae72d11c2e21e1a5263b8044489823; >= c9de560ded61faa5b754137…
Fixed in: Linux 2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530, Linux 390eee955d4de4662db5e3e9e9a9eae020432cb7, Linux 3ca3005b502ca8ea87d6a344323b179b48c4e4a3

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-54021 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= c9de560ded61faa5b754137b7753da252391c55a, \< 2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530; \>= c9de560ded61faa5b754137b7753da252391c55a, \< 390eee955d4de4662db5e3e9e9a9eae020432cb7; \>= c9de560ded61faa5b754137b7753da252391c55a, \< cee78217a7ae72d11c2e21e1a5263b8044489823; \>= c9de560ded61faa5b754137b7753da252391c55a, \< 3ca3005b502ca8ea87d6a344323b179b48c4e4a3; \>= c9de560ded61faa5b754137b7753da252391c55a, \< bc4a3e1d07a86ae5845321d371190244acacb2f2; \>= c9de560ded61faa5b754137b7753da252391c55a, \< c6bee8970075b256fc1b07bf4873049219380818; \>= c9de560ded61faa5b754137b7753da252391c55a, \< abb330ffaa3a0ae7ce632e28c9260b461c01f19f; \>= c9de560ded61faa5b754137b7753da252391c55a, \< b07ffe6927c75d99af534d685282ea188d9f71a6; Linux 2.6.25.

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

Yes. Fixed in Linux 2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530, Linux 390eee955d4de4662db5e3e9e9a9eae020432cb7, Linux 3ca3005b502ca8ea87d6a344323b179b48c4e4a3. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530>
- other: <https://git.kernel.org/stable/c/390eee955d4de4662db5e3e9e9a9eae020432cb7>
- other: <https://git.kernel.org/stable/c/cee78217a7ae72d11c2e21e1a5263b8044489823>
- other: <https://git.kernel.org/stable/c/3ca3005b502ca8ea87d6a344323b179b48c4e4a3>
- other: <https://git.kernel.org/stable/c/bc4a3e1d07a86ae5845321d371190244acacb2f2>
- other: <https://git.kernel.org/stable/c/c6bee8970075b256fc1b07bf4873049219380818>
- other: <https://git.kernel.org/stable/c/abb330ffaa3a0ae7ce632e28c9260b461c01f19f>
- other: <https://git.kernel.org/stable/c/b07ffe6927c75d99af534d685282ea188d9f71a6>

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

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