CVE-2026-71224

Gfs2-utils: gfs2-utils: stack overflow via alloca(i_height) in metadata walk

Published Sep 3, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
Description
A stack overflow vulnerability was found in gfs2-utils. The metadata walk code in metawalk.c uses alloca() with an untrusted inode height value from on-disk metadata without bounds validation, causing stack exhaustion and a denial of service when processing crafted GFS2 filesystem images.

Analysis

AI-generated

Technical impact

A stack overflow can be triggered in the gfs2-utils package when its metadata walk routine in metawalk.c uses alloca() with an untrusted inode height value read directly from disk. The lack of bounds validation allows a crafted GFS2 filesystem image to exhaust the process stack, leading to a denial of service by crashing the tool. This issue is categorized as a stack-based buffer overflow (CWE‑770).

Affected Systems

The vulnerability is present in the gfs2-utils components shipped with Red Hat Enterprise Linux 7, 8, and 9. All installations that use the gfs2 file system and run gfs2‑utils tools are potentially affected; no specific sub‑version information is provided.

Risk and Exploitability

The CVSS base score of 4.7 indicates a low severity. Since the EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, there is no current evidence of active exploitation. The attack likely requires an attacker to deliver a malicious GFS2 image to the system and invoke a gfs2‑utils operation, which is normally a local process. The output of the exploit would be a crash of the utility, resulting in a denial of service to that operation but not to the entire system.

Remediation

Vendor Workaround

Run gfs2-utils tools in a containerized or VM-isolated environment when processing potentially compromised or untrusted GFS2 filesystem images. Disable automatic fsck at boot for GFS2 filesystems until patches are applied by setting fs_passno to 0 in /etc/fstab. Use ulimit -s to reduce the stack size limit, converting potential exploitation into a controlled crash.


OpenCVE Recommended Actions

  • Run all gfs2‑utils operations, such as fsck and mksbits, within a container or virtual machine when handling untrusted GFS2 images.
  • Disable automatic GFS2 filesystem checks at boot by setting fs_passno to 0 in /etc/fstab for the affected filesystems.
  • Reduce the maximum stack size for gfs2‑utils processes with ulimit -s to convert a potential overflow into a controlled crash.

Generated by OpenCVE AI on September 3, 2026 at 13:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
CPEs cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Redhat gfs2-utils
Vendors & Products Redhat gfs2-utils
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A stack overflow vulnerability was found in gfs2-utils. The metadata walk code in metawalk.c uses alloca() with an untrusted inode height value from on-disk metadata without bounds validation, causing stack exhaustion and a denial of service when processing crafted GFS2 filesystem images.
Title Gfs2-utils: gfs2-utils: stack overflow via alloca(i_height) in metadata walk
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-770
CPEs cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 24, 2026, 8:31 PM
Reserved
Aug 5, 2026, 8:51 AM
Status
Analyzed
Published
Sep 3, 2026, 1:06 PM
Modified
Nov 24, 2026, 9:18 PM
Severity
Moderate
Public date
Sep 3, 2026, 11:50 AM