CVE Database›Document archive›CVE-2023-54021

CVE-2023-54021

kernel: ext4: set goal start correctly in ext4_mb_normalize_request

Loading…

Severity

Low

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · December 24, 2025

Updated · June 30, 2026

Description

A flaw was found in the Linux kernel's ext4 filesystem block allocator. In ext4_mb_normalize_request(), the goal start was being set incorrectly (ac_f_ex instead of ac_g_ex), and boundary validation was missing. Without proper range checking, an underflow in ar->pright - size could pass an invalid value to ext4_get_group_no_and_offset(), triggering a BUG_ON assertion and crashing the kernel.

Statement

This flaw affects ext4 filesystems during block allocation operations. The incorrect variable assignment and missing bounds check can cause a kernel crash when specific allocation patterns trigger the underflow condition. The issue manifests during normal filesystem operations like file creation or extension, making it potentially triggerable by regular users writing to ext4 filesystems.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-191 · Integer Underflow (Wrap or Wraparound)