CVE-2026-71219Gfs2-utils: gfs2-utils: stack overflow via alloca(1<<di_depth) in hash table traversal
A stack overflow vulnerability was found in gfs2-utils. The hash table traversal code in metawalk.c uses alloca() with an exponentially-derived size from the untrusted on-disk di_depth field without bounds validation. A crafted GFS2 filesystem image with a large di_depth value causes stack exhaustion and a denial of service when processed by fsck.gfs2, gfs2_edit, or savemeta.
What to do
Fixed builds are available from Debian: 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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | gfs2-utils | Fix pending | UBUNTU-CVE-2026-71219 | |
| Ubuntu 26.04 | gfs2-utils | Under investigation | UBUNTU-CVE-2026-71219 | |
| Ubuntu 24.04 | gfs2-utils | Under investigation | UBUNTU-CVE-2026-71219 | |
| Ubuntu 22.04 | gfs2-utils | Under investigation | UBUNTU-CVE-2026-71219 | |
| Ubuntu 20.04 | gfs2-utils | Fix pending | UBUNTU-CVE-2026-71219 | |
| Ubuntu 18.04 | gfs2-utils | Fix pending | UBUNTU-CVE-2026-71219 | |
| Ubuntu 16.04 | gfs2-utils | Fix pending | UBUNTU-CVE-2026-71219 | |
| Debian 14 | gfs2-utils | Fixed | 3.6.1-2 | DEBIAN-CVE-2026-71219 |
| Debian 13 | gfs2-utils | Fix pending | DEBIAN-CVE-2026-71219 | |
| Debian 12 | gfs2-utils | Fix pending | DEBIAN-CVE-2026-71219 | |
| Red Hat Enterprise Linux 9 | gfs2-utils | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | gfs2-utils | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | gfs2-utils | Fix pending Fix deferred |
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.
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Workaround: Run gfs2-utils tools in a containerized or VM-isolated environment when processing potentially compromised or untrusted GFS2 filesystem images. Disable automatic fsck at boot for GFS2 filesystems until patches are applied by setting fs_passno to 0 in /etc/fstab. Use ulimit -s to reduce the stack size limit, converting potential exploitation into a controlled crash.
References
- https://access.redhat.com/security/cve/CVE-2026-71219
- https://bugzilla.redhat.com/show_bug.cgi?id=2507750
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.