[PATCH 0/5] fs: ext4: protection against corrupted filesystems
Sascha Hauer
s.hauer at pengutronix.de
Mon Apr 13 01:01:27 PDT 2026
On Thu, 02 Apr 2026 12:12:28 +0200, Sascha Hauer wrote:
> This series contains fixes against corrupted filesystems leading to
> buffer overflows or division-by-zero. All patches have been tested to be
> effective with manipulated fs images.
>
>
Applied, thanks!
[1/5] fs: ext4: validate log2_block_size from superblock at mount
https://git.pengutronix.de/cgit/barebox/commit/?id=51336e4bb94d (link may not be stable)
[2/5] fs: ext4: reject superblocks with zero inodesz, gdsize or inodes_per_group
https://git.pengutronix.de/cgit/barebox/commit/?id=7e5e1a8beb10 (link may not be stable)
[3/5] fs: ext4: fix OOB read and infinite loop in ext_iterate()
https://git.pengutronix.de/cgit/barebox/commit/?id=c8db92662d3f (link may not be stable)
[4/5] fs: ext4: reject dirents with too-small direntlen to prevent infinite loops
https://git.pengutronix.de/cgit/barebox/commit/?id=fcc049a6dd97 (link may not be stable)
[5/5] fs: ext4: validate extent eh_entries against buffer capacity
https://git.pengutronix.de/cgit/barebox/commit/?id=0e8658a76cff (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list