CVE-2026-71221: Out-of-bounds Write in Red Hat Red Hat Enterprise Linux 7
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.
CVSS v3.1
Score 7.0high
Affected software
Red Hat
Red Hat Enterprise Linux 7
Red Hat
Red Hat Enterprise Linux 8
Red Hat
Red Hat Enterprise Linux 9
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Red Hat Enterprise Linux 7's gfs2-utils involves a stack buffer overflow caused by an out-of-bounds write in the savemeta utility. The height value from on-disk inode metadata is used as a loop bound without validation, allowing an attacker to overwrite stack memory beyond a fixed-size array. This can lead to arbitrary code execution if an administrator runs savemeta on a crafted GFS2 filesystem image. The kernel's GFS2 driver validates the height field and is not vulnerable. Exploitation requires local access and user interaction, limiting the attack surface. Red Hat's compiler hardening partially mitigates the risk, but the vulnerability remains plausible to exploit. No official patch or fix has been announced yet, and Red Hat advises specific mitigations to reduce risk.
Potential Impact
The vulnerability allows a local attacker with user interaction (administrator running savemeta) to cause a stack buffer overflow, potentially leading to arbitrary code execution with high confidentiality, integrity, and availability impact. The kernel GFS2 driver is unaffected, so the risk is limited to the gfs2-utils user-space tool. Exploitation requires crafted GFS2 filesystem images and local administrative action, reducing the likelihood of widespread exploitation. Red Hat compiler hardening provides partial mitigation but does not fully prevent exploitation.
Mitigation Recommendations
Red Hat advises not to run gfs2-utils savemeta on untrusted or potentially compromised GFS2 filesystem images. When processing untrusted images, run gfs2-utils tools in containerized or VM-isolated environments. Additionally, disable automatic fsck at boot for GFS2 filesystems by setting fs_passno to 0 in /etc/fstab until official patches are released. Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-71221 for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-08-05T08:51:19.853Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-71221","vendor":"Red Hat"}]
Threat ID: 6a996db2acd9273b49ef4476
Added to database: 09/03/2026, 12:53:06 UTC
Last enriched: 09/07/2026, 13:07:20 UTC
Last updated: 10/13/2026, 18:48:23 UTC
Views: 81
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.