mbox series

[0/8] e2fsprogs: fix extended attribute iteration loop bounds checking

Message ID 20260924222944.3683556-1-sandeen@redhat.com
Headers show
Series e2fsprogs: fix extended attribute iteration loop bounds checking | expand

Message

Eric Sandeen Sept. 24, 2026, 10:23 p.m. UTC
This is also the result of some LLM scanning that Red Hat did.

The first patch in this series has the complete description of the
issues being addressed; the others follow that same pattern.

In short, extended attribute parsing loops across e2fsprogs share a
common set of bounds-checking bugs: they fail to reserve space for the
mandatory end marker, don't verify a complete entry header or name
record fits before accessing it, and miscalculate remaining free space
by ignoring 4-byte value alignment. </ai summary>

I'm sending these on behalf of Andreas because a few of us collaborated
on a big pile of reports and the original plan was to batch them
all up and send together regardless of authorship, but the list
got a bit too long for that. I still volunteered to handle the
series-sending.

Also, the AISLE attribution lines on these are what was requested.
If that's at all bothersome or unwanted, no problem sending without
that, or removal on merge.

Thanks,
-Eric