Bug 2511399 (CVE-2026-71222) - CVE-2026-71222 gfs2-utils: gfs2-utils: heap out-of-bounds read via unchecked ea_num_ptrs in extended attribute processing
Summary: CVE-2026-71222 gfs2-utils: gfs2-utils: heap out-of-bounds read via unchecked ...
Keywords:
Status: NEW
Alias: CVE-2026-71222
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2527995
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-05 08:40 UTC by OSIDB Bzimport
Modified: 2026-09-03 11:51 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-05 08:40:57 UTC
A flaw was found in gfs2-utils. The ea_num_ptrs field from on-disk extended attribute metadata is used as a loop count in savemeta.c and metawalk.c without bounds validation. The ea_num_ptrs field is a __u8 (max 255). Each iteration reads a pointer (8 bytes) plus name data. With ea_num_ptrs=255 and a 512-byte block buffer, the loop reads up to 1384 bytes past the buffer boundary, causing a heap out-of-bounds read. This may disclose sensitive heap memory contents through tool output or error messages, and the significant over-read (2.7x the allocation) has a non-trivial probability of crossing a page boundary into unmapped memory, causing a crash.


Note You need to log in before you can comment on or make changes to this bug.