Skip to content
OpenAdvisories
Medium · 4.7 CVE-2026-71219 EUVD-2026-70447GHSA-5ggp-489g-rjqr

Gfs2-utils: gfs2-utils: stack overflow via alloca(1<<di_depth) in hash table traversal

Published Sep 3, 2026 · Updated Nov 5, 2026 · Assigned by redhat

Description

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gfs2-utils 3.6.1-2 —
Debian 13 gfs2-utils No fix yet —
Debian 12 gfs2-utils No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 gfs2-utils No fix yet —
Ubuntu 26.04 LTS gfs2-utils No fix yet —
Ubuntu 24.04 LTS gfs2-utils No fix yet —
Ubuntu 22.04 LTS gfs2-utils No fix yet —
Ubuntu 20.04 LTS gfs2-utils No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS gfs2-utils No fix yet —
Ubuntu 16.04 LTS gfs2-utils No fix yet —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 gfs2-utils 3.1.10-6.amzn2.0.1 ALAS2-2026-4004

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 gfs2-utils No fix yet —

Advisories 1

References