CVE-2023-54021
kernel: ext4: set goal start correctly in ext4_mb_normalize_request
Overview
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 ]
Source: OX vulnerability database
Severity
5.5 · LOW
CVSS 3.1 base score, scored by redhat.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 95 fixes
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | bpftool +9 | 5.10.46-2.ph4 |
Red Hat 3 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | bpftool +25 | affected | — |
| 8 | bpftool +45 | affected | — |
| 9 | kernel-rt +20 | affected | — |
| 9 | kernel +60 | 0:5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| 9 | bpftool | 0:7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
SUSE Linux Enterprise 3 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | kgraft-patch-4-12-14-122-290-default | 1-8.7.1 | SUSE-SU-2026:0316-1 |
| 12.5 | cluster-md-kmp-default +13 | 4.12.14-122.290.1 | SUSE-SU-2026:0316-1 |
| 15.4 | kernel-livepatch-5-14-21-150400-24-194-default | 1-150400.9.7.1 | SUSE-SU-2026:0617-1 |
| 15.4 | cluster-md-kmp-default +17 | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| 15.4 | kernel-default-base | 5.14.21-150400.24.194.1.150400.24.98.3 | SUSE-SU-2026:0617-1 |
| 15.5 | kernel-livepatch-5-14-21-150500-55-133-default | 1-150500.11.3.1 | SUSE-SU-2026:0317-1 |
2 more rows
SUSE Linux Enterprise Micro 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | kernel-rt +1 | 5.14.21-150400.15.142.1 | SUSE-SU-2026:0411-1 |
| 5.3 | kernel-default | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| 5.3 | kernel-default-base | 5.14.21-150400.24.194.1.150400.24.98.3 | SUSE-SU-2026:0617-1 |
| 5.4 | kernel-rt +1 | 5.14.21-150400.15.142.1 | SUSE-SU-2026:0411-1 |
| 5.4 | kernel-default | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| 5.4 | kernel-default-base | 5.14.21-150400.24.194.1.150400.24.98.3 | SUSE-SU-2026:0617-1 |
3 more rows
amazon linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | kernel-livepatch-6-1-34-56-100 | 1.0-0.amzn2023 |
| 2023 | bpftool +17 | 6.1.34-56.100.amzn2023 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | 5.10.191-1 |
| 12 | linux | 6.1.37-1 |
| 13 | linux | 6.3.7-1 |
| 14 | linux | 6.3.7-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 6.1.37-1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-linux | 5.10.191-1 |
| 12 | rootio-linux | 6.1.37-1 |
| 13 | rootio-linux | 6.3.7-1 |
root.io ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | rootio-linux | 5.15.0-83.92 |
ubuntu 4 releases · 34 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | linux-ibm-5-4 | 5.4.0-1056.61~18.04.1 |
| 18.04-ESM | linux-raspi-5-4 | 5.4.0-1093.104~18.04.1 |
| 18.04-ESM | linux-oracle-5-4 | 5.4.0-1108.117~18.04.1 |
| 18.04-ESM | linux-aws-5-4 | 5.4.0-1109.118~18.04.1 |
| 18.04-ESM | linux-gcp-5-4 | 5.4.0-1112.121~18.04.1 |
| 18.04-ESM | linux-azure-5-4 | 5.4.0-1115.122~18.04.1 |
55 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-54021
- git.kernel.org https://git.kernel.org/stable/c/2479bb6cbdb4d56b807bbe5229e3e26a6f1f4530
- git.kernel.org https://git.kernel.org/stable/c/390eee955d4de4662db5e3e9e9a9eae020432cb7
- git.kernel.org https://git.kernel.org/stable/c/3ca3005b502ca8ea87d6a344323b179b48c4e4a3
- git.kernel.org https://git.kernel.org/stable/c/abb330ffaa3a0ae7ce632e28c9260b461c01f19f
- git.kernel.org https://git.kernel.org/stable/c/b07ffe6927c75d99af534d685282ea188d9f71a6
- git.kernel.org https://git.kernel.org/stable/c/bc4a3e1d07a86ae5845321d371190244acacb2f2
- git.kernel.org https://git.kernel.org/stable/c/c6bee8970075b256fc1b07bf4873049219380818
- git.kernel.org https://git.kernel.org/stable/c/cee78217a7ae72d11c2e21e1a5263b8044489823
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2025122433-CVE-2023-54021-15bf@gregkh/T
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.