CVEfocus › CVE database › CVE-2026-71221

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

CVSS 7.0 HighEPSS 0.2% (higher than 5% of CVEs)Published 2026-09-03Updated 2026-11-23Assigner: redhat

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.

CWE-787

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
7Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10gfs2-utilsFix pendingUBUNTU-CVE-2026-71221
Ubuntu 26.04gfs2-utilsUnder investigationUBUNTU-CVE-2026-71221
Ubuntu 24.04gfs2-utilsUnder investigationUBUNTU-CVE-2026-71221
Ubuntu 22.04gfs2-utilsUnder investigationUBUNTU-CVE-2026-71221
Ubuntu 20.04gfs2-utilsFix pendingUBUNTU-CVE-2026-71221
Ubuntu 18.04gfs2-utilsFix pendingUBUNTU-CVE-2026-71221
Ubuntu 16.04gfs2-utilsFix pendingUBUNTU-CVE-2026-71221
Debian 14gfs2-utilsFixed3.6.1-2DEBIAN-CVE-2026-71221
Debian 13gfs2-utilsFix pendingDEBIAN-CVE-2026-71221
Debian 12gfs2-utilsFix pendingDEBIAN-CVE-2026-71221
Red Hat Enterprise Linux 9gfs2-utilsFixed0:3.5.1-4.el9_9RHSA-2026:102183
Red Hat Enterprise Linux 8gfs2-utilsFixed0:3.2.0-14.el8_10RHSA-2026:100509
Red Hat Enterprise Linux 7gfs2-utilsFix pending
Affected
AlmaLinux 8gfs2-utilsFixed3.2.0-14.el8_10ALSA-2026:100509
Rocky Linux 9gfs2-utilsFixed0:3.5.1-4.el9_9RLSA-2026:102183
Rocky Linux 8gfs2-utilsFixed0:3.2.0-14.el8_10RLSA-2026:100509

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.