CVE-2026-71221

Gfs2-utils: gfs2-utils: stack out-of-bounds write via unchecked height in savemeta

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 savemeta, the height value from on-disk inode metadata is used as a loop bound 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 was discovered in the gfs2‑utils component when processing GFS2 filesystem images. In the savemeta program the height value read from on‑disk inode metadata is used directly as a loop index without bounds checking, which overflows a stack buffer and can enable the execution of attacker‑controlled code. The flaw is a classic out‑of‑bounds write classified as CWE‑787 and may be exploited by feeding a crafted GFS2 file to the tool.

Affected Systems

This vulnerability affects Red Hat Enterprise Linux 7, 8, and 9 systems that ship the gfs2‑utils package. No specific package versions are listed, so all installed instances are potentially vulnerable until a patch is applied.

Risk and Exploitability

The CVSS score is 7, indicating a high severity surface. EPSS data is not currently available and the flaw is not in the CISA KEV list, suggesting it is not widely exploited yet. An attacker would need to supply a malicious GFS2 image to the savemeta command, which may be triggered by system administrators, automated backup tools, or other services that process GFS2 files. The lack of a publicly disclosed exploit suggests that the risk is primarily theoretical until exploitation techniques mature.

Remediation

Vendor Workaround

Do not run gfs2-utils savemeta 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 Red Hat’s security update for the gfs2‑utils package as soon as it becomes available.
  • When a patch is not yet released, run the gfs2‑utils tools in a container or virtual‑machine environment and avoid using untrusted or potentially compromised GFS2 images.
  • Temporarily disable automatic fsck for GFS2 filesystems by setting fs_passno to 0 in /etc/fstab until an official patch is deployed.

Generated by OpenCVE AI on September 3, 2026 at 13:42 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 savemeta, the height value from on-disk inode metadata is used as a loop bound 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 height in savemeta
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:45 AM