# CVE-2023-54021: ext4: set goal start correctly in ext4_mb_normalize_request

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-12-24T10:55:51.373Z
- Modified: 2026-06-17T06:46:33.200Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from c9de560ded61faa5b754137b7753da252391c55a before 2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530; from c9de560ded61faa5b754137b7753da252391c55a before 390eee955d4de4662db5e3e9e9a9eae020432cb7; from c9de560ded61faa5b754137b7753da252391c55a before cee78217a7ae72d11c2e21e1a5263b8044489823; from c9de560ded61faa5b754137b7753da252391c55a before 3ca3005b502ca8ea87d6a344323b179b48c4e4a3; from c9de560ded61faa5b754137b7753da252391c55a before bc4a3e1d07a86ae5845321d371190244acacb2f2; from c9de560ded61faa5b754137b7753da252391c55a before c6bee8970075b256fc1b07bf4873049219380818; from c9de560ded61faa5b754137b7753da252391c55a before abb330ffaa3a0ae7ce632e28c9260b461c01f19f; from c9de560ded61faa5b754137b7753da252391c55a before b07ffe6927c75d99af534d685282ea188d9f71a6; 2.6.25 (not affected: before 2.6.25; from 4.14.316 up to 4.14.*; from 4.19.284 up to 4.19.*; from 5.4.244 up to 5.4.*; from 5.10.181 up to 5.10.*; from 5.15.113 up to 5.15.*; from 6.1.30 up to 6.1.*; from 6.3.4 up to 6.3.*; from 6.4 up to *)

## References

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

## Sources

- CVE List: [CVE-2023-54021](https://www.cve.org/CVERecord?id=CVE-2023-54021), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-54021](https://nvd.nist.gov/vuln/detail/CVE-2023-54021), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-54021 · Whole record: https://cve.day/CVE-2023-54021.json · Rebuilt by cve.day 2026-11-25T22:58:35.145Z
