Description
A stack out-of-bounds write vulnerability was found in gfs2-utils. In gfs2_edit, the di_height field from on-disk inode metadata is used as an array index without bounds checking, causing a stack buffer overflow that may lead to arbitrary code execution when processing crafted GFS2 filesystem images.
Published: 2026-09-03
Score: 7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A stack out‑of‑bounds write occurs in the gfs2_edit utility when it uses the di_height field from on‑disk inode metadata as an array index without bounds checking. The overflow allows a crafted GFS2 filesystem image to corrupt the stack and potentially lead to arbitrary code execution. The vulnerability is manifested when processing a malicious image, giving an attacker the ability to run code with the privileges of gfs2_edit.

Affected Systems

The bug exists in the gfs2‑utils package shipped with Red Hat Enterprise Linux 7, 8, and 9. Any installation of these operating systems that has not applied the latest Red Hat update is potentially affected.

Risk and Exploitability

The CVSS score of 7 indicates a high‑severity vulnerability, and the EPSS is not available for this issue, suggesting no current weaponization data. The flaw is not listed in the CISA KEV catalog, meaning no known exploit has been observed yet. Attackers would need to supply a crafted GFS2 filesystem image and invoke the vulnerable tool, which could be done locally by a user with access to gfs2_edit or remotely if the image is processed by an administrative service. Successful exploitation could lead to arbitrary code execution, implying significant confidentiality, integrity, and availability impacts.

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

Remediation

Vendor Workaround

Do not run gfs2_edit on untrusted or potentially compromised GFS2 filesystem images. Run gfs2-utils tools in a containerized or VM-isolated environment when processing untrusted images. Disable automatic fsck at boot for GFS2 filesystems until patches are applied by setting fs_passno to 0 in /etc/fstab.


OpenCVE Recommended Actions

  • Apply the latest Red Hat update for gfs2-utils to fix the unchecked di_height bug.
  • If an immediate patch is not available, run gfs2_utils tools such as gfs2_edit in a container or VM isolated from the host filesystem to process untrusted or potentially compromised GFS2 images.
  • Disable automatic fsck for GFS2 filesystems until the patch is applied by setting fs_passno to 0 in /etc/fstab.

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

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

Type Values Removed Values Added
Metrics ssvc

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


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

Type Values Removed Values Added
Description A stack out-of-bounds write vulnerability was found in gfs2-utils. In gfs2_edit, the di_height field from on-disk inode metadata is used as an array index without bounds checking, causing a stack buffer overflow that may lead to arbitrary code execution when processing crafted GFS2 filesystem images.
Title Gfs2-utils: gfs2-utils: stack out-of-bounds write via unchecked di_height in gfs2_edit
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-787
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': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Subscriptions

Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-09-03T12:53:18.501Z

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

Link: CVE-2026-71220

cve-icon Vulnrichment

Updated: 2026-09-03T12:53:15.541Z

cve-icon NVD

Status : Received

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

Modified: 2026-09-03T13:06:02.703

Link: CVE-2026-71220

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses