CVE-2026-71220

Gfs2-utils: gfs2-utils: stack out-of-bounds write via unchecked di_height in gfs2_edit

Published Sep 3, 2026 CVSS 3.1 · 7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

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 available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:9 cpe:/a:redhat:enterprise_linux:9::resilientstorage
References
Type Values Removed Values Added
First Time appeared Redhat rhel Eus
CPEs cpe:/a:redhat:enterprise_linux:8 cpe:/a:redhat:rhel_eus:9.8::resilientstorage
cpe:/o:redhat:enterprise_linux:8::baseos
Vendors & Products Redhat rhel Eus
References
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': 'total'}, 'version': '2.0.3'}

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 23, 2026, 2:14 AM
Reserved
Aug 5, 2026, 8:51 AM
Status
Modified
Published
Sep 3, 2026, 1:06 PM
Modified
Nov 23, 2026, 3:17 AM
Severity
Moderate
Public date
Sep 3, 2026, 11:43 AM