Re: [PATCH] fs/ext2: Rework out-of-bounds read for inline and external extents

2025-02-24 Thread Daniel Kiper
On Fri, Feb 21, 2025 at 10:02:54AM +0100, Christian Hesse wrote: > Michael Chang via Grub-devel on Fri, 2025/02/21 09:06: > > Previously, the number of extent entries was not properly capped based > > on the actual available space. This could lead to insufficient reads for > > external extents, si

Re: [PATCH] fs/ext2: Rework out-of-bounds read for inline and external extents

2025-02-21 Thread Christian Hesse
Michael Chang via Grub-devel on Fri, 2025/02/21 09:06: > Previously, the number of extent entries was not properly capped based > on the actual available space. This could lead to insufficient reads for > external extents, since the computation was based solely on the inline > extent layout. > >

[PATCH] fs/ext2: Rework out-of-bounds read for inline and external extents

2025-02-20 Thread Michael Chang via Grub-devel
Previously, the number of extent entries was not properly capped based on the actual available space. This could lead to insufficient reads for external extents, since the computation was based solely on the inline extent layout. In this patch, when processing the extent header, we determine wheth