CVE-2023-54021 Details
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 ]
A vulnerability in the Linux kernel's ext4 file system has been addressed. The issue involved incorrect normalization of allocation requests, which could lead to improper management of free space. The vulnerability was rooted in the allocation context not properly notifying the goal start, potentially causing underflows in allocation requests. This issue affected several versions of the Linux kernel.
Users can update to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for updating the kernel can be found in the official Linux kernel documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/390eee955d4de4662db5e3e9e9a9eae020432cb7 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/3ca3005b502ca8ea87d6a344323b179b48c4e4a3 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/abb330ffaa3a0ae7ce632e28c9260b461c01f19f | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/b07ffe6927c75d99af534d685282ea188d9f71a6 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/bc4a3e1d07a86ae5845321d371190244acacb2f2 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/c6bee8970075b256fc1b07bf4873049219380818 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/cee78217a7ae72d11c2e21e1a5263b8044489823 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| ext4 | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 24, 2025 | New CVE Received | kernel.org |
Volerion