linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] e2fsprogs: fix extended attribute iteration loop bounds checking
@ 2026-09-24 22:23 Eric Sandeen
  2026-09-24 22:23 ` [PATCH 1/8] e2fsck: fix in-inode extended attribute checking Eric Sandeen
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Eric Sandeen @ 2026-09-24 22:23 UTC (permalink / raw)
  To: linux-ext4; +Cc: tytso, sandeen, agruenba

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-09-24 22:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-24 22:23 [PATCH 0/8] e2fsprogs: fix extended attribute iteration loop bounds checking Eric Sandeen
2026-09-24 22:23 ` [PATCH 1/8] e2fsck: fix in-inode extended attribute checking Eric Sandeen
2026-09-24 22:23 ` [PATCH 2/8] e2fsck: fix extended attribute block checking Eric Sandeen
2026-09-24 22:23 ` [PATCH 3/8] e2fsck: fix ea loop in inc_ea_inode_refs Eric Sandeen
2026-09-24 22:23 ` [PATCH 4/8] libext2fs: fix ea loop in ext2fs_ext_attr_block_rehash Eric Sandeen
2026-09-24 22:23 ` [PATCH 5/8] libext2fs: fix ea loop in read_xattrs_from_buffer Eric Sandeen
2026-09-24 22:23 ` [PATCH 6/8] tune2fs: fix ea loop in update_xattr_entry_hashes Eric Sandeen
2026-09-24 22:23 ` [PATCH 7/8] resize2fs: " Eric Sandeen
2026-09-24 22:23 ` [PATCH 8/8] libext2fs: fix ea loop in ext2fs_xattr_inode_max_size Eric Sandeen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).