CVE-2023-54021

ext4: set goal start correctly in ext4_mb_normalize_request

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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 ]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c9de560ded61faa5b754137b7753da252391c55a to before 2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530Affected
  • c9de560ded61faa5b754137b7753da252391c55a to before 390eee955d4de4662db5e3e9e9a9eae020432cb7Affected
  • c9de560ded61faa5b754137b7753da252391c55a to before cee78217a7ae72d11c2e21e1a5263b8044489823Affected
  • c9de560ded61faa5b754137b7753da252391c55a to before 3ca3005b502ca8ea87d6a344323b179b48c4e4a3Affected
  • c9de560ded61faa5b754137b7753da252391c55a to before bc4a3e1d07a86ae5845321d371190244acacb2f2Affected
  • c9de560ded61faa5b754137b7753da252391c55a to before c6bee8970075b256fc1b07bf4873049219380818Affected
  • c9de560ded61faa5b754137b7753da252391c55a to before abb330ffaa3a0ae7ce632e28c9260b461c01f19fAffected
  • c9de560ded61faa5b754137b7753da252391c55a to before b07ffe6927c75d99af534d685282ea188d9f71a6Affected
LinuxLinux
  • 2.6.25Affected
  • before 2.6.25Not affected
  • 4.14.316 through 4.14.*Not affected
  • 4.19.284 through 4.19.*Not affected
  • 5.4.244 through 5.4.*Not affected
  • 5.10.181 through 5.10.*Not affected
  • 5.15.113 through 5.15.*Not affected
  • 6.1.30 through 6.1.*Not affected
  • 6.3.4 through 6.3.*Not affected
  • 6.4 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.