Description
A stack overflow vulnerability was found in gfs2-utils. The hash table traversal code in metawalk.c uses alloca() with an exponentially-derived size from the untrusted on-disk di_depth field without bounds validation. A crafted GFS2 filesystem image with a large di_depth value causes stack exhaustion and a denial of service when processed by fsck.gfs2, gfs2_edit, or savemeta.
Published: 2026-09-03
Score: 4.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Workaround
AI Analysis

Impact

The vulnerability is a stack overflow caused by the use of alloca() without bounds validation during hash table traversal in metawalk.c of gfs2-utils. A specially crafted GFS2 filesystem image with an excessively large di_depth field can exhaust the stack when processed by fsck.gfs2, gfs2_edit, or savemeta, leading to a denial of service. This weakness originates from improper input validation (CWE-770) and affects the ability of authenticated users to manipulate filesystem images that are later scanned or modified by system tools.

Affected Systems

The flaw exists in all Red Hat Enterprise Linux releases that ship the gfs2-utils package: RHEL 7, RHEL 8, and RHEL 9. All installed instances of gfs2-utils on these distributions that have not been patched are vulnerable. No specific version numbers are listed, so the entire distribution family is considered affected.

Risk and Exploitability

The CVSS score of 4.7 classifies the issue as moderate severity. No EPSS score is available, so the current likelihood of exploitation is unclear. The vulnerability is not listed in CISA KEV. An attacker can exploit it by creating or presenting a malicious GFS2 image and having it processed by an administrative or automated fsck process; the exploit requires local access to the image or the ability to trigger fsck on the host. Successful exploitation results in a local denial of service that could interrupt system operations, while disruption of critical services could have moderate operational impact.

Generated by OpenCVE AI on September 3, 2026 at 13:25 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

  • Disable automatic GFS2 filesystem checks at boot by setting fs_passno to 0 in /etc/fstab.
  • Run the gfs2 utilities (fsck.gfs2, gfs2_edit, savemeta) in a container or virtual machine to isolate the process from the host.
  • Set a lower stack size limit with "ulimit -s" to convert potential stack exhaustion into a controlled crash.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 22 Sep 2026 16:45:00 +0000

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:*:*:*:*:*:*:*

Fri, 04 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 04 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 03 Sep 2026 16:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat gfs2-utils
Vendors & Products Redhat gfs2-utils

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

Type Values Removed Values Added
Description A stack overflow vulnerability was found in gfs2-utils. The hash table traversal code in metawalk.c uses alloca() with an exponentially-derived size from the untrusted on-disk di_depth field without bounds validation. A crafted GFS2 filesystem image with a large di_depth value causes stack exhaustion and a denial of service when processed by fsck.gfs2, gfs2_edit, or savemeta.
Title Gfs2-utils: gfs2-utils: stack overflow via alloca(1<<di_depth) in hash table traversal
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 Gfs2-utils
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-09-04T18:41:38.906Z

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

Link: CVE-2026-71219

cve-icon Vulnrichment

Updated: 2026-09-04T18:41:33.856Z

cve-icon NVD

Status : Analyzed

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

Modified: 2026-09-22T16:26:18.020

Link: CVE-2026-71219

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-03T11:40:42Z

Links: CVE-2026-71219 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T15:33:11Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling