Red Hat Enterprise Linux
Gfs2-utils: gfs2-utils: stack out-of-bounds write via unchecked di_height in gfs2_edit
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 0:3.2.0-14.el8_10
Fixed in 0:3.5.1-4.el9_8
Mitigation
Upgrade Red Hat Enterprise Linux 8 to 0:3.2.0-14.el8_10 or later.
Upgrade Red Hat Enterprise Linux 9.8 Extended Update Support to 0:3.5.1-4.el9_8 or later.
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.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:100509
- Vendor advisory access.redhat.com/errata/RHSA-2026:100510
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.