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.
Published: 2026-09-03
Score: 4.7 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

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 yet.

History

Thu, 03 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 03 Sep 2026 12:45:00 +0000

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'}


Subscriptions

Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-09-03T12:58:06.407Z

Reserved: 2026-08-05T08:51:19.853Z

Link: CVE-2026-71224

cve-icon Vulnrichment

Updated: 2026-09-03T12:57:41.999Z

cve-icon NVD

Status : Received

Published: 2026-09-03T13:06:03.233

Modified: 2026-09-03T13:16:47.077

Link: CVE-2026-71224

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T13:30:04Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling